views:

62

answers:

1

Hi, how can I set the selected value of a Sharepoint DateTimeControl to null? When you first load it into a page, there's no value selected (even if the returned value is not properly null but one can check it with IsDateEmpty). How can i programmatically set it back to the initial, empty value?

Thanks

+1  A: 

Found it.

myDateTimeControl.ClearSelection();
pistacchio