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

Date format

2 Answers 51 Views
WatermarkTextBox
This is a migrated thread and some comments may be shown as answers.
ajin
Top achievements
Rank 1
ajin asked on 23 May 2018, 05:52 AM

Is it possible to restrict WatermarkTextbox to show date content?

I mean I need to display dates here in format 23 May 2018 etc.

Is this possible? If so how?

2 Answers, 1 is accepted

Sort by
0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 25 May 2018, 08:32 AM
Hi ajin,

Thank you for your interest in our RadWatermarkTextBox control.

The control doesn't provide such date time format property which you can use out of the box. What I can suggest you is to format the date before setting it to the control. I have created a sample project to demonstrate this approach.

Hope this project is helpful.

Regards,
Dinko
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
ajin
Top achievements
Rank 1
answered on 25 May 2018, 08:38 AM
Thanks Dinko
Tags
WatermarkTextBox
Asked by
ajin
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
ajin
Top achievements
Rank 1
Share this question
or