Click here to Skip to main content
15,888,325 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Friends !!!

How to display items in Dropdownlist on MouseOver.

Need Help


Thanks.
Posted
Comments
Niral Soni 8-Jul-12 5:45am    
Go for a menu.. not possible with the html SELECT tag

Refer the below CodeProject article to resolve your problem. ToolTipListBox - a list box with tool tips[^]
 
Share this answer
 
AFAIK, this is not possible with dropdown in ASP.NET. You cannot open/expand the dropdown on mouseover.

A related detailed discussion here: Opening dropdownlist on OnFocus event?[^]

If you really want such behaviour, try with textbox and div below it on mouseover.
 
Share this answer
 
Try the code below just add this java script to the drop down/select

but be careful with this because it may rise u any UI related issues.



<asp:dropdownlist id="ddlPostClaim" runat="server" onmouseover="this.size=5" onmouseout="this.size=1">
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900