I have built a RadGrid control programmtically in Page_Init.
The radgrid will be recreated if user has chosen some settings (e.g. drop down list) on the page.
But when I rebuild the RadGrid on Page_Init it maintains its previous state and doesn't apply the changes.
I think On Page_LoadViewState it overwrites the newly created radgrid.
I can't disable viewstate for the whole page; how could I disable it for the RadGrid only?
I have set the ViewStateMode of the RadGridControl and the MasterTableView to "Disabled" but still it loads the previous data:
<MasterTableView ViewStateMode="Disabled">
Many thanks,
The radgrid will be recreated if user has chosen some settings (e.g. drop down list) on the page.
But when I rebuild the RadGrid on Page_Init it maintains its previous state and doesn't apply the changes.
I think On Page_LoadViewState it overwrites the newly created radgrid.
I can't disable viewstate for the whole page; how could I disable it for the RadGrid only?
I have set the ViewStateMode of the RadGridControl and the MasterTableView to "Disabled" but still it loads the previous data:
<MasterTableView ViewStateMode="Disabled">
Many thanks,