How to manage child control state for Custom Web Control?

C

ChrisMiddle10

Hey, I am developing a fairly simple custom web control. I am, however,
having a major problem understanding how to have any child controls
maintain state.

For instance, in my particular control I am making another control
collection accessible, which belongs to a Panel object. How do I ensure
that the Panel maintains its state and that of its children?

I've tried saving the Panel in my ViewState property, but controls are
not serializable.

Any answers/suggestions would be great!! Thanks!!
 

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

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top