My requirement is as simple as the title. I want to create new webform on button click event. When user click the button It will create a new webform with masterpage and c# code file. Yeah it should create a new webform unlike open a new webform.

Can you elaborate a bit? Adding code means changing the solution/project and rebuilding/deploying. Is that really what you want?

My guess is you have a problem where you need a more generic solution that that.

I want to do create a new webform on buttonclick event in asp.net. When user hit the button the buttonclick event fires and it will create a new webform for user with a datetime name. I just want to know how to create a new page on buttonclick event. Any suggested tutorial will be helpful

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.