Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.








Sys.UI.DomEvent button Field

Gets a Sys.UI.MouseButton enumeration value that indicates the button state of the mouse when the related event occurred.


var buttonVal = domEventVar.button;

Return Value

A MouseButton value.


Use the button field to determine which mouse button was pressed when the related event occurred.