ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
The Best Selling PC Migration Utility.
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

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 Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old August 20th, 2003, 02:04 PM
zimm zimm is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 30 zimm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
frames question

I have four documents:
  • parent
  • left
  • right
  • action asp

When parent loads, "left" appears in the left frame, "right" appears in the right frame.

Clicking on the "submit" button in the left frame calls "action asp", but "action asp" is loading in the left frame, not the right frame.

I can easily do what I want to do using anchor tags in the left frame, but that would require me to create a bunch of different asp's to do what I could do with just one. By testing the value of what gets passed when the submit button is clicked, I want to dynamically create what shows up in the right frame. Instead of having a bunch of asp's, I want to write several functions in the ONE asp that will display what needs to be displayed.

I've already tried setting the target attribute in both the form as well as the parent page, and neither way is doing what I need to have done.

I know it's something stupid that I'm overlooking, but I just can't remember what I need to do.

Reply With Quote
  #2  
Old August 20th, 2003, 05:44 PM
unatratnag unatratnag is offline
Average Intelligence
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2003
Location: Ohio/Chicago
Posts: 678 unatratnag User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 54 sec
Reputation Power: 6
Send a message via AIM to unatratnag
alright.. here's what you need to do... copy all the code in the body section.. alright still with me? Now create a new table with 4 sections, one top, 2 middle, and one bottom, now past the body into the right middle one, and bam, you redid the page in tables without frames hastle =)

on a more serious (well, half serious i should say) google for GET/POST with frames asp or something. Plenty O tutorials, I've seen this question asked a couple times on this forum, but good luck digging through trying to find it.

Reply With Quote
  #3  
Old August 20th, 2003, 06:32 PM
zimm zimm is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 30 zimm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
What really has me twisted in knots is that I've done this thing before, and on a much more complicated UI (more tables spread out on 3 frames) than the one I'm currently writing.

I've already googled, and found what I thought were some good tutorials, but they didn't work.

Reply With Quote
  #4  
Old August 20th, 2003, 06:33 PM
unatratnag unatratnag is offline
Average Intelligence
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2003
Location: Ohio/Chicago
Posts: 678 unatratnag User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 54 sec
Reputation Power: 6
Send a message via AIM to unatratnag
I don't know what to tell you besides work with tables....

Reply With Quote
  #5  
Old August 21st, 2003, 09:23 AM
zimm zimm is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 30 zimm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I finally figured it out.

Use the "target" attribute on the form in the left frame and set it to the name of the right frame as defined in the parent where you defined the frameset.

Quick example:
PARENT.HTM
<html>
<head>
<title>
[i]Some Title
</title>
</head>

<frameset cols = "20%,*" frameborder = "NO" framespacing = "0">
<frame src = "left.htm" name = "left">
<frame src = "right.htm" name = "right">
</frameset>
</html>
*************end parent***********

left.htm
<form name = "admin" method = "post" action = "some.asp" target = "right">
<input....>
<input....>
<input type = "submit">
</form>
****************end left.htm

right.htm (once the form on left.htm is submitted, this page will be replaced by ASP named in the "action" attribute of the form on left.htm)
<h1>Blah Blah Blah</h1>
***************end right.htm

some.asp
<%
request.form
blah blah blah
%>

Reply With Quote
  #6  
Old August 21st, 2003, 09:25 AM
unatratnag unatratnag is offline
Average Intelligence
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2003
Location: Ohio/Chicago
Posts: 678 unatratnag User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 54 sec
Reputation Power: 6
Send a message via AIM to unatratnag
good job

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > frames question


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





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