ASP.NET Topics include: System.Web classes, Web Forms and Web Controls.

Enjoy an ad free experience by logging in. Not a member yet? Register.
Go Back  Xtreme .NET Talk > .NET > ASP.NET > Iframe URL not loading in chrome and safari

Thread Tools Display Modes
Old 04-10-2012, 07:53 AM
gopal_nivas gopal_nivas is offline
Join Date: Apr 2012
Posts: 4
gopal_nivas is on a distinguished road
Default Iframe URL not loading in chrome and safari


in iframe the url not loading in chrome and safari browsers.

how to handle this..

is it any other alternate for iframe in order to load URL tat should support all browsers.
it is working only in IE.

need ur suggetsions..

my page is like below:

<head runat="server">
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<form id="form1" runat="server">
<iframe id="ifrmEBOOK" runat="server" width="100%" height="700px"></iframe>

Reply With Quote
Old 04-11-2012, 08:53 PM
dotnetguy37 dotnetguy37 is offline
Join Date: Nov 2009
Posts: 29
dotnetguy37 is on a distinguished road
Default Re: Iframe URL not loading in chrome

There was someone named "gopal krish" that asked a similar question
(with somewhat similar html code) in an EggHead Cafe page.
You can read the answer he got here.

Don't know about Safari, but Chrome is a little funny about iframes.

If you read here you'll find:
...If you're using frames or iframes, specify the encoding at the top of the source of those frames, as well. Some browsers (including Google Chrome) won't recognize encoding declarations that appear deep in a document (such as after CSS or script in your document's head section)....Also make sure that your web server is not sending conflicting HTTP headers. Headers sent by the web server will override any charset declarations in your page.
..a small code snippet showing "Example of good encoding placement" follows the above quoted text on the linked-to page..

As regards to debugging for Safari you have not shown any CSS code that may be tied to:

So all I could do is offer a few tentative links (1, 2) to explore..
I myself have fallen prey to this little javascript generated iframe onLoad "gotcha".

Last edited by dotnetguy37; 04-11-2012 at 09:08 PM.
Reply With Quote



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slideshow Extender Not Working in Chrome nate ASP.NET 0 02-22-2012 05:10 PM
IFrame Tamer_Ahmed ASP.NET 1 07-22-2004 03:57 PM
Safari Online Library Archive (nothing to do with Mac web browser) Denaes Random Thoughts 2 03-09-2004 04:35 PM


Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..