473,503 Members | 1,646 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1400
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
4157
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
1603
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
2044
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
1362
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
2610
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
7198
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
7271
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
7319
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...
1
6979
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5570
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3149
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1498
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.