ASP.NET 3.5 and above only

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

Obout.Ajax.UI.HTMLEditor.PreviewPanel class

 Inheritance Hierarchy

Object of this type is an inner part of the Obout.Ajax.UI.HTMLEditor.EditPanel Control.
The associated DOM element of this Control instance becomes visible when the activeMode property of the EditPanel Control is set to Obout.Ajax.UI.HTMLEditor.ActiveModeType.Preview.
Note Note
To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes. For example, to get or set a value for a property such as content, you call the get_content or set_content methods:
var editPanelObject = $find("<%= editPanel1.ClientID %>");
var activePanelObject = editPanelObject.get_activePanel();
var _content = activePanelObject.get_content();
activePanelObject.set_content("Some new content...");


Name Description
propertycontent string. Gets or sets the HTML content.
propertyelement string. Gets the DOM element that the current Control instance is associated with. (Inherited from Sys.UI.Control.)
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.)
Note Note
To add or remove handler functions for client API events, you must call methods that are named with the add_ and remove_ prefixes. For example, to add or remove a handler function for an event such as activated, you call the add_activated or remove_activated methods:
function activatedHandler(sender, args) {
var editPanelObject = $find("<%= editPanel1.ClientID %>");
var previewMode = Obout.Ajax.UI.HTMLEditor.ActiveModeType.Preview;
var previewPanelObject = editPanelObject.get_modePanels()[previewMode];


Name Description
propertyactivated Raised when the associated edit mode activating is completed.
Event's argument has type Sys.EventArgs.Empty.

"Thank you very much for such a great product. We had purchased three of your competitors editor controls with each of them having functional flaws that made it incompatible with our application. Obout's editor is the only one that meets our requirements. Also, your support has been absolutely the best!"

Darren Terrell

Random testimonial   All testimonials