Reputation: 1
I want to connect one webpage to another using a command button called email. When the user clicks on the email button it should take them to another webpage where the user can select the emails they want to send to. Then they will click the OK button and it will return them to the previous webpage where they can type in their email and write a message and hit submit.
Upvotes: 0
Views: 830
Reputation: 13730
To do this, you can use the asp.net Session
object. Session allows you to save information, such as a list of email addresses into memory, and retrieve them on another page.
Here's the basic article on Session, including a bunch of how-to's.
From a logic flow perspective:
Session
, and redirect to second .aspx pageSession
, then redirect back to the Main form.Upvotes: 2