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?
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
I applied the 2010.3 service pack and it fixed my problem.
I know I should have applied it before posting a problem but I figured this is such a fundamental and obvious problem, I must have overlooked a grid property or setting somewhere...