LoadHtml Method (WebControl)
Loads given HTML.
It is more like setting document.body.outerHTML instead of a real load. It doesn't show up in navigation history either. So it is treated much more like "modifying the current document" rather than loading a new document.
Syntax
Parameters
- html
- Html to load.
- baseAddress
- Base address. The baseUrl can be used to convert partial path into the full path. For example, the HTML may contain partial path such as 'img src="logo.gif"'. In that case, the browser engine would not be able to construct the full path of the image unless the baseUrl is provided.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also