This is a migrated thread and some comments may be shown as answers.

RadAjaxLoadingPanel with GridView

2 Answers 125 Views
AjaxLoadingPanel
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Nick asked on 23 Aug 2018, 08:25 PM

     Hi,

I have a gridview inside a RadAjaxPanel. Everything works fine except when a linkbutton onclick event (which is inside the gridview's template column) triggers, loading panel shows up but never hides.

Need urgent help.

Thanks.

Example of the layout

<telerik:RadAjaxPanel runat="server" LoadingPanelID="loadingPanelXYZ">

     <asp:GridView ID="grdXYZ" runat="server" 

           <Columns>
                     <asp:TemplateField HeaderText="XYZ" >
                                <ItemTemplate>
                                        <asp:LinkButton id="lnkXYZ" runat="server" 

2 Answers, 1 is accepted

Sort by
0
Nick
Top achievements
Rank 1
answered on 23 Aug 2018, 09:15 PM
I used the command event on the linkbutton and it works as expected. But for some reason when OnClick event is used, radajaxloading panel wont disappear.
0
Eyup
Telerik team
answered on 28 Aug 2018, 02:00 PM
Hello Nick,

You can resolve this issue by using the troubleshooting steps provided in the following article:
https://www.telerik.com/support/kb/aspnet-ajax/ajaxmanager/details/get-more-descriptive-errors-by-disabling-ajax

I hope this will prove helpful. Also, when using a LinkButton, you can check to the following case in the default behavior of the .NET framework:
https://stackoverflow.com/questions/13969353/why-my-link-button-does-a-full-post-back-although-it-s-triggered-with-an-update

You can try setting the ClientIDMode property to AutoID:
<asp:LinkButton ... ClientIDMode="AutoID">

Regards,
Eyup
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
AjaxLoadingPanel
Asked by
Nick
Top achievements
Rank 1
Answers by
Nick
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or