asp.net dropdown control

  • Thread starter Thread starter venky
  • Start date Start date
V

venky

hi,

i have <asp:dropdownlist> control in my form. I want to write a client
side script when the selected index changed. any code or ideas how to
do it?


venky
 
you should be able to add an .Attribute with an onClick in it, to call the
clientside function
 
Venky:
I think what Curt meant was to add an OnChange attribute, not onclick as per
your request; such as:
myDropDown.Attributes.Add("OnChange", "myClientSideFunction")

Karl
 
Back
Top