Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
25
webgrid created at runtime doesn't persist
posted

Hi all,

 

I'm attempting to dynamically create grids based on the requirements of my user (they basically have different programs, each of which requires me to create a grid, but the number of programs is not known until run time). I put each grid inside it's own tab (so I add tabs to the tab control dynamically as well). The problem is, whenever a postback occurs the grids that I created dynamically disappear!

I'll try and post a code sample in a few hours when I get to a computer that has the code; but any insight would be greatly appreciated.