IFramePanel
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Represents a control that displays any HTML file in an IFrame element.
- C#
- VB.NET
public class IFramePanel : Control
Public Class IFramePanel
Inherits Control
Constructors
IFramePanel()
Initializes a new instance of IFramePanel.
Properties
Allow
String: Allows the IFrame to access certain local features when using a cross-origin source. Valid values for allow include: geolocation, microphone, camera, midi, encrypted-media. See deprecating-permissions-in-cross-origin-iframes for more information on the syntax and values to use in this attribute. (Default: null)
BorderStyle
BorderStyle: Indicates the border style for the control. (Default: None)
ScrollBars
Boolean: Returns or sets whether the control shows the scrollbars when needed. (Default: True)
Url
String: Returns or sets the source Url of the IFrame. (Default: "")
Methods
OnDocumentCompleted(e)
Fires the DocumentCompleted event.
| Parameter | Type | Description |
|---|---|---|
| e | EventArgs | A EventArgs that contains the event data. |
OnUrlChanged(e)
Fires the UrlChanged event.
| Parameter | Type | Description |
|---|---|---|
| e | EventArgs | A EventArgs that contains the event data. |
OnWebEvent(e)
Processes the event from the client.
| Parameter | Type | Description |
|---|---|---|
| e | WisejEventArgs | Event arguments. |
OnWebRender(config)
Renders the client component.
| Parameter | Type | Description |
|---|---|---|
| config | Object | Dynamic configuration object. |
OnWebUpdate(state)
Updates the client component using the state information.
| Parameter | Type | Description |
|---|---|---|
| state | Object | Dynamic state object. |
Reload()
Reloads the contents of the IFrame.
Events
DocumentCompleted
EventHandler Fired when the IFrame has finished loading the document.
UrlChanged
EventHandler Fired when the Url property is changed.
Inherited By
| Name | Description |
|---|---|
| AspNetPanel | Represents a control that can host ASP.NET or MVC pages within a Wisej application. |
Implements
| Name | Description |
|---|---|
| IUserData | Provides access to the UserData and Tag properties associated to the component implementing this interface. |
| IBindableComponent | Bindable components implement this interface. |
| IDropTarget | Controls that support drag & drop operations implement this interface. |
| IWisejComponent | All wisej components implement this interface. |
| IWisejControl | All wisej controls derived from the Control class must implement this interface. |
| IWisejSerializable | Allows an object to serialize itself. |