GridView and multiple postbacks problem
- by Jonn
I have a grid view containing checkboxes and a great deal of problems surrounding it.
First of all the page on_load and on_init gets called twice. The first call says it's a postback and the second isn't. If I check for postbacks, during the second call the change of state (i.e. A button_click event that was supposed to refresh the data in the grid) that triggered during the first call does not register.
If I don't check for postbacks, checkboxes in the GridView do not retain its state by the second call to OnLoad/OnInit.