submit form data concept

M

Matt

When people say submit the form data, does it mean the form data are
submitted to web browser using either HTTP GET or POST method, and then it
will redirect to another page.

For example, this is page1.aspx

<form action="page2.aspx" method="post">

means it will submit the page1.aspx form data to the web server, and then
redirect from page1.aspxto page2.aspx?

please clarify. thanks!!
 
G

Guest

Hi,

1. Submit page data to the page specified in <form action="somepage"> tag
which resides on the web server.

2. With ASP.NET, you cannot post page data to someother page i.e., <form
action="somepage"> will not be considered. ASP.NET will always post to
itself.

3. If you want to post data to someother page then you must remove
"runat=server" attribute from <form> tag (this will make it behave like a
normal html form element)

4. With ASP.NET 2.0 (beta 1 is available), it is possible to post data to
other pages.

Regards,
Shamir
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top