I create a rad combo as part of a composit control and it populates normally however when I try to assign eventhandlers client side, it appears the client side events are never raised. I can see the before and after event handlers in the debugger (see below) and they do get assigned. But, when I click on the radCombo and select an item neither of these event handlers executes. What am I missing or what more can I test to find the issue? Thanks!
// the control definition
MyControlNS.MyControl = function(element) {
MyControlNS.MyControl.initializeBase(this, [element]);
Sys.Application.add_load(Function.createDelegate(this, MyControlNS.MyControl.onLoaded));
}
// the onLoaded handler
MyControlNS.MyControl.onLoaded = function() {
debugger;
$find(this._myControlRadComboClientID).OnClientSelectedIndexChanged = this._tempItemChanged;
$find(this._myControlRadComboClientID).OnClientDropDownOpening = function() { alert("hello world"); };
}
// the control definition
MyControlNS.MyControl = function(element) {
MyControlNS.MyControl.initializeBase(this, [element]);
Sys.Application.add_load(Function.createDelegate(this, MyControlNS.MyControl.onLoaded));
}
// the onLoaded handler
MyControlNS.MyControl.onLoaded = function() {
debugger;
$find(this._myControlRadComboClientID).OnClientSelectedIndexChanged = this._tempItemChanged;
$find(this._myControlRadComboClientID).OnClientDropDownOpening = function() { alert("hello world"); };
}