Click here to Skip to main content
11,796,774 members (66,926 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Alternatives

Dynamic generate control according to the user's operation

, 18 Sep 2007 10.7K 163 11
sometimes we need to dynamic generate controls according to the user's operation, such as in a button click event. However, after the post back, the dynamic generated controls would disappear. I use viewstate to keep the infomation of the auto generated controls and generated them at the page load.


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

China China
No Biography provided

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.151002.1 | Last Updated 19 Sep 2007
Article Copyright 2007 by bluelzdwy
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid