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

Adding Mask to RadDatePicker

9 Answers 287 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Wassim Brinsi
Top achievements
Rank 1
Wassim Brinsi asked on 18 Dec 2009, 02:17 PM
Hello,
I've just choosen Telerik for our new silverlight project but still one feature asked by the customer.
We want to add mask to the RadDatePicker "dd/MM/yyyy". 
The customer wants to write 2 numbers for days and the cursor must jump automatically after the "/". Then he enter two numbers for months and the cursor jump again after the second slash (/). and cusmtomer enter the year.
The customer must still be able to shoose from the calender. that's why we have chosen the RadDatePicker.
Is there a Way to Add mask to RadDatePicker with jump mechanism. 
Or should i implement it using key up to add slashes automatically (i tried this solution but i wasnt able to access the text entered by the user, because the raddatepicker convert it automatically to date)
I hope i was enough clear.
Can you advise me or help me issue this.
Thank u 

9 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 19 Dec 2009, 09:40 AM
Hi Wassim Brinsi,

Find the attached project, showing you some possible way to use RadMaskedTextBox and RadDatePicker

Best wishes,
Kaloyan
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
Wassim Brinsi
Top achievements
Rank 1
answered on 21 Dec 2009, 10:39 AM
Hi,
I would like to think you for your quick and consistent reply.
This was very helpfull for me.
still only how to jump automatically between days months and years with insertion of slashs between them without having to use arrows.
 I have to look for its feasability. Otherwise i have to convince the customer to change his habits.

Best Regards
0
Lakshmi Satish
Top achievements
Rank 1
answered on 07 May 2010, 11:03 AM
Hi,
 
I am using the sample that you have provided
But I want to have empty defaultly and then when I press any key then the format should show.

Could you please make this change

Regards
lakshmi
0
Lakshmi Satish
Top achievements
Rank 1
answered on 10 May 2010, 11:40 AM
Hi,
 
I am using the sample that you have provided
But I want to have empty defaultly and then when I press any key then the format should show.

Could you please make this change

Regards
lakshmi
0
Bobi
Telerik team
answered on 12 May 2010, 02:56 PM
Hello Lakshmi Satish,

Thank you for the feedback we will consider your suggestions.
We are aware of the problem connected with DateTime mask and null values. This issue is already added in our to do list and will be fixed as soon as possible.

Best wishes,
Bobi
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.
0
Tim
Top achievements
Rank 1
answered on 31 Oct 2012, 07:36 AM
Are these issues resolved in any of the version of Telerik controls?
0
Vladi
Telerik team
answered on 02 Nov 2012, 12:05 PM
Hello James,

The plans on implementing a input mask into the DatePicker control were canceled because we think the control is better used when having a free input and show a tooltip with the format of the input while typing in the control.

We have developed another control RadMaskedDateTimeInput that could be used if you want to have an input mask. You can read this help article that goes through on how to use RadMaskedDateTimeInput.

All the best,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Tim
Top achievements
Rank 1
answered on 05 Nov 2012, 12:40 PM
Thanks Vladi for giving me the details of the newly introduced control. 

However, I was not able to get the control RadMaskedDateTimeInput in my version of Telerik control. Could you please suggest me which version has this control? And if you could provide me with some sample implementation that would be ideal.
0
Vladi
Telerik team
answered on 07 Nov 2012, 01:30 PM
Hello James,

RadMaskedDateTimeInput should be available in the Q1 2011 0419 release of RadControls.

Kind regards,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
DatePicker
Asked by
Wassim Brinsi
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Wassim Brinsi
Top achievements
Rank 1
Lakshmi Satish
Top achievements
Rank 1
Bobi
Telerik team
Tim
Top achievements
Rank 1
Vladi
Telerik team
Share this question
or