|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Loading html file into panelHi,
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 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/ShowContent.aspx?ID=903bcdde-589f-4bd1-92b4-e565c8eab013 Show quoteHide quote news:1115766453.543259.66510@f14g2000cwb.googlegroups.com... > 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] wrote:
> Each web page can only have one HTML page, so a Panel is not suitable. I remember reading you could load an entire website into a String, and > > But you can nest an HTML page within another by using IFrames: > http://www.dotnet2themax.com/ShowContent.aspx?ID=903bcdde-589f-4bd1-92b4-e565c8eab013 > 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?
Why don't child control events trigger OnBubbleEvent?
Datalist - Image loads on localhost but not on server Valid values for properties About CreateChildControls() Distributing OWC11 Datagrid Hyperlink Doubt Looking for an Autocomplete DropDownList looking for tab control / tabstrip in VS 2005 beta2 Multiple Label tags with same ID Validation on dynamic fields |
|||||||||||||||||||||||