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.


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.

  • 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. Aug 28 '13 at 11:11
  • It will disable all calendar icon. What if not to hide a particular one?
    – Saikat
    Jan 19 '16 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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