ImageGear for .NET
contextMenu Event
See Also  Send comments on this topic.
ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > ThumbnailView Class : contextMenu Event

Glossary Item Box

Indicates the user activated the context menu.

Syntax

ASP.NET Ajax Javascript (Specification) 
function add_contextMenu(handler : Function)
function remove_contextMenu(handler : Function)
ASP.NET Ajax Javascript (Usage) 
.add_contextMenu(handler);
.remove_contextMenu(handler);

Remarks

The viewer will raise this event whenever the user activates the context menu by pressing and releasing the right mouse button while the cursor is over any part of the viewer (except the scrollbars).

On some browsers (Internet Explorer 8), a user can also cause the viewer to raise this event by pressing the context menu button on the keyboard.

The event argument be an instance of the MouseEventArgs object, containing information useful specifically for image viewing operations, as well as the original ASP.NET client framework event.

See Also

©2013. Accusoft Corporation. All Rights Reserved.