ASP.NET 3.5 and above only

Obout.Ajax.UI Controls - HTML Editor - Client side

Obout.Ajax.UI.HTMLEditor.Popups.CheckBoxProperties class

 Inheritance Hierarchy

It is a client-side representation of the server-side Obout.Ajax.UI.HTMLEditor.Popups.CheckBoxProperties class.
With the popup of this type user can insert/edit the 'checkbox' input DOM element.

Note Note
To get property values for client API properties, you must call property accessor method that is named with the get_ prefix. For example, to get a value for a property such as id, you call the get_id method:
var _id = popupObject.get_id();

Properties

Name Description
propertyadditionalCss string. Gets comma separated paths of additional CSS files for this popup. (Inherited from Popup.)
propertyattached boolean. Gets a value indicating whether the popup is 'attached' to a button called this popup. (Inherited from Popup.)
Always false.
propertyautoClose boolean. Gets a value indicating whether the popup is closed on click outside it. (Inherited from Popup.)
Always false.
propertyautoDimensions boolean. Gets a value indicating whether the size of the popup is determining automatically. (Inherited from Popup.)
Always true.
propertycssPath string. Gets the main style file path. (Inherited from Popup.)
propertydesignPanel object. Gets the DesignPanel object if the popup is used in context of EditPanel and in Design mode, otherwise - null. (Inherited from Popup.)
propertyeditPanel object. Gets the EditPanel object if the popup is used in context of EditPanel, otherwise - null. (Inherited from Popup.)
propertyelement string. Gets the DOM element that the current Control instance is associated with. (Inherited from Sys.UI.Control.)
propertydefaultHeight number. Gets the height (px) of the input element used when a new element is inserted. (Inherited from InputProperties.)
Default -1 (default element's height).
propertydefaultValue string. Gets the value of the input element used when a new element is inserted. (Inherited from InputProperties.)
If a value of this property is not empty then 'Checked' field will be checked for a new inserted element.
propertydefaultWidth number. Gets the width (px) of the input element used when a new element is inserted. (Inherited from InputProperties.)
Default -1 (default element's width).
propertyid string. Gets the identifier for the current Control object. The default is the id value of the associated Sys.UI.DomElement object. (Inherited from Sys.UI.Control.)
propertyinitialContent string. Gets the popup's HTML content. (Inherited from Popup.)
propertyinputType string. Gets the type of the input element. (Inherited from InputProperties.)
Here always "checkbox".
propertypopupHolder object. Gets the associated Popup Holder object. (Inherited from Popup.)
propertyposition object. Gets or sets the coordinates of the popup position. (Inherited from Popup.)
The position object has the following fields:
  • left - left position in pixels;
  • top - top position in pixels.

Example:

var position = popup.get_position();
// move it 100px to right down
popup.set_position({ left: (position.left + 100), top: (position.top + 100) });

Methods

Name Description
propertygetDocument() Gets the document element of the popup's iframe. (Inherited from Popup.)
propertymoveToCenter() Moves the popup to the center of the visible area of the document. (Inherited from Popup.)

Events

Name Description
propertybeforeHidden Raised before the popup is hidden. (Inherited from Popup.)
Event's argument has type Sys.EventArgs.Empty.
propertybeforeShown Raised before the popup is shown. (Inherited from Popup.)
Event's argument has type Sys.EventArgs.Empty.
propertyhidden Raised after the popup is hidden. (Inherited from Popup.)
Event's argument has type Sys.EventArgs.Empty.
propertyshown Raised after the popup is shown. (Inherited from Popup.)
Event's argument has type Sys.EventArgs.Empty.

"Works like a charm! Not only did you give an excellent response to our problem, but your suggested solution also gave us a couple of other interesting tips! Thanks a lot!"

Asbjørn Kvalheim
Sense Data

Random testimonial   All testimonials