Loading html file into panel

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jack-b@humlog.com

    Loading html file into panel

    Hi,

    I'm wanting to load a html file into a panel (?) control because I want
    to keep my page header on the aspx page.

    First, is this the right approach to take? Second, how do I accomplish
    this?

    Cheers,
    Jack

  • Steve C. Orr [MVP, MCSD]

    #2
    Re: Loading html file into panel

    Each web page can only have one HTML page, so a Panel is not suitable.

    But you can nest an HTML page within another by using IFrames:


    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    HALOJP adalah situs slot online resmi terpercaya yang tawarkan akses gampang maxwin. Cukup depo 10k, nikmati ribuan game gacor dengan sistem aman dan pembayaran lancar.




    <jack-b@humlog.com> wrote in message
    news:1115766453 .543259.66510@f 14g2000cwb.goog legroups.com...[color=blue]
    > Hi,
    >
    > I'm wanting to load a html file into a panel (?) control because I want
    > to keep my page header on the aspx page.
    >
    > First, is this the right approach to take? Second, how do I accomplish
    > this?
    >
    > Cheers,
    > Jack
    >[/color]


    Comment

    • Ryan Ternier

      #3
      Re: Loading html file into panel

      Steve C. Orr [MVP, MCSD] wrote:[color=blue]
      > Each web page can only have one HTML page, so a Panel is not suitable.
      >
      > But you can nest an HTML page within another by using IFrames:
      > http://www.dotnet2themax.com/ShowCon...4-e565c8eab013
      >[/color]

      I remember reading you could load an entire website into a String, and
      throw it out... I'll have to look it up again, but this might joggle
      someone's memory.


      Basically it loads the rendered version of the website up, stores the
      source in a string, and allows you to throw it out.


      Couldn't you use an includes tag inside the pannel?

      Comment

      • jack-b@humlog.com

        #4
        Re: Loading html file into panel

        Loading the rendered text into a literal control or something?

        Comment

        Working...