This is a migrated thread and some comments may be shown as answers.

DatePicker inside a TabStrip (Ajax?)

2 Answers 64 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jon Russell
Top achievements
Rank 1
Jon Russell asked on 09 Dec 2010, 12:03 PM
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;
        }

2 Answers, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 1
answered on 03 May 2011, 04:07 AM
Jon, 
Did you ever find a resolution to this?
Steve
0
krish
Top achievements
Rank 1
answered on 30 Aug 2011, 11:41 PM
Hi ,

Have you got any solution for this.

Regards,
kris
Tags
Date/Time Pickers
Asked by
Jon Russell
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 1
krish
Top achievements
Rank 1
Share this question
or