473,378 Members | 1,218 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Posting to a different page

Hi,

Is there a way to post to a diiferent page than it self in ASP.net on
submit().

Rahul
Nov 18 '05 #1
6 1394
Rahul,

Use an action attribute in the form tag of your form on your page, along
with a method="POST" attribute.
http://msdn.microsoft.com/library/de...thor/dhtml/ref
erence/objects/form.asp?frame=true

HTH,

Raymond Lewallen

"Rahul Aggarwal" <ag***********@myfloridahouse.com> wrote in message
news:em**************@TK2MSFTNGP10.phx.gbl...
Hi,

Is there a way to post to a diiferent page than it self in ASP.net on
submit().

Rahul

Nov 18 '05 #2
Rahul,

Use an action attribute in the form tag of your form on your page, along
with a method="POST" attribute.
http://msdn.microsoft.com/library/de...thor/dhtml/ref
erence/objects/form.asp?frame=true

HTH,

Raymond Lewallen

"Rahul Aggarwal" <ag***********@myfloridahouse.com> wrote in message
news:em**************@TK2MSFTNGP10.phx.gbl...
Hi,

Is there a way to post to a diiferent page than it self in ASP.net on
submit().

Rahul

Nov 18 '05 #3
don't use runat=server on the form

-- bruce (sqlwork.com)
"Rahul Aggarwal" <ag***********@myfloridahouse.com> wrote in message
news:em**************@TK2MSFTNGP10.phx.gbl...
Hi,

Is there a way to post to a diiferent page than it self in ASP.net on
submit().

Rahul

Nov 18 '05 #4
don't use runat=server on the form

-- bruce (sqlwork.com)
"Rahul Aggarwal" <ag***********@myfloridahouse.com> wrote in message
news:em**************@TK2MSFTNGP10.phx.gbl...
Hi,

Is there a way to post to a diiferent page than it self in ASP.net on
submit().

Rahul

Nov 18 '05 #5
Thanks that worked
"bruce barker" <no***********@safeco.com> wrote in message
news:e6**************@TK2MSFTNGP09.phx.gbl...
don't use runat=server on the form

-- bruce (sqlwork.com)
"Rahul Aggarwal" <ag***********@myfloridahouse.com> wrote in message
news:em**************@TK2MSFTNGP10.phx.gbl...
Hi,

Is there a way to post to a diiferent page than it self in ASP.net on
submit().

Rahul


Nov 18 '05 #6
Thanks that worked
"bruce barker" <no***********@safeco.com> wrote in message
news:e6**************@TK2MSFTNGP09.phx.gbl...
don't use runat=server on the form

-- bruce (sqlwork.com)
"Rahul Aggarwal" <ag***********@myfloridahouse.com> wrote in message
news:em**************@TK2MSFTNGP10.phx.gbl...
Hi,

Is there a way to post to a diiferent page than it self in ASP.net on
submit().

Rahul


Nov 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: DaveFash | last post by:
Posting variables from an HTML FORM, via the Request.Form function on the receiving ASP page is great. But how can you POST a Form variable to an ASP page -- without a human pushing a Submit...
2
by: Rob Shorney | last post by:
Hi, We currently have a classic asp web application. We are currently looking at upgrading this to ASP.NET. However I have a couple of problems that need to be resolved. 1. aspx forms...
4
by: Peter Afonin | last post by:
Hello, I have a form with several buttons, and I need to post this data to several different applications. In ASP.NET 1.1 it was quite easy - I just used HTML controls (text or hidden), then...
3
by: ollebollebagare | last post by:
For the last few days some of my web site users have been having problems posting asp.net forms. This problem arises everytime they try to post a form in asp.net, but never when the page is plain...
6
by: kresimirt | last post by:
Hi, I am trying to enhance the functionality of my web site which is hard with my limited knowledge of web developing. The idea is the following: On the main web page there is a show_hide script...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.