MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

How to use ajax enabled feature (Closed) (Mono Support )

Viewed 6680 time(s), 6 post(s) 11/5/2013 4:19:23 PMby arbh89
arbh89

arbh89

11/5/2013 4:19:23 PM
Hi, i am trying to use the ajax enabled feature that you use in cms in my own pages, i have read this topic How-can-I-take-advantage-of-the-already-coded-Monox-Ajax-Progress-loader but i am not clear at all, i will apreciate if you can help me.

Regard,

Angel Blandón.


This content has not been rated yet. 
226 Reputation 21 Total posts
mzilic

mzilic

11/5/2013 4:41:29 PM
Hello,

Can you please post more details about what you are trying to achieve?

Regards,
Mario
This content has not been rated yet. 
2218 Reputation 300 Total posts
arbh89

arbh89

11/5/2013 5:01:11 PM
Hi, i am trying to use the update progress that cms use in some pages, i mean the wait icon while procesing a  request.

this is may page code.

<%@ Page Language="C#" MasterPageFile="/MonoX/MasterPages/Default.master" AutoEventWireup="true"
    Inherits="MonoSoftware.MonoX.BasePage" Theme="WebSiteTheme" Title="" %>
 
<%@ MasterType TypeName="MonoSoftware.MonoX.BaseMasterPage" %>
<%@ Register TagPrefix="MonoX" TagName="MyControl" Src="/MyControl.ascx" %>
<%@ Register Assembly="MonoX" Namespace="MonoSoftware.MonoX" TagPrefix="portal" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cp" runat="server">
    <div class="main">
        <div class="container">
            <div class="row-fluid">
                <portal:PortalWebPartZoneTableless HeaderText="Left part zone" ID="leftWebPartZone"
                    runat="server" Width="100%" ChromeTemplateFile="LeftColumn.htm" ShowChromeForNonAdmins="true">
                    <ZoneTemplate>
                        <MonoX:MyControl ID="IdControl1" runat="server" Title="My control Title"></MonoX:MyControl>
                    </ZoneTemplate>
                </portal:PortalWebPartZoneTableless>
            </div>
        </div>
    </div
</asp:Content>
Default.master use Monox.master and Monox.master use UpdatePanel.master, i understand this last one achive the feature of update progress but i am not getting it.

Regards.
This content has not been rated yet. 
226 Reputation 21 Total posts
mzilic

mzilic

11/5/2013 5:13:14 PM
Hello,

The update progress you have experienced is a global update progress visible to administrator roles only. Are you trying to turn on globally for all roles the update progress or only for your own page?

Regards,
Mario
This content has not been rated yet. 
2218 Reputation 300 Total posts
arbh89

arbh89

11/5/2013 5:40:43 PM
For now i would like to enable just in one page, maybe later in other pages.

Regards
This content has not been rated yet. 
226 Reputation 21 Total posts
mzilic

mzilic

11/5/2013 7:24:19 PM
Hello,

If your goal is to place update progress for 1 page only then I recommend that you wrap this code
<MonoX:MyControl ID="IdControl1" runat="server" Title="My control Title"></MonoX:MyControl>
inside an update panel. You should as well also add update progress onto this page as well. Just remember to set the AssociatedUpdatePanelId to the ID of your update panel.

However turning on the "global" MonoX update progress for all roles requires a bit different approach.

Regards,
Mario
Rated 4.00, 1 vote(s). 
2218 Reputation 300 Total posts