Skip to main content
Version: 4.1

HtmlPanel

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents a control that displays any HTML file and a corresponding CSS style sheet as embedded HTML.

public class HtmlPanel : Control

Unless the AllowNavigation property is set to true, clicking a link will not navigate the browser. Instead, the control raises the ElementClick event. This is the default behavior.

Constructors

Instance member HtmlPanel()

Initializes a new instance of the HtmlPanel class.

Properties

Instance member AllowNavigation

Boolean: Returns or sets whether clicking on a link in the Html panel can navigate to the URL specified in the link. (Default: False)

Instance member BorderStyle

BorderStyle: Indicates the border style for the control. (Default: None)

Instance member Css

String: Returns or sets the CSS rules to apply to the html content. (Default: "")

Instance member Html

String: Returns or sets the HTML text to display in the HtmlPanel control. (Default: "")

Instance member HtmlSource

String: Returns or sets the html file name to display in the HtmlPanel control. (Default: "")

Instance member ScrollBars

ScrollBars: Returns or sets the type of scroll bars to display for the HtmlPanel control. (Default: Both)

Instance member StyleSheetSource

String: Returns or sets the css file name to apply to the html text in HtmlPanel control. (Default: "")

Methods

Protected member OnWebEvent(e)

Processes the event from the client.

ParameterTypeDescription
eWisejEventArgsEvent arguments.

Protected member OnWebRender(config)

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Events

Instance member ElementClick

HtmlPanelElementClickHandler Fired when the user clicks on any element inside the html panel.

Instance member HtmlChanged

EventHandler Fired when the Html property is changed.

Instance member HtmlSourceChanged

EventHandler Fired when the HtmlSource property is changed.

Implements

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.