Solved

<select runat="server"

Posted on 2006-07-18
2
264 Views
Last Modified: 2006-11-18
ASP.NET C#
I am trying to set the "Hover" or "onmouseover" (I am not sure which one applies) property on my <select> html object. I want to get rid off that ugly blue color, which highlights the list item when you click on the dropdown.
0
Comment
Question by:JoeUS
2 Comments
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 200 total points
ID: 17133620
I believe that the property is onChange.

Bob
0
 
LVL 24

Accepted Solution

by:
Justin_W earned 300 total points
ID: 17134638
The "Events" list on the following page shows all of the client-side events for the select object:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtml_reference_entry.asp

Depending on whether you are trying to change the color, or simply "de-select" the control after it's selection changes, you might use something like:
    <select onchange="this.blur();" ...
or you might need to use a combination of onmouse* and onkey* handlers.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now