LoadingPanel for RadAjaxPanel

2 posts, 0 answers
  1. krishna
    krishna avatar
    1 posts
    Member since:
    Nov 2015

    Posted 08 Nov 2015 Link to this post

    I have a code something like this.

    I have a code something like this.
     
      
     
     <telerik:RadAjaxManager ID="ajaxManager" runat="server">
            <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="PagePanel">
            <UpdatedControls>
            <telerik:AjaxUpdatedControl ControlID="PagePanel" LoadingPanelID="ViewsLoadingPanel" />
            </UpdatedControls>
            </telerik:AjaxSetting>
            </AjaxSettings>
            </telerik:RadAjaxManager>
             
       <telerik:RadAjaxLoadingPanel ID="ViewsLoadingPanel" runat="Server" Skin="Default" />
     
       <telerik:RadAjaxPanel ID="PagePanel" runat="server">
     
     <asp:Repeater ID="rptrTabItems" runat="server" OnItemDataBound="rptrTab_OnItemDataBound">
                        <ItemTemplate>
                            <asp:LinkButton Style="display: block; padding-left:2px; padding- top:2px; border: 1px solid black; text-align: left" ID="lnkbtnTab" runat="server"         CommandArgument="" CommandName="" OnClick="TabClick_Click" />
                        </ItemTemplate>
                    </asp:Repeater>
     
    <asp:PlaceHolder ID="phViews">
     
     // I have nested repeaters here and lots of controls.....
     
    </asp:PlaceHolder>​
     
    </telerik:RadAjaxPanel>
     
    //Code behind to ajaxify Link Button
      
     ajaxManager.AjaxSettings.AddAjaxSetting(((LinkButton)e.Item.FindControl("lnkbtnTab")), PagePanel, ViewsLoadingPanel);

     

    Im trying to show loadingpanel on the click of linkbutton. its not showing. the processing time on click takes atleast 5-10 seconds.

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 11 Nov 2015 Link to this post

    Hi,

    I would suggest you to replace the RadAjaxPanel with regular asp Panel control and add this asp panel to update itself in the RadAjaxManager settings. Give this a try and see if it helps.

    Regards,
    Maria Ilieva
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top