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...");

Properties

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];
previewPanelObject.add_activated(activatedHandler);
...
previewPanelObject.remove_activated(activatedHandler);

Events

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

"Quality of products and support you guys provide is matchless. I’m very pleased with the service you guys provide and I want you to know that I’ll make sure all my programmer friends will know about your first-class company. "

Ion Despoiu
CB Mills, Division of Chicago Boiler

Random testimonial   All testimonials