Version

DialogModel Class Properties

For a list of all members of this type, see DialogModel members.

Public Properties
 NameDescription
Public PropertyClientEventsSet implementations of client events raised by a widget.

Event handler assumes 2 parameters: 1st parameter has name "evt" and 2nd parameter has name "ui". To get information about member variables available for "ui" parameter, please consult documentation of a widget and its events.

Examples:

1. Full implementation:

new Dictionary<string, string> { { "dropDownOpening", "function(evt,ui){alert('drop:'+ui.owner);}" } }

2. Content of inline function:

new Dictionary<string, string> { { "dropDownOpening", "alert('drop:'+ui.owner);" } }

3. Name of global function:

new Dictionary<string, string> { { "dropDownOpening", "nameOfGlobalFunction" } } Note:

Instead of explicit key-strings, which represent name of event exposed by a widget, the event-constants defined by a particular control can be used.

Example:

new Dictionary<string, string> { { ComboClientEvents.DropDownOpening, "nameOfGlobalFunction" } } (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Public PropertyCloseAnimationSets animation applied to dialog when it is closed.

That can be any value supported by jquery hide(param) method.

 
Public PropertyCloseButtonTitleSets title for close button in header of dialog.  
Public PropertyCloseOnEscapeSets ability to close dialog when it has focus and Esc key was pressed.  
Public PropertyContainerSets jquery selector for html element, which will be used as container for dialog.

Dialog will be locked in bounds of that container. That includes not only dragging/resizing, but also maximized state.

 
Public PropertyContentHTMLSets the HTML which is used as content for the dialog.

Notes:

1. The content of dialog is built by $("<div id=" + ID + ">" + value + "</div>").

2. That property has priority over possible ContentID and ContentJquerySelector. 3. The single quote character is not supported within html. The double quote should be used instead.

 
Public PropertyContentIDSets the ID of html element which is used as content for the dialog.

Notes:

1. The content of dialog is built by $("#" + value).

2. That property has priority over ContentJquerySelector.

3. The ContentHTML has priority over that property.

4. The ID property is not used.

 
Public PropertyContentJquerySelectorSets the jquery selector which is used as content for the dialog.

Notes:

1. The content of dialog is built by $(value).

2. The ContentHTML and ContentID have priority over that property. 3. The ID property is not used.

 
Public PropertyDialogClassSets name of css class which is applied to the main DIV element of dialog.  
Public PropertyDraggableSets ability to change location of dialog by mouse drag over header.  
Public PropertyEnableDblclickSets ability to change state of dialog by dblclick on header. Dialog will be maximized if its state was normal, or dialog state will be set to normal if it was maximized, or dialog state will be set to normal if it was minimized. Default value is null which is equivalent to the "auto" flag.  
Public PropertyEnableHeaderFocusSets ability to adjust state of header depending on focused and not-focused states.

Note: the TrackFocus should be enabled.

 
Public PropertyFooterTextSets text which appears in footer of dialog.  
Public PropertyHeaderTextSets text which appears in header of dialog.  
Public PropertyHeightSets initial height of dialog.

Number and valid html size-units can be used.

 
Public PropertyHtmlAttributesSets custom attributes for main html element used by control

Dictionary of attributes passed to TagBuilder.MergeAttributes(value).

 
Public PropertyIDSets the ID of the dialog.

Note: that property has no effect if ContentJquerySelector or ContentID is set.

 
Public PropertyImageClassSets name of css class which is applied to the SPAN element located on the left side of header.  
Public PropertyLanguageGets/sets Language the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyLocaleGets/sets the Locale of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyMaxHeightSets maximum height of dialog in pixels.  
Public PropertyMaximizeButtonTitleSets title for maximize button in header of dialog.  
Public PropertyMaxWidthSets maximum width of dialog in pixels.  
Public PropertyMinHeightSets minimum height of dialog in pixels.  
Public PropertyMinimizeButtonTitleSets title for minimize button in header of dialog.  
Public PropertyMinWidthSets minimum width of dialog in pixels.  
Public PropertyModalSets modal functionality of dialog.  
Public PropertyOpenAnimationSets animation applied to dialog when it is opened.

That can be any value supported by jquery show(param) method.

 
Public PropertyPinButtonTitleSets title for pin button in header of dialog.  
Public PropertyPinnedSets pinned state of dialog.  
Public PropertyPinOnMinimizedSets ability to automatically pin dialog, when it was minimized.  
Public PropertyPositionSets javascript statement which defines initial position of dialog. That can be value supported by jquery.position or it can be "[x, y]", where numeric x and y reresent left and top corners of dialog.  
Public PropertyRegionalGets/sets the Regional of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel)
Public PropertyResizableSets ability to resize dialog by mouse drag over edges of dialog.  
Public PropertyRestoreButtonTitleSets title for restore button in header of dialog.  
Public PropertyShowCloseButtonSets visibility of close button in header of dialog.  
Public PropertyShowFooterSets visibility of footer.  
Public PropertyShowHeaderSets visibility of header.  
Public PropertyShowMaximizeButtonSets visibility of maximized button in header of dialog.  
Public PropertyShowMinimizeButtonSets visibility of minimized button in header of dialog.  
Public PropertyShowPinButtonSets visibility of pin button in header of dialog.  
Public PropertyStateSets state of dialog.  
Public PropertyTabIndexSets tabIndex attribute to dialog.  
Public PropertyTemporaryUrlSets temporary value for src, which is used while changing parent of base element if it is instance of IFRAME. That is allows to get around possible javascript exceptions under IE. That property has effect only when ContentID or ContentJquerySelector or ContentHTML point to IFRAME.  
Public PropertyTrackFocusSets ability to process focus and blur events of child elements located in dialog in order to maintain focused state.  
Public PropertyUnpinButtonTitleSets title for unpin button in header of dialog.  
Public PropertyWidthSets initial width of dialog.

Number and valid html size-units can be used.

 
Public PropertyZIndexSets zIndex attribute to dialog.  
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub