Collapsing RadGrid Item not possible anymore in Sitefinity CMS after ASP.NET Ajax Update

0 Answers 38 Views
Ajax Grid UI for ASP.NET AJAX in ASP.NET MVC
Uwe
Top achievements
Rank 1
Uwe asked on 28 Nov 2023, 05:12 PM

Hello,

I made an update to the newest Telerik.Web.UI Version 2023.3.1010.45 and now I cannot collapse my RadGrid-Items anymore after expanding.  Instead I can see a statusbar which is loading infinite long on the left side when the ViewState is enabled in the Sitefinity Backend. When I disable the ViewState I have the same problem, just without statusbar. There is a screenshot of the grid and my HTML-Code in the attachment. Could anybody help me?

Regards

 

Attila Antal
Telerik team
commented on 01 Dec 2023, 10:51 AM

I've already replied to your Support Ticket which was opened for the same issue, but I will share my response in this forum thread as well.

Based on the description and details, I am assuming there is a data binding issue with the Grid, and because AJAX is enabled (e.g. using "RadAjaxPanel") the exception does not show up.

My first suggestion is to disable AJAX temporarily and test the application again. Here is an article describing how to disable AJAX: Get more descriptive errors by disabling AJAX. By disabling AJAX, should there be any server exceptions, they will show up in the browser, thus giving you a better idea of what is failing.

While troubleshooting the issue, keep an eye on the Console tab in the Browser's DevTools for potential JS errors. If you see any, eliminate those and test the app again.

About the data binding, I want to note that incorrect binding is causing most of the issues with the Grid. For instance, using the DataSource + DataBind() combinations will not work with the Grid. If you're using this combination to bind data, please change it to the following: Programmatic Data Binding Using the NeedDataSource Event. Make sure, the DataBind() is not called anywhere in the code.

That is all I could tell just by reading your description and looking at the screenshots. To be able to give you better feedback, we would need to see the complete implementation of the Grid. Please share the ASPX and ASPX.cs code used to configure the Grid and we will look into it.

No answers yet. Maybe you can help?

Tags
Ajax Grid UI for ASP.NET AJAX in ASP.NET MVC
Asked by
Uwe
Top achievements
Rank 1
Share this question
or