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?

  • 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
    Commented Jul 15, 2011 at 14:15

1 Answer 1


Just include the datepicker.js file explicitly on the page

 <script type="text/javascript" src="/_layouts/datepicker.js"></script>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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