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

RadMaskedDateTimeInput in GridViewCell

5 Answers 123 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Stephan
Top achievements
Rank 1
Stephan asked on 12 Mar 2012, 05:11 PM

Hi guys,

how can I use the RadmaskedDateTimeInput scheme inside a Gridview Cell ?
I tried building my GridViewDataColum with

 

DataFormatString

 

 

="{} {0:dd.MM.yyyy}"
but there I have to type the periods, too.

I'd like to have the same behaviour as in the edit field.
I only want to type the numbers, as in:

 

telerik

 

 

:RadMaskedDateTimeInput Mask="dd.MM.yyyy"

best regards
Torsten

 

5 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 14 Mar 2012, 03:38 PM
Hello,

 I have tested the DateTime formatting using the suggest format.On my end the same formatting was applied in both the cases. I have tested using the latest binaries.

If you can still get the problem, would you please let me know how exactly your column and the RadMaskedDateTimeInput  are defined?

Greetings,
Didie
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Stephan
Top achievements
Rank 1
answered on 15 Mar 2012, 08:41 AM
Hi Didie,

here's my problem. Please watch the three pictures I attached.
- step 1: I click into the cell to edit
- step 2: I enter a new value by typing "day day month month year year year year"
- step 3: I press enter. My date is not accepted.

By using a "RadMaskedDateTimeInput" edit field it is possible.
So how can I achieve the same in grid cells ?

best regards
Torsten

0
Dimitrina
Telerik team
answered on 15 Mar 2012, 04:28 PM
Hi,

 Indeed you are right. This is a known issue. Please follow this forum thread for further information.

Kind regards,
Didie
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Stephan
Top achievements
Rank 1
answered on 16 Mar 2012, 09:22 AM
Hi Didie,
can you expect when it will be fixed ?
best regards
Torsten
0
Dimitrina
Telerik team
answered on 16 Mar 2012, 10:25 AM
Hello Torsten,

So far - no. What I can recommend you is to use a RadDateTimePicker instead. That way you will not have this problem using it.

Regards,
Didie
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
GridView
Asked by
Stephan
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Stephan
Top achievements
Rank 1
Share this question
or