Displaying a web page on a web page.

M

Mufasa

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.
 
G

Göran Andersson

Mufasa said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top