After loading the HTML content of a Kendo().Window() from the server, I'd like to call a JavaScript function to set up event handlers for DOM elements in the content. I don't see an event definition for the completion of LoadContentFrom(). What's the best way to go about doing this?
Thanks,
--Ravi
2 Answers, 1 is accepted
0
Accepted
Alex Gyoshev
Telerik team
answered on 13 Aug 2012, 07:23 AM
Hello Ravi,
Use the refresh client-side event:
.Events(ev => ev.Refresh("onRefresh"))
function onRefresh() {
// event handling code
}
Regards,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!