Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
EnableDataViewState Problem
posted

I'm using v10.3 of the WebDataGrid. 

I have EnableDataViewState=true on the grid, but the grid is empty after a postback.  The rows and selection(s) are preserved, but there's no data...just blank rows.

I understand that rebinding will fix this but it seems a bit expensive to go back to the database to repopulate the grid with the same data after each postback.

What am I missing? 

It looks like the data is in the view state because when I view the page source, the view state is much bigger when EnableDataViewState=true, but why doesn't the grid read it back out and put it back in the grid?

 

 

 

Parents
  • 33839
    Verified Answer
    posted

    HI jerome_w,

    You do have on ViewState of the grid, right?  Do you have the latest Service Release for 10.3?  This is definitely a scenario that should work so long as you aren't paging or filtering.  Then you may need to rebind the grid.  Would it be possible to attach a sample here replicating the problem?

    regards,
    David Young 

Reply Children
No Data