problem RadAjaxManagerProxy

2 posts, 0 answers
  1. Naveen
    Naveen avatar
    5 posts
    Member since:
    Feb 2011

    Posted 16 Feb 2011 Link to this post

    Hi Team,

    • I am using master/content page in my application.
    • In master page i am having RadScriptManager, RadAjaxManager,
    • In content page i added RadAjaxManagerProxy .
    • In Content Page i am having the RadTabStrip and RadMultiPage.In PageViews having the usercontrols.
      1. On tab click i want to show loading panel

        My Problem is me getting the Loading Panel Only for the first tab click.for the remaining tabs not getting the loading panel

        here is my Code

        Master Page:
        <body style="overflow: hidden;">
        <form id="form1" runat="server">
            <telerik:RadScriptManager ID="rdScrptFacilityMgr" runat="server" LoadScriptsBeforeUI="false"
                EnablePartialRendering="true">
                <CompositeScript>
                    <Scripts>
                        <asp:ScriptReference Path="~/Scripts/FMScripts.js" />
                        <asp:ScriptReference Path="~/Scripts/jquery-1.4.1.js" />
                    </Scripts>
                </CompositeScript>
            </telerik:RadScriptManager>
            <telerik:RadAjaxManager ID="rdMasterAjaxManager" runat="server" EnableAJAX="true"
                OnAjaxRequest="rdMasterAjaxManager_AjaxRequest" ClientIDMode="Static" SkinID="Web20">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="rdtrvFacilityMngmt" EventName="OnNodeClick">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="cntPlaceholder" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
         <asp:ContentPlaceHolder ID="cntPlaceholder" runat="server">
                        </asp:ContentPlaceHolder>
        <body>
          
        ASPX Page:
        <asp:Content ID="cntCompany" ContentPlaceHolderID="cntPlaceholder" runat="Server">
            <telerik:RadScriptBlock ID="rdScriptBlock" runat="server">
                <script type="text/javascript">
                    rdTabStripID = '<%= rdtbstripCompanyInfo.ClientID %>';
                </script>
            </telerik:RadScriptBlock>
            <telerik:RadAjaxManagerProxy ID="RadAjaxManager1" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="rdtbstripCompanyInfo">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="rdtbstripCompanyInfo" />
                            <telerik:AjaxUpdatedControl ControlID="rdmltpgCompany" LoadingPanelID="rdLoadingPanel" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                    <telerik:AjaxSetting AjaxControlID="rdmltpgCompany">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="rdmltpgCompany" LoadingPanelID="rdLoadingPanel" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManagerProxy>
            <telerik:RadAjaxLoadingPanel ID="rdLoadingPanel" runat="server" Skin="Web20">
            </telerik:RadAjaxLoadingPanel>
            <telerik:RadTabStrip ID="rdtbstripCompanyInfo" runat="server" Skin="Office2007" MultiPageID="rdmltpgCompany"
                SelectedIndex="0" AutoPostBack="True" OnTabClick="rdtbstripCompanyInfo_Click"
                OnClientTabSelecting="onTabSelecting" ViewStateMode="Disabled">
                <Tabs>
                    <telerik:RadTab Text="<%$ Resources:FMGlobalResource, Information %>" PageViewID="rdpgviewCompanyInformation"
                        Value="CompanyInformation">
                    </telerik:RadTab>
                    <telerik:RadTab Text="<%$ Resources:AssociatedSupplier %>" PageViewID="rdpgviewAssociatedSuppliers"
                        Value="AssociatedSupplier">
                    </telerik:RadTab>
                    <telerik:RadTab Text="<%$ Resources:MoreAddresses %>" PageViewID="rdpgviewAssociatedSuppliers"
                        Value="MoreAddress">
                    </telerik:RadTab>
                </Tabs>
            </telerik:RadTabStrip>
            <telerik:RadMultiPage ID="rdmltpgCompany" runat="server" SelectedIndex="0" CssClass="formView"
                Width="100%">
                <telerik:RadPageView ID="rdpgviewCompanyInformation" runat="server" Width="100%">
                    <UC:CompanyInformation ID="ucCompanyInformation" runat="server" EnableViewState="false" />
                </telerik:RadPageView>
                <telerik:RadPageView ID="rdpgviewAssociatedSupplier" runat="server" Width="100%">
                    <UC:AssociatedSupplier ID="ucAssociatedSupplier" runat="server" EnableViewState="false" />
                </telerik:RadPageView>
                <telerik:RadPageView ID="rdpgviewMoreAddress" runat="server" Width="100%">
                    <UC:MoreAddress ID="ucMoreAddress" runat="server" EnableViewState="false" />
                </telerik:RadPageView>
            </telerik:RadMultiPage>
        </asp:Content>

         


    • Maria Ilieva
      Admin
      Maria Ilieva avatar
      4017 posts

      Posted 21 Feb 2011 Link to this post

      Hello Naveen,

      Could you please test what will be the behavior of the application if you place the LoadingPanel into the MasterPage and set is as default LoadingPanel for the RadAjaxManager by using the "DefaultLoadingPanelID" property of the RadAjaxManager? 


      Greetings,
      Maria Ilieva
      the Telerik team

    Back to Top