ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI_namespace > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.MouseEvent : preventDefault Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function preventDefault() : String; |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfMouseEvent.preventDefault(); |
This is similar to the standard DOM action, preventDefault(). It is primarily used to prevent the viewer from showing its default context menu so you can show your own.
ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.MouseEvent
MouseEvent Members