Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > submit form data concept

Reply
Thread Tools

submit form data concept

 
 
Matt
Guest
Posts: n/a
 
      08-20-2004
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!!


 
Reply With Quote
 
 
 
 
=?Utf-8?B?U2hhbWly?=
Guest
Posts: n/a
 
      08-20-2004
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
submit the form concept strutsng@gmail.com ASP General 4 11-18-2005 01:28 PM
submit the form concept strutsng@gmail.com ASP .Net 5 11-18-2005 01:28 PM
submit the form concept strutsng@gmail.com Perl Misc 9 11-18-2005 01:28 PM
submit form data concept Matt ASP General 3 08-20-2004 12:23 PM
submit form data concept Matt HTML 2 08-20-2004 05:55 AM



Advertisments