|
|
|
start date: Fri, 10 Aug 2007 14:14:07 -0400,
posted on: microsoft.public.dotnet.framework.aspnet
back
| Thread Index |
|
1
dancer
|
|
2
Alexey Smirnov
|
|
3
dancer
|
|
4
Mark Rae [MVP]
|
|
5
Alexey Smirnov
|
|
6
dancer
|
2 pages to one
Is it possible to have 2 or more pages post to 1 page?
I want to have the user click on a button and have that result recorded
along with other information from another form page.
Here is an example of what I would like to do.
http://jobsearch.about.com/gi/dynamic/offsite.htm?zi=1/XJ&sdn=jobsearch&cdn=careers&tm=8&gps=107_376_1019_715&f=00&su=p554.2.150.ip_p560.3.150.ip_p664.2.420.ip_&tt=11&bt=0&bts=1&zu=https%3A//hiringcenter.walmartstores.com/OnlineHiringCenter/initialPage.jsp
Date:Fri, 10 Aug 2007 14:14:07 -0400
Author:
|
Re: 2 pages to one
On Aug 10, 8:14 pm, "dancer" wrote:
> Is it possible to have 2 or more pages post to 1 page?
> I want to have the user click on a button and have that result recorded
> along with other information from another form page.
for such things you don't need to "post to another page". You can
update database and redirect to another page using
Response.Redirect(). Any logic common to many pages can be placed
within the base class or in a public class and used in any web form.
Date:Fri, 10 Aug 2007 19:49:29 -0000
Author:
|
Re: 2 pages to one
I'm sorry, I don't understand. I know how to redirect and I know how to
update a database. But I don't understand
"Any logic common to many pages can be placed within the base class or in a
public class and used in any web form."
"Alexey Smirnov" wrote in message
news:1186775369.923608.239350@q4g2000prc.googlegroups.com...
> On Aug 10, 8:14 pm, "dancer" wrote:
>> Is it possible to have 2 or more pages post to 1 page?
>> I want to have the user click on a button and have that result recorded
>> along with other information from another form page.
>
> for such things you don't need to "post to another page". You can
> update database and redirect to another page using
> Response.Redirect(). Any logic common to many pages can be placed
> within the base class or in a public class and used in any web form.
>
Date:Tue, 14 Aug 2007 19:44:59 -0400
Author:
|
Re: 2 pages to one
"dancer" wrote in message
news:eSbJ$o32HHA.3940@TK2MSFTNGP05.phx.gbl...
> Is it possible to have 2 or more pages post to 1 page?
http://msdn2.microsoft.com/en-us/library/ms178139(vs.80).aspx
> I want to have the user click on a button and have that result recorded
What result...?
> along with other information from another form page.
What happes on the other page...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
Date:Wed, 15 Aug 2007 00:59:57 +0100
Author:
|
Re: 2 pages to one
On Aug 15, 1:44 am, "dancer" wrote:
> I'm sorry, I don't understand. I know how to redirect and I know how to
> update a database. But I don't understand
> "Any logic common to many pages can be placed within the base class or in a
> public class and used in any web form."
>
When you say, you want to have 2 or more pages post to 1 page, I
suppose you mean that 2 or more pages have a common logic, or not?
Maybe you can tell us in details what sort of application you do and
what do you have on your pages. Thanks!
Date:Tue, 14 Aug 2007 23:53:58 -0700
Author:
|
Re: 2 pages to one
If you look at the following Wal-Mart link, you will see that after clicking
"apply now" the user clicks "I agree" from a couple of pages, THEN he is
permitted to fill out a form.
I assume the "I agree" results are kept WITH the other information from the
next form, which is how I would want it. (I would only want ONE "I agree"
page, however. I would want to send the "I agree" answer along with the
form results by email, and maybe to a database. I know how to do the email
and database. I just don't know how to get the info from the "I agree" page
*with* the info from the form.
http://jobsearch.about.com/gi/dynamic/offsite.htm?zi=1/XJ&sdn=jobsearch&cdn=careers&tm=8&gps=107_376_1019_715&f=00&su=p554.2.150.ip_p560.3.150.ip_p664.2.420.ip_&tt=11&bt=0&bts=1&zu=https%3A//hiringcenter.walmartstores.com/OnlineHiringCenter/initialPage.jsp
Thanks
"Alexey Smirnov" wrote in message
news:1187160838.039095.249120@57g2000hsv.googlegroups.com...
> On Aug 15, 1:44 am, "dancer" wrote:
>> I'm sorry, I don't understand. I know how to redirect and I know how to
>> update a database. But I don't understand
>> "Any logic common to many pages can be placed within the base class or in
>> a
>> public class and used in any web form."
>>
>
> When you say, you want to have 2 or more pages post to 1 page, I
> suppose you mean that 2 or more pages have a common logic, or not?
> Maybe you can tell us in details what sort of application you do and
> what do you have on your pages. Thanks!
>
Date:Fri, 17 Aug 2007 10:12:09 -0400
Author:
|
|
|