[RESOLVED]create new aspx file on form submit

My company currently conducts several webinars per month and we direct people to the webinar by sending them to a default page on the website which then forwards to the page that is set up for that days webinar. This means manually creating the page and
then changing the redirect on the default page. I want to create an application that allows someone in our CS department to select from a list of upcoming webinars. The information from the database is written to another page where the webinar information
is collected (password, URL and page name, and upload materials for the attendee to download). When submitting that I want to create the page that is redirected to (i.e. webinar_11514.aspx).

How do I create an entirely new file on submitting the form and post all of the information from the form to that page?

Thanks in advance.

Scott

Hi scottdg,

Thanks for your post.

I suggest that you’d better mix the aspx with cshtml in mvc. If you want to post all of the information from the form to that page,you can try this:

@using(Html.BeginForm("youractionname", "yourcontrollername")) 
{
    <!-- Form content goes here -->
} 

and I want to what’s the meaning of this:

scottdg

How do I create an entirely new file on submitting the form

Hope this can be helpful.

If I misunderstand you, please let me know

Best Regards,

Eileen

Leave a Reply