This is a migrated thread and some comments may be shown as answers.

ContextMenu for RadBinaryImage

2 Answers 62 Views
BinaryImage
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 1
Max asked on 28 Feb 2012, 08:43 AM
Hello Telerikians,
 I was wondering if the easiest way of showing ContextMenu over RadBinaryImage is old-fashioned handling of right-click event in js mousedown/up.
Work problem is to pass the ID of a clicked image to code behind upon selection of a menuItem. Sketch up the main idea if you would, please!

regards

2 Answers, 1 is accepted

Sort by
0
Max
Top achievements
Rank 1
answered on 29 Feb 2012, 08:07 AM
bump
0
Accepted
Tsvetina
Telerik team
answered on 01 Mar 2012, 04:11 PM
Hello Max,

You can try using the RadContextMenu's ContextMenuControlTarget or ContextMenuTagNameTarget property to point to the RadBinaryImage on your page. Check out the following online demo for a similar example with a regular image:
http://demos.telerik.com/aspnet-ajax/menu/examples/contextmenu/default/defaultcs.aspx

Greetings,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
BinaryImage
Asked by
Max
Top achievements
Rank 1
Answers by
Max
Top achievements
Rank 1
Tsvetina
Telerik team
Share this question
or