-
Maintaining state for dynamically created controls
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks