This question is locked. New answers and comments are not allowed.
I have a Telerik TabStrip which is (of course) loading partial views via Ajax. Inside one of these partial views is a Telerik DatePicker. I've read the article on loading using the 'updatePlaceholder' script when loading PartialVIews via Ajax, and I have adapted that to work on the 'OnLoad' client event of the TabStrip. Still no working DatePicker, however!
It renders, but no events are attached so the cakendar does not drop down etc. etc. What am I not getting?? This is the curent version of 'updatePlaceHolder' function I am using;
function updatePlaceholder(context) {
var html;
var placeholder;
if (context.currentTarget != undefined) {
placeholder = context.currentTarget;
html = $(placeholder).html();
}
else {
html = context.get_data();
placeholder = context.get_updateTarget();
}
$(placeholder).html(html);
return false;
}
It renders, but no events are attached so the cakendar does not drop down etc. etc. What am I not getting?? This is the curent version of 'updatePlaceHolder' function I am using;
function updatePlaceholder(context) {
var html;
var placeholder;
if (context.currentTarget != undefined) {
placeholder = context.currentTarget;
html = $(placeholder).html();
}
else {
html = context.get_data();
placeholder = context.get_updateTarget();
}
$(placeholder).html(html);
return false;
}