We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataBind not working on second load

Thread ID:

Created:

Updated:

Platform:

Replies:

129757 Apr 2,2017 06:03 AM UTC Apr 4,2017 05:35 AM UTC ASP.NET Web Forms 5
loading
Tags: Menu
Danie van Eeden
Asked On April 2, 2017 06:03 AM UTC

Hi, I have a very simplistic project where I do the following

 aDisplaygGid.DataSource = itb_api_data.ToList<T>(lRes);
 aDisplaygGid.DataBind();

when I visit the page the first time, it works perfectly.
However when I visit the same link a second time, the grid displays "No records to display".

I have verified that the data contains items.

Any ideas?

Danie van Eeden
Replied On April 2, 2017 06:08 AM UTC

Apologies, it seems more related to the Syncfusion menu.
When I browse to the page through the browser address bar, it works fine.

My menus are setup with the following link

~/mypage.aspx

and the hyper link shows correctly

Any ideas appreciated. I am still trying to figure this out as well.

Danie

Danie van Eeden
Replied On April 2, 2017 06:12 AM UTC

Problem resolved. Empty menu onclick was still in master page.


Prince Oliver [Syncfusion]
Replied On April 3, 2017 11:14 AM UTC

Hi Danie , 

Thank you for contacting Syncfusion support. 

Can you let me know whether your issue is resolved or do you need any assistance? 

If yes, please provide additional details on your requirement with a simple sample or code snippet explaining your requirement. 

Regards, 
Prince    


Danie van Eeden
Replied On April 3, 2017 11:19 AM UTC

Hi,
yes problem resolved.
No further assistance required.

Thank you
Danie

Preethi Nesakkan Gnanadurai [Syncfusion]
Replied On April 4, 2017 05:35 AM UTC

Hi Danie, 
  
Okay, thanks for the update. 
  
Regards,  
Preethi 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;