Viewstate and LoadControl

  • Thread starter Thread starter Anonymous
  • Start date Start date
A

Anonymous

Hello,

I am loading a datagrig, which has a placeholder in it
dynamically with a usercontrol. The usercontrol is
actually another datagrid. Once loaded it looks like a
nested grid. Each row in the main grid contains a button
which expands the nested grid for that row on the server-
side. I am loading the usercontrol when the user has
pressed that button. Now the problem is when the user has
one grid already expanded and wants to expand another one,
then the previous grid looses his data. I think that
somehow I need to maintain the viewstate, but I am not
sure about that. Any help is very appreciated.

Thanks
 
Anonymous:
I answered this in your other post, please take a peek (also, if this is
urgent, my suggestion of reusing a control is doubly valid).

Karl
 
Back
Top