What is the best practice to force the postback Data and ViewState data to be re-loaded on the code behind?
The reason I ask this is, i have one gridview which is generated dynamically and I when it is structure is generated the postback data is already loaded and I want to forse asp.net to reload the postback data once I have my gridView structure is generated.
How can I achieve this?
Thanks
I don't think this is possibe, but it's not necessary anyway. You just need to build your gridView structure at an earlier page event (eg OnInit).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With