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

Is it possible to hide the calendar icon in the control DateTimeControl.

I have tried to set Calendar to none, but it still shows the icon.

share|improve this question
up vote 3 down vote accepted

Personally, I prefer not to deal with server side code in this king of cases.

You could do it easily embedding the following piece of code on the page for SharePoint 2010 (requires jQuery)

<script language="javascript">

The same way could be easily used for different kings of presentation related customizations.

share|improve this answer
i got this error while trying your solutions. " 'style' is null or not an object" – Tan Aug 28 '13 at 10:00
Please, try to use this. I updated the answer. – Sergey Prosin Aug 28 '13 at 11:11
Thanks it works now – Tan Aug 28 '13 at 12:14
It will disable all calendar icon. What if not to hide a particular one? – Saikat Jan 19 at 14:55

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.