Click here to Skip to main content
15,885,899 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am stuck at this situation, Please can someone explain me how do I create a new web form in asp.net 4.0 (vwd 2010) in code. I mean that whenever a user clicks a button a new web form should be created it should be saved in same web project like other web forms and should have properties of a masterpage. I should be able to determine the id of the page in code. Thanks for any help.
Posted
Updated 17-Sep-13 20:52pm
v2
Comments
Nitin Singh India 18-Sep-13 9:29am    
You can create physical files like abc_1.aspx, abc_1.aspx.cs, etc but they will not be live pages which you can then consume within the application.
If you explain the business needs, some other way of solving that can be proposed...

1 solution

I need this cause I am tying to make a membership site. It should be this way. Whenever a new user registers in my site using createuserwizard a new page should be created having properties of masterpage. And next time the user login's to my site he should be directed to same page that was created earlier. Please help me very urjent.
 
Share this answer
 

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