473,320 Members | 1,965 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,320 software developers and data experts.

Displaying a web page on a web page.

I have a web page with an iframe in it. I need to dynamically set the iframe
to be a web page. This worked in 1.1 but doesn't appear to be working in
2.0.

Is there a better way to do this? I want to have a 'preview' of a web
page/local html file for the user.

Any thoughts?

TIA - Jeff.
Aug 21 '08 #1
2 807
Is the generated HTML code correct ? If yes, this is more likely a browser
issue.At some point referencing local content from a page web page was
disabled for safety reasons.

You'll have to alter the browser configuration (or perhaps add the site to a
particular zone ?) to allow this...

--
Patrice

"Mufasa" <jb@nowhere.coma écrit dans le message de groupe de discussion :
u0*************@TK2MSFTNGP03.phx.gbl...
I have a web page with an iframe in it. I need to dynamically set the
iframe to be a web page. This worked in 1.1 but doesn't appear to be
working in 2.0.

Is there a better way to do this? I want to have a 'preview' of a web
page/local html file for the user.

Any thoughts?

TIA - Jeff.

Aug 22 '08 #2
Mufasa wrote:
I have a web page with an iframe in it. I need to dynamically set the iframe
to be a web page. This worked in 1.1 but doesn't appear to be working in
2.0.
As this is done in the browser, it doesn't really have anything to do
with ASP.NET, as it's done using client script. So, there is no reason
why that would not work in framework 2.0. The browser is still the same.

If you have written code that depends on the exact way that framework
1.1 generates client side IDs from the server side IDs, it may very well
fail to work in framework 2.0. You should use the ClientID property of
the control to get the generated client side ID, as the way to generate
the ID can change at any time.
Is there a better way to do this? I want to have a 'preview' of a web
page/local html file for the user.

Any thoughts?

TIA - Jeff.

--
Göran Andersson
_____
http://www.guffa.com
Aug 22 '08 #3

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

Similar topics

2
by: Paul M | last post by:
Hi there, i hope someone can help me out here.. I have a input screen where i want the user to enter text in 2 different languages, english and macedonian. How is it possible to make the...
14
by: Rahul Chatterjee | last post by:
Hello All I have an asp page in which I am performing the following 1. Querying a database view 2. Returning rows in to a recordset. 3. Looping thru the recordset and printing the data 4....
5
by: Mystery | last post by:
Can anyone point me to a script that will allow me to list x number of records per page and give me a page selector and information like the one in the subject header? Thanks.
2
by: Carole MacDonald | last post by:
There have been lots of posts on this topic, but I haven't been able to apply any of the suggestions to my situation. I have an .aspx page with a form on it that has several submit buttons on...
5
by: Tomaz Koritnik | last post by:
Hi I have many short HTML files stored in a binary stream storage to display descriptions for various items in application. HTML would be display inside application using some .NET control or...
2
by: RAJ | last post by:
In our multi-tier application, we have several ASP.NET user controls which will update the same data source provided by middle tier logic. In this particular scenario we have one user control...
4
by: Jason Chan | last post by:
How can I get the month and year a calendar control current displaying? My problem is I want to load a list of event to a calendar so that it display difference style if there a event for a day....
1
by: David Lozzi | last post by:
Hello, I'm wondering whats the best method to use for displaying several photos' thumbnails. One method I know is to dynamically resize the photo at the time the page is loaded. What does this...
4
by: amit34349 | last post by:
Hello , I have an issue in displaying the Cyrillic Characters in HTML page for e.g - i want to display a cyrillic Character string ...
7
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.