简体   繁体   中英

How to create a page with dynamic controls in asp.net? How can I define a control collection?

In my ASP.NET web application project I want to create a page with dynamic controls. Please see the details. I have aa Page named AddNotificationParameters.aspx. While passing a querystring parameter to this page it needs to load controls based on the querystring. The controls will be different based on the querystring parameter. What is the best approach to handle these types of scenario. Pls advice

Use a gridview or repeater and bind the data to it. Then you can generate dynamic controls using it. This is just a vague idea. Please post more details for getting an exact idea.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM