I was wondering how I would do a form post from one ASP.Net webform to
another webform in another ASP.Net application. I have tried this using the
httprequest object but the 2nd webform is never displayed in the browser.
Has anybody ever done this before?
Thanks in Advance,
Thomas Kirk 7 1216
Typically, you would use Server.Transfer instead of posting a form.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer http://www.takempis.com
Neither a follower nor a lender be.
"Thomas Kirk" <tk***@tandt.com> wrote in message
news:eF**************@TK2MSFTNGP09.phx.gbl... I was wondering how I would do a form post from one ASP.Net webform to another webform in another ASP.Net application. I have tried this using
the httprequest object but the 2nd webform is never displayed in the browser. Has anybody ever done this before?
Thanks in Advance, Thomas Kirk
No, it won't. In that case, you need to insert a regular HTML form in the
Page. A WebForm always posts back to itself.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer http://www.takempis.com
Neither a follower nor a lender be.
"Thomas Kirk" <tk***@tandt.com> wrote in message
news:uW**************@TK2MSFTNGP10.phx.gbl... I have tried server.transfer but it gives me error: "invalid path for
child request". I don't think it will work when transferring to another application. Thanks
"Kevin Spencer" <ke***@takempis.com> wrote in message news:uI**************@TK2MSFTNGP12.phx.gbl... Typically, you would use Server.Transfer instead of posting a form.
-- HTH,
Kevin Spencer Microsoft MVP .Net Developer http://www.takempis.com Neither a follower nor a lender be.
"Thomas Kirk" <tk***@tandt.com> wrote in message news:eF**************@TK2MSFTNGP09.phx.gbl... I was wondering how I would do a form post from one ASP.Net webform to another webform in another ASP.Net application. I have tried this
using the httprequest object but the 2nd webform is never displayed in the browser. Has anybody ever done this before?
Thanks in Advance, Thomas Kirk
Thomas,
Can you please give us more info on how you did it
Thank you
"Thomas Kirk" <tk***@tandt.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... Kevin - I was able to get it working using a combination of
server.transfer and context.items
Thanks for the help
"Kevin Spencer" <ke***@takempis.com> wrote in message news:#t**************@TK2MSFTNGP10.phx.gbl... No, it won't. In that case, you need to insert a regular HTML form in
the Page. A WebForm always posts back to itself.
-- HTH,
Kevin Spencer Microsoft MVP .Net Developer http://www.takempis.com Neither a follower nor a lender be.
"Thomas Kirk" <tk***@tandt.com> wrote in message news:uW**************@TK2MSFTNGP10.phx.gbl... I have tried server.transfer but it gives me error: "invalid path for child request". I don't think it will work when transferring to another application. Thanks
"Kevin Spencer" <ke***@takempis.com> wrote in message news:uI**************@TK2MSFTNGP12.phx.gbl... > Typically, you would use Server.Transfer instead of posting a form. > > -- > HTH, > > Kevin Spencer > Microsoft MVP > .Net Developer > http://www.takempis.com > Neither a follower nor a lender be. > > "Thomas Kirk" <tk***@tandt.com> wrote in message > news:eF**************@TK2MSFTNGP09.phx.gbl... > > I was wondering how I would do a form post from one ASP.Net
webform to > > another webform in another ASP.Net application. I have tried this
using > the > > httprequest object but the 2nd webform is never displayed in the browser. > > Has anybody ever done this before? > > > > Thanks in Advance, > > Thomas Kirk > > > > > >
To a WebForm outside of the current app domain? That would be a trick. It
could be done with Web Services, though, now that I think aobut it again.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer http://www.takempis.com
Neither a follower nor a lender be.
"Thomas Kirk" <tk***@tandt.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... Kevin - I was able to get it working using a combination of
server.transfer and context.items
Thanks for the help
"Kevin Spencer" <ke***@takempis.com> wrote in message news:#t**************@TK2MSFTNGP10.phx.gbl... No, it won't. In that case, you need to insert a regular HTML form in
the Page. A WebForm always posts back to itself.
-- HTH,
Kevin Spencer Microsoft MVP .Net Developer http://www.takempis.com Neither a follower nor a lender be.
"Thomas Kirk" <tk***@tandt.com> wrote in message news:uW**************@TK2MSFTNGP10.phx.gbl... I have tried server.transfer but it gives me error: "invalid path for child request". I don't think it will work when transferring to another application. Thanks
"Kevin Spencer" <ke***@takempis.com> wrote in message news:uI**************@TK2MSFTNGP12.phx.gbl... > Typically, you would use Server.Transfer instead of posting a form. > > -- > HTH, > > Kevin Spencer > Microsoft MVP > .Net Developer > http://www.takempis.com > Neither a follower nor a lender be. > > "Thomas Kirk" <tk***@tandt.com> wrote in message > news:eF**************@TK2MSFTNGP09.phx.gbl... > > I was wondering how I would do a form post from one ASP.Net
webform to > > another webform in another ASP.Net application. I have tried this
using > the > > httprequest object but the 2nd webform is never displayed in the browser. > > Has anybody ever done this before? > > > > Thanks in Advance, > > Thomas Kirk > > > > > >
False alarm. It only appeared to be working. I am still not able to transfer
values to a different application.
"MS News (MS ILM)" <sq**********@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP09.phx.gbl... Thomas, Can you please give us more info on how you did it Thank you
"Thomas Kirk" <tk***@tandt.com> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl... Kevin - I was able to get it working using a combination of server.transfer and context.items
Thanks for the help
"Kevin Spencer" <ke***@takempis.com> wrote in message news:#t**************@TK2MSFTNGP10.phx.gbl... No, it won't. In that case, you need to insert a regular HTML form in the Page. A WebForm always posts back to itself.
-- HTH,
Kevin Spencer Microsoft MVP .Net Developer http://www.takempis.com Neither a follower nor a lender be.
"Thomas Kirk" <tk***@tandt.com> wrote in message news:uW**************@TK2MSFTNGP10.phx.gbl... > I have tried server.transfer but it gives me error: "invalid path
for child > request". I don't think it will work when transferring to another > application. Thanks > > "Kevin Spencer" <ke***@takempis.com> wrote in message > news:uI**************@TK2MSFTNGP12.phx.gbl... > > Typically, you would use Server.Transfer instead of posting a
form. > > > > -- > > HTH, > > > > Kevin Spencer > > Microsoft MVP > > .Net Developer > > http://www.takempis.com > > Neither a follower nor a lender be. > > > > "Thomas Kirk" <tk***@tandt.com> wrote in message > > news:eF**************@TK2MSFTNGP09.phx.gbl... > > > I was wondering how I would do a form post from one ASP.Net webform to > > > another webform in another ASP.Net application. I have tried
this using > > the > > > httprequest object but the 2nd webform is never displayed in the > browser. > > > Has anybody ever done this before? > > > > > > Thanks in Advance, > > > Thomas Kirk > > > > > > > > > > > >
Thomas,
That's too bad, I was hoping you find it.
"Thomas Kirk" <tk***@tandt.com> wrote in message
news:OL***************@TK2MSFTNGP10.phx.gbl... False alarm. It only appeared to be working. I am still not able to
transfer values to a different application.
"MS News (MS ILM)" <sq**********@hotmail.com> wrote in message news:eK**************@TK2MSFTNGP09.phx.gbl... Thomas, Can you please give us more info on how you did it Thank you
"Thomas Kirk" <tk***@tandt.com> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl... Kevin - I was able to get it working using a combination of server.transfer and context.items
Thanks for the help
"Kevin Spencer" <ke***@takempis.com> wrote in message news:#t**************@TK2MSFTNGP10.phx.gbl... > No, it won't. In that case, you need to insert a regular HTML form
in the > Page. A WebForm always posts back to itself. > > -- > HTH, > > Kevin Spencer > Microsoft MVP > .Net Developer > http://www.takempis.com > Neither a follower nor a lender be. > > "Thomas Kirk" <tk***@tandt.com> wrote in message > news:uW**************@TK2MSFTNGP10.phx.gbl... > > I have tried server.transfer but it gives me error: "invalid path for > child > > request". I don't think it will work when transferring to another > > application. Thanks > > > > "Kevin Spencer" <ke***@takempis.com> wrote in message > > news:uI**************@TK2MSFTNGP12.phx.gbl... > > > Typically, you would use Server.Transfer instead of posting a form. > > > > > > -- > > > HTH, > > > > > > Kevin Spencer > > > Microsoft MVP > > > .Net Developer > > > http://www.takempis.com > > > Neither a follower nor a lender be. > > > > > > "Thomas Kirk" <tk***@tandt.com> wrote in message > > > news:eF**************@TK2MSFTNGP09.phx.gbl... > > > > I was wondering how I would do a form post from one ASP.Net webform to > > > > another webform in another ASP.Net application. I have tried this > using > > > the > > > > httprequest object but the 2nd webform is never displayed in
the > > browser. > > > > Has anybody ever done this before? > > > > > > > > Thanks in Advance, > > > > Thomas Kirk > > > > > > > > > > > > > > > > > > > >
Thomas,
That's too bad, I was hoping you find it.
"Thomas Kirk" <tk***@tandt.com> wrote in message
news:OL***************@TK2MSFTNGP10.phx.gbl... False alarm. It only appeared to be working. I am still not able to
transfer values to a different application.
"MS News (MS ILM)" <sq**********@hotmail.com> wrote in message news:eK**************@TK2MSFTNGP09.phx.gbl... Thomas, Can you please give us more info on how you did it Thank you
"Thomas Kirk" <tk***@tandt.com> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl... Kevin - I was able to get it working using a combination of server.transfer and context.items
Thanks for the help
"Kevin Spencer" <ke***@takempis.com> wrote in message news:#t**************@TK2MSFTNGP10.phx.gbl... > No, it won't. In that case, you need to insert a regular HTML form
in the > Page. A WebForm always posts back to itself. > > -- > HTH, > > Kevin Spencer > Microsoft MVP > .Net Developer > http://www.takempis.com > Neither a follower nor a lender be. > > "Thomas Kirk" <tk***@tandt.com> wrote in message > news:uW**************@TK2MSFTNGP10.phx.gbl... > > I have tried server.transfer but it gives me error: "invalid path for > child > > request". I don't think it will work when transferring to another > > application. Thanks > > > > "Kevin Spencer" <ke***@takempis.com> wrote in message > > news:uI**************@TK2MSFTNGP12.phx.gbl... > > > Typically, you would use Server.Transfer instead of posting a form. > > > > > > -- > > > HTH, > > > > > > Kevin Spencer > > > Microsoft MVP > > > .Net Developer > > > http://www.takempis.com > > > Neither a follower nor a lender be. > > > > > > "Thomas Kirk" <tk***@tandt.com> wrote in message > > > news:eF**************@TK2MSFTNGP09.phx.gbl... > > > > I was wondering how I would do a form post from one ASP.Net webform to > > > > another webform in another ASP.Net application. I have tried this > using > > > the > > > > httprequest object but the 2nd webform is never displayed in
the > > browser. > > > > Has anybody ever done this before? > > > > > > > > Thanks in Advance, > > > > Thomas Kirk > > > > > > > > > > > > > > > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: TG |
last post by:
Dear PHP Group,
I have two forms that are used to collect user information. The first one
takes user inputted values such as fullname, city, address etc. I want these
values to display in the...
|
by: sammmista |
last post by:
hello experts,
Plz dont treat this as another newbie query , i did my homework but
still getting nowhere :( :( :(
Trying to learn PHP on Fedora core 1 (PHP 4.3,MySQL,HTTPD).Unable to
post data...
|
by: Harvey |
last post by:
Hi,
I try to write an asp query form that lets client search any text-string and
display all pages in my web server that contain the text. I have IIS 6.0 on a
server 2003. The MSDN site says...
|
by: Paxton |
last post by:
I created an html email containing a form whose method is POST. The
form is posted to an asp page for processing, but no values are
retrieved. So I response.write all the Request.Form fields, and...
|
by: Noozer |
last post by:
Below is some ASP, HTML and javascript. It is part of a page used to
maintain a small database. This code did work at one time, but has since
stopped. For some reason the data on my form is not...
|
by: eswanson |
last post by:
I have a web page I need to post a file plus some other fields to it. How
can I do this from a asp.net page. I know I can send individual fields to the
other page, but how do I send a file to the...
|
by: Gert |
last post by:
Hi,
I have a form (server side) because of the filling of variables through the
application. But now I need to post it to an url on submit.
My .HTML form looks like this, but how to translate it...
|
by: deko |
last post by:
I have a basic feedback form with a submit button.
After the "send" button is clicked, I want the user to be redirected to a
different page that says "Your message has been sent."
How do I do...
|
by: Theadmin77 |
last post by:
Ok ,i have to create a page to allow entry of user information;all fields must be validated and error displayed otherwise
* First Name (limit 25 characters)
* Last Name (limit 25...
|
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,...
|
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$) {
}
...
|
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...
|
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
|
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...
|
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: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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,...
|
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...
| |