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

Masked Input - DateTime

2 Answers 55 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Bhavesh
Top achievements
Rank 1
Bhavesh asked on 08 Aug 2011, 07:25 PM
In a screen's add mode, I woiuld like the MakedDateTimeInput control to start displaying an empty text box.  Setting the text property to empty string or null doesnt' work.  Is there a way to get this behavior with the MaskedDateTimeInput control?

2 Answers, 1 is accepted

Sort by
0
Bhavesh
Top achievements
Rank 1
answered on 10 Aug 2011, 09:14 PM
I was able to resolve/work around this by setting the fallback value to null.
0
Petar Mladenov
Telerik team
answered on 11 Aug 2011, 12:33 PM
Hello Bhavesh,

 You can also bind the Value of the MaskedDateTimeInput to a Nullable DateTime property ( DateTime?) and set this property to null. Let us know if this satisfies you.

Regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Bhavesh
Top achievements
Rank 1
Answers by
Bhavesh
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or