PC Review


Reply
Thread Tools Rate Thread

Displaying a web page on a web page.

 
 
Mufasa
Guest
Posts: n/a
 
      21st Aug 2008
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.


 
Reply With Quote
 
 
 
 
Göran Andersson
Guest
Posts: n/a
 
      22nd Aug 2008
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
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Dynamic Controls and Displaying Page by Page on the form =?Utf-8?B?QmlsIE11aA==?= Microsoft VC .NET 8 10th Feb 2008 10:27 AM
Create Dynamic Controls and Displaying Page by Page on the form =?Utf-8?B?QmlsIE11aA==?= Microsoft Dot NET 8 10th Feb 2008 10:27 AM
aspx page not displaying until move moved on page agricfowl@googlemail.com Microsoft ASP .NET 2 27th Nov 2006 07:50 PM
Displaying a aspx page within a page BoltonWolf Microsoft ASP .NET 7 24th Feb 2005 10:26 PM
Displaying First and Last Record Per Page in Page Header Abe Microsoft Access Reports 1 24th Aug 2003 06:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:53 PM.