Hi,
got such a problem.
Have an updatepanel with autopostback combo.
Selection in the combo is affecting grid datasource.
If the combo item is a first one, that says "Select [blabla]" - data in the grid must be cleared.
When I use DataSource = null assignment, the grid is getting hidden, but when I select some item after this, there is exception
"Failed to load viewstate".
So, how to organize the code properly in my case?
got such a problem.
Have an updatepanel with autopostback combo.
Selection in the combo is affecting grid datasource.
If the combo item is a first one, that says "Select [blabla]" - data in the grid must be cleared.
When I use DataSource = null assignment, the grid is getting hidden, but when I select some item after this, there is exception
"Failed to load viewstate".
So, how to organize the code properly in my case?