HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 19th, 2004, 10:02 AM
gregoryenelson gregoryenelson is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 1 gregoryenelson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Submit directs an ASP page to diff Frame

Hi – I usually work in a different area, and am wasting lots of time on what is I am sure a simple problem.



I have a simple html document.

The top part may or may not be a frame but needs to hold an input text box and a Submit button that sends the inputted Date to the below ASP page.



The bottom 2/3 must be a Frame displaying the ASP page. It accepts the date as a parameter and downloads data from SQL.

The data access and ASP functionality are all OK.



What I cannot do is to get the Form/Submit button to call the asp page BUT in a different Frame. Presently it overwrites the top data entry part. I can use a hyperlink to nominate a different target frame but I cannot use a link.



This must be done programmatically – firstly with a date inputted by the user, later with a Calendar Control.



Any people with spare time and opinions are welcome.



Thanks.

Reply With Quote
  #2  
Old July 19th, 2004, 12:11 PM
bamboo bamboo is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 168 bamboo User rank is Private First Class (20 - 50 Reputation Level)bamboo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I did something like this a long long time ago. Basically I had a two frame frameset (left and right). In the right frame I had another two frame frameset (top and bottom). The date input and submit button was in the top frame. The results showed up in the bottom frame. When Submit was clicked I re-established the top/bottom frameset first and then wrote to the bottom frame.

Like I said this was a long long time ago. To tell you the trueth I forget how I ended up with what I ended up with, but it works. I doubt you would need the left/right frameset stuff. But the rewrite part might be needed. I can send you my files off list if you want. If so email me at duyenkim001@yahoo.com.

Reply With Quote
  #3  
Old July 20th, 2004, 06:50 AM
selwonk's Avatar
selwonk selwonk is offline
Contributing User
ASP Free Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2004
Posts: 2,942 selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 9 h 49 m 28 sec
Reputation Power: 62
Hi

I may be missing something, but if you name your frame "resultsFrame" and add target="resultsFrame" to your FORM does it not post the ASP script to the right frame?

MK

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > Submit directs an ASP page to diff Frame


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT