Displaying a web page on a web page.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mufasa

    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.


  • Patrice

    #2
    Re: Displaying a web page on a web page.

    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.com a écrit dans le message de groupe de discussion :
    u04s8U9AJHA.936 @TK2MSFTNGP03.p hx.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.
    >
    >

    Comment

    • =?ISO-8859-1?Q?G=F6ran_Andersson?=

      #3
      Re: Displaying a web page on a web page.

      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
      _____
      Göran Anderssons privata hemsida.

      Comment

      Working...