ContextMenu for RadBinaryImage

3 posts, 1 answers
  1. Max
    Max avatar
    34 posts
    Member since:
    Dec 2011

    Posted 28 Feb 2012 Link to this post

    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. Max
    Max avatar
    34 posts
    Member since:
    Dec 2011

    Posted 29 Feb 2012 Link to this post

    bump
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Tsvetina
    Admin
    Tsvetina avatar
    1876 posts

    Posted 01 Mar 2012 Link to this post

    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.
Back to Top