I've got a custom page layout in SP 2010 that will need an ASP.NET calendar control for editors to select a date. Then we want to show the selected date (or a default date if none selected) to the end users (not the calendar control).

The Article Date field won't work because we need editors to be able to select a date. How do you accomplish this? Thanks.

1 Answer 1



Would this do?

A better explanation of how it works: http://karinebosch.wordpress.com/sharepoint-controls/datetimecontrol-control/

  • Thanks, Natan. If someone doesn't have edit permissions to the page, I'd like just the date to display as a label, not as a control. Is this possible?
    – Alex C
    Aug 3, 2011 at 10:50
  • I think the answer is here: doseofdotnet.wordpress.com/2010/08/06/… I want the content of the DateTimeControl to display for readers and for authors to display the control itself. Now to see how to implement this...
    – Alex C
    Aug 3, 2011 at 11:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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