Sharepoint DateTimeControl: set it to null
how can I set the selected value of a Sharepoint DateTimeControl to null? When you first load it into a pag开发者_C百科e, 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
Found it.
myDateTimeControl.ClearSelection();
精彩评论