Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Did you know that ASP.NET AJAX include these shorthand notations for commonly used commands ?
$
get( 'YourControlName')
Shortcut to Sys.UI.DomElement.getElementById - gets a reference to the DOM element, same as document.getElementById
$find(
)
Shortcut to Sys.Application.findComponent
$create( )
Shortcut to Sys.Application.Component.create
$addHandler(FormElement, EventName, HandlerMethod )
Shortcut to Sys.UI.DomEvent.addHandler
$clearHandlers(FormElement )
Shortcut to Sys.UI.DomEvent.clearHandlers
$removeHandler(FormElement )
Shortcut to Sys.UI.DomEvent.removeHandler
Comments
- Anonymous
August 16, 2007
PingBack from http://msdnrss.thecoderblogs.com/2007/08/16/aspnet-ajax-shorthand-syntax/