473,387 Members | 1,863 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,387 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 1396
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: 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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.