Table of Contents

Class Modal

Namespace
InSite.Common.Web.UI
Assembly
InSite.UI.dll
public class Modal : Control, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor
Inheritance
Modal
Implements
Inherited Members

Constructors

Modal()

public Modal()

Properties

Centered

public bool Centered { get; set; }

Property Value

bool

ContentTemplate

[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(Modal.ContentControl))]
[TemplateInstance(TemplateInstance.Single)]
public ITemplate ContentTemplate { get; set; }

Property Value

ITemplate

CssClass

public string CssClass { get; set; }

Property Value

string

EnableAnimation

public bool EnableAnimation { get; set; }

Property Value

bool

EnableCloseButton

public bool EnableCloseButton { get; set; }

Property Value

bool

EnableStaticBackdrop

public bool EnableStaticBackdrop { get; set; }

Property Value

bool

EnalbeCloseOnEscape

public bool EnalbeCloseOnEscape { get; set; }

Property Value

bool

FooterTemplate

[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(Modal.ContentControl))]
[TemplateInstance(TemplateInstance.Single)]
public ITemplate FooterTemplate { get; set; }

Property Value

ITemplate

Fullscreen

public ModalFullscreen Fullscreen { get; set; }

Property Value

ModalFullscreen

HeaderTemplate

[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(Modal.ContentControl))]
[TemplateInstance(TemplateInstance.Single)]
public ITemplate HeaderTemplate { get; set; }

Property Value

ITemplate

MinHeight

public Unit MinHeight { get; set; }

Property Value

Unit

Scrollable

public bool Scrollable { get; set; }

Property Value

bool

Size

public ModalSize Size { get; set; }

Property Value

ModalSize

Title

public string Title { get; set; }

Property Value

string

VisibleOnLoad

public bool VisibleOnLoad { get; set; }

Property Value

bool

Width

public Unit Width { get; set; }

Property Value

Unit

Methods

CreateChildControls()

protected override void CreateChildControls()

DataBind()

public override void DataBind()

OnInit(EventArgs)

protected override void OnInit(EventArgs e)

Parameters

e EventArgs

OnPreRender(EventArgs)

protected override void OnPreRender(EventArgs e)

Parameters

e EventArgs

RenderControl(HtmlTextWriter)

public override void RenderControl(HtmlTextWriter writer)

Parameters

writer HtmlTextWriter