ASP.NET 3.5 and above only

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

Obout.Ajax.UI.HTMLEditor.ActiveModeChangedArgs class

 Inheritance Hierarchy

Argument of this type is passed to the handlers of the activeModeChanged and beforeActiveModeChanged events.
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 newMode, you call the get_newMode method:
function editModeChanged(sender, args) {
   if (args.get_newMode() == Obout.Ajax.UI.HTMLEditor.ActiveModeType.Design) {
       alert("'Design' mode is switched on");
   }
}

Properties

Name Description
propertyoldMode ActiveModeType. Gets the type of the previous edit mode.
propertynewMode ActiveModeType. Gets the type of the edit mode is changed to.

"Your editor is excellent! It feels robust, the styles work, everything works! Really nice to find good software - and software that really works as shown!"

David Sheardown

Random testimonial   All testimonials