I have a scenario where I need to hook into the OnChange of a combobox via id after the initial load.
Without using ClientEvents, how do I hook into the change event?
1 Answer, 1 is accepted
0
Accepted
Georgi Krustev
Telerik team
answered on 07 Jan 2011, 06:07 PM
Hello Terry Burns-Dyson,
You can wire change event in Load event handler like this:
.ClientEvents(events => events.OnLoad(() => {
%>
function(e) {
$(this).bind('valueChange', function(e) {
alert(e.value);
});
}
<%
}))
Regards,
Georgi Krustev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items