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

We recently upgraded our WSS 3.0 site to SharePoint Foundation 2010. Following the upgrade we've noticed that the date picker control does not align correctly on some of the old WSS 3.0 sites as shown in the picture below:

Misaligned Date Picker Control

It's odd, because some of the old WSS 3.0 sites and any new SharePoint Foundation 2010 site renders the control correctly as shown in this picture:

Correct Alignment for Date Picker Control

Can anyone tell me why some of the sites are not rendering this control in the correct location?

Can anyone tell me how I can correct this problem?

share|improve this question

My first guess is that you have some kind of customizations on the sites with the misaligned control. Check for custom CSS or JavaScripts loaded on those sites. An easy way to do it is to open up Internet Explorer Developer toolbar and inspect the HTML element and then check where the element inherits its CSS styles from. Compare a correctly aligned element with an misaligned.

share|improve this answer
I checked the CSS for these pages and the only differences are in colors and images. I don't see any positional directives that are different between in the CSS between the two pages. Any other ideas? – pmartin Sep 6 '11 at 14:53

I think that the javascript for datepicker is customized. Please check in the newform.apsx whether there is a customized javascript for datepicker (OOB js file is datepicker.js). If there is customized javascript just search for a function called clickDatePickerHelper and comment it. This should solve the problem

share|improve this answer
Thanks for the input but your suggestion doesn't seem to fit. I can't find any customized javascript (only reference is to datepicker.js) and I also can't find any references to "clickDatePickerHelper". Any other suggestions? – pmartin Nov 14 '11 at 14:53

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.