How to force an asp.net control to reload the postback data?
What is t开发者_如何学JAVAhe 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
).
精彩评论