Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

I am trying to create a new webform on a button click event in Asp.net but unable to find any related article.

The scenario is user will provide a name in textbox and select a control to be generated from a dropdownlist such as radio button, checkbox, textbox or dropdownlist and click generate button. A new webform will be created with a label Name provided by the user and control selected from the dropdownlist...


Any suggestions....

What I have tried:

I have tried string builder but it is used to return html
Posted
Comments
j snooze 26-Jan-18 17:33pm    
google adding dynamic controls to webforms. It sounds more like that is what you are trying to do versus creating a whole new form. If you want a whole different page then pass the users selection to a different page and create dynamic controls on that form.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900