Opening radmenu by mouse over an image

5 posts, 0 answers
  1. Frank Penn
    Frank Penn avatar
    2 posts
    Member since:
    Apr 2010

    Posted 28 Aug 2010 Link to this post

    We would like to see if it's possible to open radmenu by mouse over an image already existing on the page.

    Here is an example. We have an image on the page, say it's "News.JPG". When user mouse-over this image, we'd like to open a radmenu to the right of the image that contains multiple items like "CNN", "MSNBC", "FoxNews", etc.

    During my research, I found out that I have to make the New.JPG as the root radmenu item. Unfortunately, I am not able to do that. The image must stay as an image by itself, not being part of the radmenu at all.

    So is this possible?

    Thanks!

    Penn
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 30 Aug 2010 Link to this post

    Hello Penn,

    Attach the OnMouseOver client method to image and use any of the options listed in the documentation to open the window.
    Opening Windows

    And the documentation shows how to position the window.
    Showing and Positioning



    -Shinu.
  3. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 30 Aug 2010 Link to this post

    Hi Frank,

    Please, also take a look at this demo for Popup menu and the RadContextMenu help article.

    Feel free to ask me if you have further questions.

    Regards,
    Veronica Milcheva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  4. HL
    HL avatar
    55 posts
    Member since:
    Dec 2009

    Posted 25 Oct 2010 Link to this post

    Is it possible to use treeview instead of menu?what I need to do :  when user mouse over or click the image, the treeview will pop up -- just like pop up menu in demo. If not, what is the other suggestion ? -- put treeview inside the menu?

    Thanks
    Helena
     
  5. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 03 Nov 2010 Link to this post

    Hello HL,

    Please accept my apologies for the late reply.

    You are not able to popup RadTreeView instead of RadMenu when image is clicked.

    Could you please tell me the reason why you need to use RadTreeView instead of RadMenu. Both controls support hierarchy of items(nodes) and have similar structure.

    Kind regards,
    Veronica Milcheva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top