[How Do I:] Use the ASP.NET AJAX HoverMenu Extender?

Please install Silverlight or click download to watch video locally.

Discover how to use the HoverMenu extender control to create a context-sensitive menu that appears whenever the user hovers the mouse over an element of a web page.

Presented by Joe Stagner

Duration: 7 minutes, 41 seconds

Date: 31 January 2007

Watch    Video   |   Download    Video   |   VB Code    C# Code

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 19

Leave a Comment

Shobhit.Madhuni : On April 03, 2008 8:33 AM said:

Hi,

I have used a Hover menu control on one of the columns of the data grid .Also i have used a web method to get the data dynamically filled in the pop up which appear while hovering over the data grid column.

Problem:

When i view the grid with 100 - 125 rows it works absolutely fantastic but if i view the grid with the data for more than 200 odd rows , it pop the message "a script on the page is causing the Internet Explorer to run slowly"

and if u click no it works fine and if u click no , ie crashes.

I have also tried to edit registry entry for updating the no of rows to maximun value to increase the time out for IE.

Please help me in this issue .

Thanks In advance

anil.rayapudi@pbsystems.com : On May 15, 2008 2:06 AM said:

Dear Joe can u give example on how to use Hover menu extender dynamically for the tooltip purpose on a grid.

violent : On June 11, 2008 3:43 AM said:

Hi, Joe.

I can't click link button in Hover menu control. Help me.

Thanks.

mary154458 : On August 04, 2008 1:45 PM said:

I am trying to use the hover menu extender on a gridview control.  I am able to make the entire grid change colors when the user hovers over it, but I am not able to limit it to one row on the grid.  I see your comment in the instructions that the hover menu extender is applied to each row individually on the gridview control.  How do you do this?

ABooth : On August 06, 2008 1:26 PM said:

This seems to behave, very much like a Microsoft tool. It has a context value passed "DynamicContextKey", but it only has 1 TargetControlID, so a context sensitive menu only works on 1 object. If you want a different context menu for different objects, you must create separate hover menu controls, or dynamically change the TargetControlID using Javascript, which defeats the purpose of having a toolkit.

For example: Let's say you have a datagrid with different context menus for each cell, providing detailed information about the cells content. For each cell, you need a separate hover menu, because the hover menu only acts against 1 control. If the datagrid becomes that control, you can not provide a unique DynamicContextKey for each cell, without providing your own javascript to change the hover menus DynamicContextKey value on the datagrid OnMouseOver event.

It would be much easier, if you could wire up things more logically, like creating a template field that has HoverMenuID and DynamicContextKey properties, so you can have 1 hover menu, rather than several, dynamically created on the server side.

cv_vikram : On August 06, 2008 1:47 PM said:

Very good video...thanks

Pc_boy_joshua_15 : On September 12, 2008 8:15 PM said:

IT'S THE VIDEO I BEEN LOOKING FOR! THANKS!

Tripitaka : On September 17, 2008 12:03 AM said:

Hi Joe,

Any ideas on how the hover menu can be displayed when the grid is empty? IE no records exist and the grid appears not to exist to allow a hover?

Cheers

Tripitaka : On September 17, 2008 2:21 AM said:

Scrap that - found a relatively easy fix using a link button and a second hovermenu, and hiding/unhiding the link accordingly.

thanks anyways..

ASPLee : On November 20, 2008 2:46 PM said:

I don't see the HoverMenu control within my tools.  Where or How do I get the Hover Menu Control?

tjdarth : On December 07, 2008 3:47 PM said:

Joe, I enjoy this and the many other videos that you have produced and am using some of the technics found in them. I notice however that in some of the code downloads that some of the .jpeg files are missing? It really doesn't seem to matter because the short snippets seem to work. I was curious to find out what purpose some of these missing files held in the total scheme of the specific lesson contest. Missing files might just be an oversight that I can live with.

Thanks . . .

Tom J

djibril_chimere_DIAW : On December 30, 2008 5:24 AM said:

Thanks! Jërëjëf!

jemmeli : On March 31, 2009 11:29 PM said:

can someone tell me how to make this menu take the value of the button from database as menu and sub menu please

jemmeli : On April 03, 2009 6:24 PM said:

please tell me how can i make the PopUp of the first button of the "AjaxControlToolkit.HoverMenuExtender" appear by default without needed to hovering the first button of the menu just like the top menu of the www.nrj.fr site when the page loaded the popup of the first button of the menu appear by default and Thanks

rathsandeepkumar : On April 13, 2009 10:41 AM said:
very late response
laranz : On April 24, 2009 10:32 PM said:

thanks....

hope this will help me a lot! ;)

chandradev1 : On May 09, 2009 6:28 AM said:

it is so usefull video.

Thanks

cyraxz : On August 07, 2009 2:57 AM said:

thank you for helping by many video you made

TSQL : On August 07, 2009 4:43 PM said:

This is a nice control: however,the pop-up menu background color is always transparent. Is there a way to make the backgound solid when the pop-up menu is displayed ? Otherwise, the text behind the pop-up bleeds through.

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities