SunQuest
 
           .NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

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:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old September 11th, 2000, 05:51 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Passing Values between Frames.

<i><b>Originally posted by : Padmaja Tallavajhala (coolpersona@hotmail.com)</b></i><br />I have 3 frames where I am passing a value from one frame to another. I am able to try from the 1st page to the other, but<br />I have been having no success in passing the value from the 2nd page to the 3rd page.<br /><br />I am copying over the code below. Please do help and give your tips on this.<br /><br />----------------------------------------------------------------------------------------------------------------------------------------------------<br />TestingFrames.htm<br /><br /><html><br /><br /><head><br /><title>Itinerary Arrangements</title><br /><meta name="GENERATOR" content="Microsoft FrontPage 4.0"><br /><meta name="ProgId" content="FrontPage.Editor.Document"><br /><title>Testing Frames </title><br /></head><br /><br /><frameset cols="34,76" FRAMEBORDER="0" FRAMESPACING="0" BORDER="0" ><br /> <frame name="contents" target="main" border="No" noresize scrolling="No" src="Frame2.asp"><br /> <frameset rows="200,*" frameborder="0" framespacing="0" border="0" ><br /> <frame BORDER="No" name="banner" scrolling="NO" NORESIZE src="Frame1.asp" target="contents"><br /> <frame BORDER="No" name="main" BORDER="0" src="Frame3.asp"><br /> </frameset><br /><br /> <noframes><br /> <body><br /> <p>This page uses frames, but your browser doesn't support them.</p><br /> </body><br /> </noframes><br /></frameset><br /><br /></html><br />------------------------------------------------------------------------------------------------------------------------------------------<br /><br />Frame1.asp<br /><br /><HTML><br /> <br /> <% <br /> <br /> stMonth = Request.Form("ReportName")<br /> <br /> %><br /><HEAD><br /> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><br /> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"><br /> <meta name="ProgId" content="FrontPage.Editor.Document"><br /> <title>Frame 1</title><br /><br /><SCRIPT LANGUAGE="JavaScript"><br /><br /> function cboName_OnChange() <br /> {<br /> document.frmFrame1.submit();<br /> }<br /><br /></SCRIPT><br /><br /></HEAD><br /><br /><BODY LEFTMARGIN="0" target="contents" TOPMARGIN="0" background="bg003t.gif" onLoad="cboName_OnChange()"><br /><br /><form action="frame2.asp" method="post" target="contents" name="frmFrame1"><br /><font size=3 type="Arial">FRAME 1</font><br /><TABLE BORDER=0 ALIGN=LEFT RULES=none WIDTH=100% CELLPADDING=0 CELLSPACING=0><br /> <br /> <TR><br /> <TD VALIGN=TOP><br /> <!----NESTED MENU SUBTABLE----><br /> <TABLE CELLSPACING=0 WIDTH=60%><br /> <TR><br /> <TD COLSPAN="3"><br /> Frame 1:<input type="text" name="EmpName" value="Padmaja"></input><br /> </TD><br /> </TR><br /> </TABLE><br /> <!----END OF NESTED CONTENT TABLE----><br /> </TD><br /> </TR> <br /></TABLE><br /><br /></BODY><br /></HTML><br />------------------------------------------------------------------------------------------------------------------------------------------------<br /><br />Frame3.asp<br /><br /><html> <head><title>Frame 3</title><br /><meta name="GENERATOR" content="Microsoft Visual Studio 6.0"><br /><%<br /><br />Dim stID <br />sttitle = Request.Form("title")<br /><br />%> </head> <body><br /><br /><form name="frmFrame3"> <br /><br /><%<br />For each item in Request.Form %><br /><Input Name = "<%=item%>" Type = "hidden" VALUE = "<% = Server.HTMLEncode(Request.Form(item)) %>"><br /><% next %><br /><br /><font size=3 type="Arial">FRAME 3</font><br><br />Title:<Input Name = EmpName value="<%=sttitle%>" Type = "text"><br /><br /></form><br /></BODY><br /></HTML><br />----------------------------------------------------------------------------------------<br /><br />Please try this code in your browser and offer any suggestions to me.<br />Waiting to hear from any of you,<br />Thanks,<br />Padmaja.<br />

Reply With Quote
  #2  
Old September 12th, 2000, 11:33 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : </b></i><br />I can't find frame2.asp <br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Passing Values between Frames.


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 3 hosted by Hostway