CPK_2011 CPK_2011 - 1 year ago 175
ASP.NET (C#) Question

Telerik RadDateTimePicker to display Time along with Date in Date control

I have the following code

<telerik:RadDateTimePicker ID="dtpDate" runat="server" EnableTyping="false"></telerik:RadDateTimePicker>

Date is coming properly but time is not visible in the date control. How to resolve this?

Answer Source
<telerik:RadDateTimePicker ID="dtpDate" runat="server" EnableTyping="false">
<TimeView Interval="00:15:00"></TimeView>

You can try adding the TimeView tag within the RadDateTimePicker and that should give you the time part.

More explanations can be found in here.

Update: To see the time part in the input textbox, you can specify the date time format string in the mark up, e.g.

DateInput-DateFormat="dd/mm/yyyy hh:mm:ss"
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download