The following tables list the members exposed by DialogModel.
Name | Description | |
---|---|---|
DialogModel Constructor | Create DialogModel |
Name | Description | |
---|---|---|
ClientEvents | Set 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) | |
CloseAnimation | Sets animation applied to dialog when it is closed.
That can be any value supported by jquery hide(param) method. | |
CloseButtonTitle | Sets title for close button in header of dialog. | |
CloseOnEscape | Sets ability to close dialog when it has focus and Esc key was pressed. | |
Container | Sets 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. | |
ContentHTML | Sets the HTML which is used as content for the dialog.
Notes: | |
ContentID | Sets the ID of html element which is used as content for the dialog.
Notes: | |
ContentJquerySelector | Sets the jquery selector which is used as content for the dialog.
Notes: | |
DialogClass | Sets name of css class which is applied to the main DIV element of dialog. | |
Draggable | Sets ability to change location of dialog by mouse drag over header. | |
EnableDblclick | Sets 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. | |
EnableHeaderFocus | Sets ability to adjust state of header depending on focused and not-focused states.
Note: the TrackFocus should be enabled. | |
FooterText | Sets text which appears in footer of dialog. | |
HeaderText | Sets text which appears in header of dialog. | |
Height | Sets initial height of dialog.
Number and valid html size-units can be used. | |
HtmlAttributes | Sets custom attributes for main html element used by control
Dictionary of attributes passed to TagBuilder.MergeAttributes(value). | |
ID | Sets the ID of the dialog.
Note: that property has no effect if ContentJquerySelector or ContentID is set. | |
ImageClass | Sets name of css class which is applied to the SPAN element located on the left side of header. | |
Language | Gets/sets Language the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel) | |
Locale | Gets/sets the Locale of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel) | |
MaxHeight | Sets maximum height of dialog in pixels. | |
MaximizeButtonTitle | Sets title for maximize button in header of dialog. | |
MaxWidth | Sets maximum width of dialog in pixels. | |
MinHeight | Sets minimum height of dialog in pixels. | |
MinimizeButtonTitle | Sets title for minimize button in header of dialog. | |
MinWidth | Sets minimum width of dialog in pixels. | |
Modal | Sets modal functionality of dialog. | |
OpenAnimation | Sets animation applied to dialog when it is opened.
That can be any value supported by jquery show(param) method. | |
PinButtonTitle | Sets title for pin button in header of dialog. | |
Pinned | Sets pinned state of dialog. | |
PinOnMinimized | Sets ability to automatically pin dialog, when it was minimized. | |
Position | Sets 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. | |
Regional | Gets/sets the Regional of the control (Inherited from Infragistics.Web.Mvc.Framework.LocalizationBaseModel) | |
Resizable | Sets ability to resize dialog by mouse drag over edges of dialog. | |
RestoreButtonTitle | Sets title for restore button in header of dialog. | |
ShowCloseButton | Sets visibility of close button in header of dialog. | |
ShowFooter | Sets visibility of footer. | |
ShowHeader | Sets visibility of header. | |
ShowMaximizeButton | Sets visibility of maximized button in header of dialog. | |
ShowMinimizeButton | Sets visibility of minimized button in header of dialog. | |
ShowPinButton | Sets visibility of pin button in header of dialog. | |
State | Sets state of dialog. | |
TabIndex | Sets tabIndex attribute to dialog. | |
TemporaryUrl | Sets 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. | |
TrackFocus | Sets ability to process focus and blur events of child elements located in dialog in order to maintain focused state. | |
UnpinButtonTitle | Sets title for unpin button in header of dialog. | |
Width | Sets initial width of dialog.
Number and valid html size-units can be used. | |
ZIndex | Sets zIndex attribute to dialog. |
Name | Description | |
---|---|---|
Store | Return the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase) |
Name | Description | |
---|---|---|
AddClientEvent | Adds javascript function to process client event of widget. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase) | |
SetLeftTop | Sets initial position of dialog. That is a wrapper for Position("[" + left + "," + top + "]"). | |
ToJson | Serializes the object to JSON. (Inherited from Infragistics.Web.Mvc.ModelBase) |
Name | Description | |
---|---|---|
Camelize | Converts the provided string to camel case. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
EnsureClientEvents | Adds client events to Serializes the internal model store into json. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase) | |
GetBool | Gets the value of a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetChar | Sets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetDateTime | Gets the value of a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetDouble | Gets the value of a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetIEnumerable<T> | Gets the value of an IEnumerable property of the model. If the value is null a new IEnumerable of type T will be created. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetInt | Gets the value of an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetJSLiteral | Sets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetLong | Gets the value of a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetModel<T> | Gets the value of an IModel property of the model. If the value is null a new model of type T will be created. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetString | Gets the value of a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetStringEnum<T> | Gets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetValue<T> | Gets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
GetValueModel<T> | Gets the value of an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromBool | Serializes a bool object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromDateTime | Serializes a DateTime object into json Date object. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromDouble | Serializes a double object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromFloat | Serializes a float object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromIDictionary | Serializes an IDictionary of objects into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromIEnumerable | Serializes an IEnumerable object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromInt | Serializes an int object into json. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromModelStore | Serializes the internal model store into json. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase) | |
JsonFromObject | Serializes an arbitrary object in json using the typed serialization methods. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
JsonFromString | Serializes a string object into json string, escaping all single quotes. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetBool | Sets a value to a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetBrush | (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetCamelizedStringEnum<T> | Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetChar | Gets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetDateTime | Sets a value to a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetDouble | Sets a value to a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetIEnumerable<T> | Sets a value to an IEnumerable property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetInt | Sets a value to an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetJSLiteral | Gets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetLong | Sets a value to a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetModel<T> | Sets a value to an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetString | Sets a value to a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetStringEnum<T> | Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
SetValue<T> | Sets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
TransformData | Transforms the data. (Inherited from Infragistics.Web.Mvc.ModelBase) | |
ValidValueType<T> | Checks type for value of existing property. Returns false as well if non existing property. (Inherited from Infragistics.Web.Mvc.ModelBase) |
View on GitHub