Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 17th, 2003, 01:11 PM
Authorized User
 
Join Date: Oct 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Passing values to a frame

Hi

I'm having some problems passing some values from a drop down menu (on page 1) to a results page (page 2). The results page has two frame sets on it. I've tried bringing the values over using request.form method but this does not bring any of the values over into the second frame of page 2.

Is there any way round this little issue or am i stuck??

Cheers in advance.

SAch
 
Old November 18th, 2003, 06:47 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

So you have 1 page (page1) and it is posting to anothing page (page2) that displays two frames which would then contain page3 and page4?

There's always a way around the problem. :)

You could solve this is a couple of ways:

1. The form posts to page2, then page two takes all the values and puts them on the querystring of page3/4 in the frameset. This would carry the values through and you'd be able to grab them from the querystring in the code in page3/4.

2. The first form processing page (Page2) puts all the form values into the session, and page3/4 gets them out of there.

Unless the frameset has already be drawn, there won't be a way to post page1 directly to page3/4.

Peter
------------------------------------------------------
Work smarter, not harder.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Call right frame Page_Load event from left frame. ochanarachel Classic ASP Basics 0 January 28th, 2005 05:13 AM
Passing form values from 1 frame to another. edkeyte Javascript How-To 4 February 2nd, 2004 12:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.