IFramePanel

Wisej.Web.IFramePanel

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents a control that displays any HTML file in an IFrame element.

public class IFramePanel : 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

A EventArgs that contains the event data.

OnUrlChanged(e)

Fires the UrlChanged event.

Parameter
Type
Description

e

A EventArgs that contains the event data.

OnWebEvent(e)

Processes the event from the client.

Parameter
Type
Description

e

Event arguments.

OnWebRender(config)

Renders the client component.

Parameter
Type
Description

config

Dynamic configuration object.

OnWebUpdate(state)

Updates the client component using the state information.

Parameter
Type
Description

state

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

Represents a control that can host ASP.NET or MVC pages within a Wisej application.

Implements

Name
Description

Provides access to the UserData and Tag properties associated to the component implementing this interface.

Bindable components implement this interface.

Controls that support drag & drop operations implement this interface.

All wisej components implement this interface.

All wisej controls derived from the Control class must implement this interface.

Allows an object to serialize itself.

Last updated

Was this helpful?