Reputation: 13
In telerik:RadDatePicker the Date is By default Current Date but time is by default 12:00:00 AM, 06-11-14 12:00 AM. I want to set current PC date and Time as Default in RadDatePicker
Upvotes: 1
Views: 5590
Reputation: 533
i'm using the following markup:
<telerik:raddatepicker
id="rdpValueDate"
runat="server"
mindate="<%# DateTime.Now.Date %>"
maxdate="01/01/3000">
</telerik:raddatepicker>
Upvotes: 2
Reputation: 3256
In the Page_Load of your code-behind:
myDatePicker.SelectedDate = DateTime.Now;
Upvotes: 3