Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

IFRAME containing ASP.NET Site within a Classic ASP Page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 30 Jul 2007 16:02 GMT
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!
Larry Bud - 30 Jul 2007 16:09 GMT
> Hi.
>
[quoted text clipped - 12 lines]
>
> 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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.