HtmlBox
From Visual WebGui Wiki
| This article will have a few sections added to it soon, based on the following article type skeleton: NewControlTemplate |
| This article missing it's contents and needs writing. Please help contributing to this wiki and add contents. |
Contents |
Overview
Using the HtmlBox control is the way to display content that is not Visual WebGui oriented in Visual WebGui applications.
- You can provide a URL to the HtmlBox control to have it load it's contents from a specific deployed website or application. This can be done using the "Url" property of the control.
- You can provide the HtmlBox an HTML markup to render using the "Html" property of this control.
- You can also provide the HtmlBox a registration of a Visual WebGui Gateway that will dynamically load contents into the control based on custom logic. This can be done using the "Resource" property of the control.
Availability
The HtmlBox is one of the Out of the Box standard controls, which means it is free and available in all Visual WebGui versions.
Samples of use
- URL as file within application (EndsWith)
- Using DHTML presentation show Silverlight within HTMLbox in a dialog form
- Asynchronous loading of contents of long-running loads of HtmlBox
- Printing the contents of one HtmlBox only
- Invoking JavaScript method inside the Html of a HtmlBox
See also
- Callback to Server-Side - Custom Client Events
- JavaScript
- AspPageBox CodeSample - Communicate with hosting Visual WebGui application from a WebForm within an AspPageBox
Rererences
Code samples
- Displaying VWG forms, ASP.Net pages and resources from a Class Library or a diffrent assembly
Dynamically loading content into an HtmlBox using a Gateway
Forum discussons
- HTMLbox and Visual WebGui app interoperability
- Raising an event to Visual WebGui application from within the Html of an HtmlBox
- Loading ASPX page from a library project - Part 1
- Loading ASPX page from a library project - Part 2
- JavaScript in HTMLbox
- Resize HtmlBox runtime by using SplitContainer and/or splitter
- Show an image from your application from within the HTML in your HtmlBox
- Creating a Print Preview form
- Printing just the contents of an HtmlBox by calling window.print on just the HtmlBox's IFRAME
- HtmlBox and caching
- Using IsWindowless to activate scrollbars on HtmlBox
- Using inline CSS to adjust HtmlBox properties
- Syntax Highlighting Xml within an HtmlBox
- Custom control HtmlBox with JavaScript and Html resource embedded in the skin and used on the control
- HtmlBox with contained Html firing events to the hosting Visual WebGui HtmlBox
- Download that doesn't start immediately as processing will take place first - notifying the user
- HtmlBox scrolling to the bottom, manually and automatically
- Playing Sound using HtmlBox (invoking JavaScript within the loaded HtmlBox's contents)
Other references
