SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

Just include the datepicker.js file explicitly on the page

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

Your Answer


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.