ASP.NET AJAX Shorthand Syntax

Did you know that ASP.NET AJAX include these shorthand notations for commonly used commands ?


Shortcut to Sys.UI.DomElement.getElementById - gets a reference to the DOM element, same as document.getElementById


Shortcut to Sys.Application.findComponent


Shortcut to Sys.Application.Component.create

$addHandler(FormElement, EventName, HandlerMethod) 

Shortcut to Sys.UI.DomEvent.addHandler


Shortcut to Sys.UI.DomEvent.clearHandlers


Shortcut to Sys.UI.DomEvent.removeHandler

Skip to main content