Alright...
Date: 04/07/05
(WebDesign) Keywords: browser, html, asp
I've got a small question. I know I should know the answer to this, but dern if I can't figure it out.
I've got an ASP.NET page written with C# (code located at http://images.julisana.com/ellie/index.aspx.txt You will have to save it to view the code, otherwise the browser tries to render it and fails miserably) with a form that is supposed to: send an e-mail upon submission. The action element of the form is set to go to submit.aspx (code located at http://images.julisana.com/ellie/submit.aspx.txt Same rules apply for this one too). So, what I want to know is, why will it send the e-mail, but not continue to the next page. Do I need to add a call to my C# scripting that tells it to go to submit.aspx, despite the fact that the action element is set to that? Or what?
Thanks much!
Update: Response.Redirect("pagename.html"); was the command I was looking for.
Source: http://www.livejournal.com/community/webdesign/848112.html