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

Opening radmenu by mouse over an image

4 Answers 99 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Frank Penn
Top achievements
Rank 1
Frank Penn asked on 28 Aug 2010, 03:27 PM
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

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Aug 2010, 11:47 AM
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.
0
Veronica
Telerik team
answered on 30 Aug 2010, 04:36 PM
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
0
HL
Top achievements
Rank 1
answered on 25 Oct 2010, 09:22 PM
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
 
0
Veronica
Telerik team
answered on 03 Nov 2010, 09:46 AM
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
Tags
Menu
Asked by
Frank Penn
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Veronica
Telerik team
HL
Top achievements
Rank 1
Share this question
or