The online documentation states that we can add client side event handlers using client side code. This works great for the onClientBlur and onClientFocus events. However, I get an error when I try to do the same for the OnClientSelectedIndexChanged event, as well as some of the others. Does the RadComboBox not support "add_<event name> " methods for all client side events? If not, which ones does it support?
Here is what my code looks like:
Thanks,
Doug Rutledge
Here is what my code looks like:
<script> |
function indexChangedHandler() |
{ |
alert("changed"); |
} |
// I'm doing it this way because the application framework is attaching this event |
// undercertain circumstances and I was trying to see if I could add multiple event |
// handlers using this mechanism |
Sys.Application.add_load( |
function () { |
var combo = $find("RadComboBox1"); |
combo.add_onClientSelectedIndexChanged(indexChangedHandler); |
} |
); |
</script> |
</script> |
Thanks,
Doug Rutledge