Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics 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 March 8th, 2005, 05:11 PM
Registered User
Join Date: Mar 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default using Framesets with ASP

I'm trying to set up a frameset in which the left frame panel contains the navigation items. I want to be able to have a link on the left frame that when clicked, loads an ASP page in the top, or main frame. When I set this up, it only displays the HTML/ASP code...and doesn't process or render the ASP file. Is there something that I am missing? I really appreciate any feedback.

Old March 8th, 2005, 05:59 PM
Friend of Wrox
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post

can you post your code ? or point us to a site where you code is.
Old March 9th, 2005, 01:07 PM
Registered User
Join Date: Mar 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<frameset rows="1,*" cols="173,*" frameborder="NO" border="0" framespacing="0">
  <frame src="UntitledFrame-4.htm">
  <frame src="UntitledFrame-5.htm">
  <frame src="ShipmentFramesetLeft.htm" name="leftFrame" scrolling="NO" noresize>
  <frameset rows="*,146" cols="*" framespacing="0" frameborder="NO" border="0">
    <frame src="ShipmentsViewByDate.asp" name="mainFrame">
    <frame src="ShipmentsViewByDate.asp" name="bottomFrame" scrolling="NO" noresize>

HERE IS THE ASP PAGE THAT SHOULD LOAD IN THE MAIN (TOP) FRAME... Instead of rendering the ASP page, it displays the ASP/HTML code in the MAIN(TOP) frame.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
@import url("myCSS/MainHeadings.css");
body {
    background-color: #F7E777;

<body class="MainHeading">
<p class="NavigationStyle"><a href="Welcome.htm">Welcome</a> <a href="SpecimenPage.asp">Specimens </a></p>
<p>Please select a Shipment Date to View: </p>
<p>&nbsp; </p>
<Form method="post" ACTION="ViewPastShipmentsByDateResponse.asp">
<p><Select Name="ShipmentDt" size="1">

Set objConn = server.CreateObject("ADODB.connection")
objConn.open "DSN=MbararaWeb;UID=sa;PWD=bluetrain"

set objCmd=server.CreateObject("ADODB.command")
set objCmd.activeconnection = objConn
objCmd.commandtext = "Select * from vwShipmentDtSent"
objCmd.commandtype = 1
set objRS=server.CreateObject("ADODB.recordset")
set objRS = objcmd.execute

Do while not objRS.EOF
    Response.write "<option Value =" & objRS("DtSent") & ">"
    Response.write objRS("DtSent") & "</Option>"
    Set objRS=nothing

</Select> </p>
<p><Input Type = "submit" Value="Submit" Name = "frmViewByDate"></P>

Old December 7th, 2005, 08:06 AM
Authorized User
Join Date: Nov 2005
Location: , , .
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to x_ray

i am facing this problem too for weeks now and still i didn't get any replies on my posts(x-ray:help with frameset), but the only difference is i am using asp and javascript(and different project :)), could any one help please?

Similar Threads
Thread Thread Starter Forum Replies Last Post
send parameters from asp page to an asp.net form hastikeyvan ASP.NET 1.0 and 1.1 Basics 2 March 29th, 2008 01:32 AM
help with framesets x_ray HTML Code Clinic 1 December 7th, 2005 08:28 AM
Again help with framesets x_ray Classic ASP Basics 0 November 25th, 2005 03:11 PM
Porting a sa,ple ASP CR viewer app to ASP.NET jhansen42 Crystal Reports 0 August 29th, 2003 10:26 AM

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