Tuesday, September 6, 2011

SharePoint 2010: DateTimeControl styles not rendered

When icon on the calendar control is clicked, styles were not rendered. Here is the solution.

In TEMPLATES/LAYOUTS folder, find iFrame.aspx. This is the file in which Calendar control is rendered.

Within the element, write this line

<link rel="stylesheet" type="text/css"href="/_layouts/1033/styles/datepicker.css"/>