K
K B
Hi, I have a gridview where I do the databind on a dropdownlist
selection event, and create the rows dynamically during the rowdatabound
event. When I click the SAVE button to capture user changes, the grid is
lost. I can see that this is a VIEWSTSATE issue but I don't know how to
fix it.
How do I keep viewstate for the gridview. It is not loaded on page load,
but on a click event. An example or some details would be much
appreciated. I've tried searching but still don't understand how to do
this.
Thanks,
Kit
selection event, and create the rows dynamically during the rowdatabound
event. When I click the SAVE button to capture user changes, the grid is
lost. I can see that this is a VIEWSTSATE issue but I don't know how to
fix it.
How do I keep viewstate for the gridview. It is not loaded on page load,
but on a click event. An example or some details would be much
appreciated. I've tried searching but still don't understand how to do
this.
Thanks,
Kit