ImageGear for .NET
preventDefault Method
See Also  Send comments on this topic.
ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > MouseEventArgs Class : preventDefault Method

Glossary Item Box

Prevents the viewer from performing its default action with the event.

Syntax

ASP.NET Ajax Javascript (Specification) 
function preventDefault() : String;
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfMouseEventArgs.preventDefault();

Return Value

A human-readable representation of the object.

Remarks

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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.