Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I placed the SharePoint date picker control inside an update panel and when I click on the calendar it gives me this error:

Microsoft JScript runtime error: The value of the property 'clickDatePicker' is null or undefined, not a Function object

The control works outside the update panel without any issues. How do I make it work inside the panel?

share|improve this question
    
Welcome to SharePoint.SE! You have a great question here, but I made some slight improvements based on our guidelines. You can also read How to Ask for more general guidelines. –  Kit Menke Jul 15 '11 at 14:15
add comment

1 Answer

Just include the datepicker.js file explicitly on the page

 <script type="text/javascript" src="/_layouts/datepicker.js"></script>
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.