Viewstate and LoadControl

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
 
K

Karl Seguin

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,991
Messages
2,570,214
Members
46,801
Latest member
MandyYtw96

Latest Threads

Top