WebGrid renders empty and requires click on refresh button on grid to see data

1 reply. Last post: September 18, 2014 3:50 AM by Hans Kristian
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Steph RiefMember

I have a webgrid bound to a datasource, and on the initial page load, the grid renders completely empty. The user then needs to click the "refresh grid data" button at the bottom of the grid in order to have the grid populated with the data.

I've placed this on page load, without success:
            dsReport.DataBind();
            WebGrid2.ClearCachedDataSource();
            WebGrid2.RebindDataSource();

I've also tried, without success:
               dsReport.DataBind();
                WebGrid2.DataBind();

All times are GMT -5. The time now is 2:50 PM.
Previous Next