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

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 the video   |   Download the video   |   Get VB code  or  C# code

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

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

Comments : 6

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

Leave a Comment

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

Page view counter
Microsoft Communities