Hi,
I have the following script rendering in my aspx:
The alert showing server id fires, nothing else happens after using the auto-populate, while the same event works when I configure the event-handler in combobox's properties.
My problem is none of the subscriptions works, so is there a way to attach an event-handler function for OnClientItemsRequested in JS?
Thx in advance,
Branimir Giurov
I have the following script rendering in my aspx:
Sys.Application.add_load(
function
() {
var
target = $find(
'{0}'
);
alert(target.get_id());
//finds it
$addHandler(target,
"OnClientItemsRequested"
,
function
(sender, e) { alert(
'OnClientItemsRequested'
); });
$addHandler(target,
"onclientItemsRequested"
,
function
(sender, e) { alert(
'onclientItemsRequested'
); });
$addHandler(target,
"clientItemsRequested"
,
function
(sender, e) { alert(
'clientItemsRequested'
); });
$addHandler(target,
"clientitemsrequested"
,
function
(sender, e) { alert(
'clientitemsrequested'
); });
$addHandler(target,
"onclientitemsrequested"
,
function
(sender, e) { alert(
'onclientitemsrequested'
); });
//none fires
});
The alert showing server id fires, nothing else happens after using the auto-populate, while the same event works when I configure the event-handler in combobox's properties.
My problem is none of the subscriptions works, so is there a way to attach an event-handler function for OnClientItemsRequested in JS?
Thx in advance,
Branimir Giurov