开发者

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();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜