473,406 Members | 2,390 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

IFRAME containing ASP.NET Site within a Classic ASP Page

Hi.

I've built an ASP.NET web application which exists as it's own URL. Another
site which was created in classic ASP, and exists as it's own URL, has an
IFRAME containing my site.

I'm experiencing a problem with the height of the IFRAME when the ASP.NET
site redirects to another page. If the ASP.NET site is displaying
Default.aspx, the IFRAME height is 500. But if the user clicks a link from
Default.aspx and navigates to Products.aspx, the IFRAME remains 500 height
instead of resizing to fit the appropriate dimensions of Products.aspx.

Basically the IFRAME is retaining it's original height from the Default
page, regardless of the actual size of subsequent pages.

Could someone recommend how I fix this?

Thanks!
Jul 30 '07 #1
1 2014
On Jul 30, 11:02 am, Mike <M...@discussions.microsoft.comwrote:
Hi.

I've built an ASP.NET web application which exists as it's own URL. Another
site which was created in classic ASP, and exists as it's own URL, has an
IFRAME containing my site.

I'm experiencing a problem with the height of the IFRAME when the ASP.NET
site redirects to another page. If the ASP.NET site is displaying
Default.aspx, the IFRAME height is 500. But if the user clicks a link from
Default.aspx and navigates to Products.aspx, the IFRAME remains 500 height
instead of resizing to fit the appropriate dimensions of Products.aspx.

Basically the IFRAME is retaining it's original height from the Default
page, regardless of the actual size of subsequent pages.

Could someone recommend how I fix this?
You don't. An IFrame has a specific height. It's not going to
resize, as it doesn't know the contents.

It's like changing the height of your browser window. If it's too
small, you get a scroll bar.
Jul 30 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: foldface | last post by:
Hi Completely ignore the non-standard nature of the noddy example below. I want to capture a mouse click in a frame from outside that frame. Everything I read online seems to indicate its...
3
by: Alexandre Jaquet | last post by:
Hi I wanna know how can I reload an iframe does I've to move my iframe into another form an do a submit or may I can do it by another way rigth now I'm been doing : my form name is mainform...
4
by: christine.nguyen | last post by:
Hello, Here's the deal. I have an html page that contains an iframe. This iframe has an id that is unknown to me. This iframe also has test.html as it's source. Within test.html runs some...
2
by: nightstar | last post by:
I am creating a web page that will contain multiple Iframes. One of the Iframes will contain a bill of sale that is generated by a script on x.mydomain.com/somefile.php?someparameters. One of the...
11
by: Fred | last post by:
I have an aspx page: Main.aspx which has several components that cause a postback. In the page Main.aspx I also have an iframe which contains a multi-page pdf file. The problem I am facing is...
5
by: Grzesiek | last post by:
Hi! I have created page which contains some menu buttons and <iframe> with sub-page. Each menu action on the master web site should change content of iframe (by changing src attribute). But how to...
3
by: Angel | last post by:
How do I get the reference of the IFrame from the asp.net webpage that is being displayed within that IFrame? In other words I have an IFrame in my page. Within that IFrame Set the source to a...
0
by: Brent.Lakatos | last post by:
ASP.NET 2.0 Question: I have a simple IFrame User Control that I wrote: HTML: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="IFrameControl.ascx.cs" Inherits="IFrameControl" %> ...
2
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi. I've built an asp.net website, which is displayed within an IFRAME of a classic asp site. The asp.net site consists simply of one page having a paginated gridview control. When my asp.net...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.