This is a migrated thread and some comments may be shown as answers.

DateTimePicker - bring up both date and time pick at the same time.

3 Answers 19 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jeff Bradshaw
Top achievements
Rank 1
Jeff Bradshaw asked on 07 Sep 2011, 03:50 PM
First let me appologize that this is in the general discussion because I couldn't find one specific to the DateTimePicker.

Is there a way to have the DateTimePicker put up both a calendar and a time at the same time? I have a javascript one that will let you do both at the same time but it has issues.

TIA - Jeff.

3 Answers, 1 is accepted

Sort by
0
Steve
Top achievements
Rank 2
Veteran
answered on 09 Sep 2011, 11:25 PM
What are the issues, are you able to paste the code and perhaps attach a JING of it?
0
Jeff Bradshaw
Top achievements
Rank 1
answered on 10 Sep 2011, 12:20 AM
The code is pretty long. (I'm assuming your talking about the Javascript I'm using.)

So is there a way to configure the DateTimePicker so it can have both the calendar and time at the same time?

TIA - Jeff.
0
Maria Ilieva
Telerik team
answered on 12 Sep 2011, 12:28 PM
Hi Jeff,

You could cancel the OnPopUpShowing event of the TimeView for example when the Calendar is opened. You could use the set_cancel()  of the EventArgs for the mentioned event to  prevent the popup from closing. I would suggest you to review the following help topic for more information on this matter.

All the best, Maria Ilieva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Jeff Bradshaw
Top achievements
Rank 1
Answers by
Steve
Top achievements
Rank 2
Veteran
Jeff Bradshaw
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or