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.

"I wanted to say this is probably the best set of tools I have ever worked with, but the fact that you guys answer questions is phenomenal. I recommend your stuff to every developer I talk to. "

Karl Wilkens
Multiweb Communications, Inc.

Random testimonial   All testimonials