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

Watermark visible until the text is empty

5 Answers 269 Views
WatermarkTextBox
This is a migrated thread and some comments may be shown as answers.
Joël
Top achievements
Rank 2
Joël asked on 05 Apr 2012, 09:46 AM
How can I do to let the watermark visible until the user does not enter text?

Currently, the watermark disappears once the control has focus. I like to leave the watermark, even if the control has focus, as the text is null or empty.

5 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 10 Apr 2012, 08:16 AM
Hello Laurent,

I wasn't able to reproduce the problem. I am attaching a simple project. Can you, please check it out and let me know if we are doing something different? It would be great if you can send a simple project, screenshot or a video so it would be easier to reproduce the issue.

Regards,
Georgi
the Telerik team

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

0
Joël
Top achievements
Rank 2
answered on 11 Apr 2012, 08:45 AM
I think it was misunderstood, I do not speak the text of RadWatermark, but the WatermarkContent.
0
Georgi
Telerik team
answered on 12 Apr 2012, 11:11 AM
Hi Laurent,

I am sorry for the misunderstanding.
Currently this behavior is not implemented, but we are planing to do so.
Here you can find the feature request, you can vote and track its progress.

Kind regards,
Georgi
the Telerik team

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

0
senthil
Top achievements
Rank 1
answered on 05 Feb 2017, 08:05 AM
I am also having the same problem.  is this problem solved?. if so can you give me the details to solved the issue
0
Georgi
Telerik team
answered on 06 Feb 2017, 09:54 AM
Hello senthil,

We have introduced the new property WatermarkBehavior in the 2012 Q3 SP release and seems like you need the "HideOnTextEntered" option. All values of this enum property are:
  • HiddenWhenFocused
  • HideOnClick
  • HideOnTextEntered

It would be great if you can give it a try and let us know if this works for you. Also if you have any questions or concerns, please don't hesitate to write us.

Regards,
Georgi
Telerik by Progress
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.
Tags
WatermarkTextBox
Asked by
Joël
Top achievements
Rank 2
Answers by
Georgi
Telerik team
Joël
Top achievements
Rank 2
senthil
Top achievements
Rank 1
Share this question
or