[]
        
(Showing Draft Content)

C1.Web.Mvc.Popup

Popup Class

The class that shows an element as a popup.

Inheritance
Popup
Implements
Namespace: C1.Web.Mvc
Assembly: C1.Web.Mvc.dll
Syntax
public class Popup : Control, IHtmlString, ITemplate

Constructors

Name Description
Popup(HtmlHelper, string)

Creates one Popup instance.

Properties

Name Description
Content

Gets or sets the popup content.

ContentFunc

Gets or sets the function which returns the popup content.

DialogResultSubmit

Gets or sets a string to be used as a dialogResult when the dialog is hosted by a form element and the user submits the form.

FadeIn

Gets or sets a value that determines whether popups should be shown using a fade-in animation.

FadeOut

Gets or sets a value that determines whether popups should be hidden using a fade-out animation.

HideTrigger

Gets or sets the actions that hide the Popup.

IsDraggable

Gets or sets a value that determines whether the popup can be dragged with the mouse by its header.

IsResizable

Gets or sets a value that determines whether the popup can be resized by dragging its edges with the mouse.

Modal

Gets or sets a value that determines whether the Popup should be displayed as a modal dialog.

OnClientDragged

Gets or sets the client function which occurs after the Popup has been dragged.

OnClientDragging

Gets or sets the client function which occurs when the Popup is about to be dragged.

OnClientHidden

Gets or sets the client function which occurs after the Popup has been hidden.

OnClientHiding

Gets or sets the client function which occurs before the Popup is hiding.

OnClientPositionChanged

Gets or sets the client function which occurs while the user moves the Popup, between the Dragging and Dragged events, after the PositionChanging event.

OnClientPositionChanging

Gets or sets the client function which occurs while the user moves the Popup, between the Dragging and Dragged events.

OnClientResized

Gets or sets the client function which occurs after the Popup has been resized.

OnClientResizing

Gets or sets the client function which occurs when the Popup is about to be resized.

OnClientShowing

Gets or sets the client function which occurs before the Popup is showing.

OnClientShown

Gets or sets the client function which occurs after the Popup has been shown.

OnClientSizeChanged

Gets or sets the client function which occurs while the user resizes the Popup, between the resizing and resized events, after the SizeChanging event.

OnClientSizeChanging

Gets or sets the client function which occurs while the user resizes the Popup, between the resizing and resized events.

Owner

Gets or sets the selector string to determine the element that own this popup.

Position

Gets or sets a value that determines where the popup should be displayed with respect to the owner element.

RemoveOnHide

Gets or sets a value that determines whether the Popup element should be removed from the DOM when the Popup is hidden, as opposed to being hidden.

ShowTrigger

Gets or sets the actions that show the Popup.

Methods

Name Description
RenderContent(HtmlTextWriter)

Renders content of control.

Extension Methods