Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

2 pages to one

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dancer - 10 Aug 2007 19:14 GMT
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=care
ers&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

Alexey Smirnov - 10 Aug 2007 20:49 GMT
> 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.
dancer - 15 Aug 2007 00:44 GMT
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."

>> 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
[quoted text clipped - 4 lines]
> 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.
Alexey Smirnov - 15 Aug 2007 07:53 GMT
> 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!
dancer - 17 Aug 2007 15:12 GMT
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=care
ers&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

>> 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
[quoted text clipped - 6 lines]
> Maybe you can tell us in details what sort of application you do and
> what do you have on your pages. Thanks!
Mark Rae [MVP] - 15 Aug 2007 00:59 GMT
> 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...?

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.