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

DateTimePicker -- arbitrary text entry?

14 Answers 199 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
Fooberichu
Top achievements
Rank 2
Fooberichu asked on 17 Dec 2007, 03:24 PM
It doesn't appear the DateTimePicker allows abitrarily entering text into it, but rather, it only functions as a picker.  Any way that in the future it could include functionality to arbitrarily enter a date?  Reasoning would be that if you are trying to pick a date WAY in the past, there is no easy way to get to it... you have to scroll through the months at maximum 6 at a time (3 before the current month, 3 after) which would take forever. 

Being able to enter arbitrary text as well as having the "quick month" selector let you also quickly select a different year would help solve that problem.  In other words, it should work similar to the ASP.NET RadCalendar (DatePicker mode).

14 Answers, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 17 Dec 2007, 04:43 PM
Hi Fooberichu,

Thank you for writing us.

Did you take a look at our beta release? You can find an updated version of RadDateTimePicker there. It includes not only a picker through the calendar but also using the mask edit box, which was disabled in the first version of the control. 
The RadCalendar's fast scrolling step can be modified through the API. There is also fast navigation available through the months as the one in outlook.

Please try the following:
Click with the mouse on the calendar's header. A popup will appear. You can use it to navigate through the months and years. 

The new version of RadDateTimePicker closely resembles the one of the MS DateTimePicker in its API, features and behavior.
 
Please write me back if you have additional questions or suggestions.

All the best,
Boyko Markov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Fooberichu
Top achievements
Rank 2
answered on 17 Dec 2007, 04:46 PM
I did not look at the beta (futures?, since the whole prometheus suite is in beta still?) yet.  I will have to take a look at that instead, thank you for the prompt reply!
0
Fooberichu
Top achievements
Rank 2
answered on 17 Dec 2007, 04:48 PM
Ooops.. my last reply was totally misguided.  No, I haven't looked at the winForms beta yet at all... I will look at that one. :)
0
Boyko Markov
Telerik team
answered on 18 Dec 2007, 05:02 PM
Let us know how it goes, Jonathan!


Regards,
Boyko Markov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Ajay
Top achievements
Rank 1
answered on 15 Dec 2009, 10:57 AM
Hi
Telerik Team

I have an issue with the RadDateTimePicker , When using mouse scroll / up key /down key on month or days part it changes the date and also fires "ValueChanged" event . But when we do the same on the year part , date will change but the "ValueChanged" will never fire.

Any suggestion or work around for the problem. I am using version "2009.1.9.414" for winforms.

Thanks
Ajay Yadav

0
Boyko Markov
Telerik team
answered on 18 Dec 2009, 08:15 AM
Hello Ajay,

Could you please send us a sample application which will demonstrate the issue? I have tested RadDateTimePicker ValueChanged events by changing the dates using the MouseWheel. However, I was not able to reproduce the issue. I am looking forward to your reply.

Kind regards,
Boyko Markov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Ajay
Top achievements
Rank 1
answered on 18 Dec 2009, 11:15 AM
Hello Boyko Markov ,The Telerik team

I agree with you that the valuechanged event fires . but not when the year part is only selected and you scroll the mouse.
Please find a sample application which will demonstrate the issue.

In the sample application i have a "from Datetime Picker" and a label showing the day of the selected date in this datetime picker.
(Date format is mm/dd/yy)
Steps to reproduce the issue :
1) When you only select the the mm part of(mm/dd/yy) and use mouse scroll it will change and valuechanged event fires which update the label of the day as you can see the day changes.
2)same for the dd part of(mm/dd/yy)
3)select the yy part of(mm/dd/yy). use mouse scroll / up / down arrow to change , you will find that the day label will not change (because valuechanged event stops firing) and then afterwards this will be true for point 1 and 2 also.

I am unable to attached the zip file as it is not supported for upload here.
Please find the solution for the above mention bug and can you provide email address to submit the sample application.
Thanks
Ajay Yadav
0
Boyko Markov
Telerik team
answered on 23 Dec 2009, 03:30 PM
Hello Ajay,

The value is actually changed and the ValueChanged event is fired, but the "mm/dd/yy" pattern describes a "Minutes/Days/Years" string format instead of the "Months/Days/Years"  If you want to set the second format you can use the following:

            picker.Format = DateTimePickerFormat.Custom;
            picker.CustomFormat = "MM/dd/yy";

I hope this helps.

Regards,
Boyko Markov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Ajay
Top achievements
Rank 1
answered on 24 Dec 2009, 04:57 AM
Hello Boyko Markov ,The Telerik team

I am using the same
picker.Format = DateTimePickerFormat.Custom;
picker.CustomFormat = "MM/dd/yy";

but, its was a typo mistake in my previous reply.
If you provide me an email address to submit my demo application , it will help you to analyze the problem.

Thanks
Ajay Yadav

0
Boyko Markov
Telerik team
answered on 25 Dec 2009, 10:11 AM
Hi Ajay,

Please find attached a sample project which demonstrates the behavior of the RadDateTimePicker's ValueChanged event.  I have prepared the demo and tested it with the latest version of our product.

I hope this helps.

Best wishes,
Boyko Markov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Ajay
Top achievements
Rank 1
answered on 25 Dec 2009, 10:35 AM
Hello Boyko Markov ,The Telerik team

Thank you for the sample code. its exactly the same code i want to submitt.
The bug still exits in your sample too. In my one of the previous mail, i mentioned the steps to reproduce the problem.
for the ease i am mentioning it again here as per the sample code provided by you.

for example suppose selected date in datetime picker is 12/25/09.

1) When you only select the the 12  of(12/25/09 i.e 12) and use mouse scroll, it will change the month and valuechanged event fires which shows the popup.
2)same for the 25 part of(12/25/09 i.e 25)and use mouse scroll, it will change the day and valuechanged event fires which shows the popup.
3)select the 09 part of(12/25/09 i.e 09). use mouse scroll / up / down arrow to change , you will find that the year changed but valuechanged event stops firing) and  you will get  no popup .
4)Then afterwards repeating steps 1 and 2 will not fire valuechanged event  and you will not get PopUp.

So, Please tell me why the strange behavior is for point 3 and 4 and how can i solve this or its a bug in your control.

Thank You
Ajay Yadav
0
Martin Vasilev
Telerik team
answered on 29 Dec 2009, 01:29 PM
Hello Ajay,

Thank you for getting back to us.

I confirm the described issue with ValueChanging event in version 2009.1.9.414 (Q1 2009 SP1). However, it has already been addressed and in the latest version Q3 2009 SP1 the event is raised as expected. I recommend you download it and give it a try.  

Best wishes,
Martin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Ajay
Top achievements
Rank 1
answered on 12 Jan 2010, 12:24 PM
Hi,

There is an issue that we are facing regarding the telerik datetimepicker.I have a dateTimePicker with selected date say eg today's date(12/1/2010).now when you open the datetimepicker calender and click on the same date that 12/1/2010 two times the date changes to 1/1/1980.that is a commonly reprodusable bug in every datetimepicker.It comes just by clicking the selected datetimpicker date two time on the calender and the date changes to 1/1/1980.

Any suggestion or work around for the problem. I am using version "2009.1.9.414" for winforms.

Thanks
Ajay Yadav
0
Boyko Markov
Telerik team
answered on 15 Jan 2010, 11:49 AM
Hi Ajay,

Thank you for getting back to us.

This issue is already addressed in Q3 2009 SP1 version of RadControls for Winforms. Please download this version and give it a try.

If  you need more information or assistance, please contact us again.

All the best,
Boyko Markov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Calendar, DateTimePicker, TimePicker and Clock
Asked by
Fooberichu
Top achievements
Rank 2
Answers by
Boyko Markov
Telerik team
Fooberichu
Top achievements
Rank 2
Ajay
Top achievements
Rank 1
Martin Vasilev
Telerik team
Share this question
or