Greetings

As the Subject mentions, I'm creating a control at runtime (ie can be one
of several - which I don't know at design time), and all it working well.
Except that on a page postback all viewstate is lost. Well I know its not
really lost as I believe its still part of the viewstate, however as the
control is created after the viewstate processing its not used.

So the question becomes what is the best what of handling dynamic control
creation while maintaining its state?

Any help in this regard would be much appreciated.

Garry McGlennon
Technical Leader - Solutions

Parity
T: +44 (0) 208 543 5353
F: +44 (0) 208 545 6511
Web: www.parity.co.uk
Email: gmcglennon@parity.co.uk
___________________________________
Parity Solutions Ltd, 1 Hartfield Rd
Wimbledon SW19 3RU