What are the asp:DropDownList client side events?
Are you talking about ASP app? This app produces HTML code so you have all HTML events available, which for the select
tag (select
is a HTML tag for dropdown lists) are the following:
onchange
onclick
ondblclick
onmousedown
onmouseup
onmouseover
onmousemove
onmouseout
onkeypress
onkeydown
onkeyup
onfocus
onblur
You can assign the onchange client-side event to a DropDownList control programmatically:
DropDownListID.Attributes["onchange"] = "javaScriptFunction();";
Give a look to this article: