ASP.NET 3.5 and above only

Obout.Ajax.UI Controls - Spell Checker - Client side

Obout.Ajax.UI.SpellChecker.MoveToTargetArgs class

 Inheritance Hierarchy

Argument of this type is passed to the handlers of the moveToTarget event.
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 toElement, you call the get_toElement method:
function moveToTargetHandler(sender, args) {
    // make sure that the DOM element is in a view
    args.get_toElement().scrollIntoView();
    // move the popup to the screen center (visible area)
    sender.get_relatedPopup().moveToCenter();
}

Properties

Name Description
propertyfromElement object. Gets the DOM element that was being checked before or null if the spell checking has been just started.
propertytoElement object. Gets the DOM element of the target, the spell checker moved to.

"Very impressed and happy. Obout controls make my life so much easier."

Wayne Croghan
Merlin Process Software Ltd.

Random testimonial   All testimonials