Watermark visible until the text is empty

6 posts, 0 answers
  1. Joël
    Joël avatar
    32 posts
    Member since:
    Sep 2011

    Posted 05 Apr 2012 Link to this post

    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.
  2. Georgi
    Admin
    Georgi avatar
    359 posts

    Posted 10 Apr 2012 Link to this post

    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 >>

  3. Joël
    Joël avatar
    32 posts
    Member since:
    Sep 2011

    Posted 11 Apr 2012 Link to this post

    I think it was misunderstood, I do not speak the text of RadWatermark, but the WatermarkContent.
  4. Georgi
    Admin
    Georgi avatar
    359 posts

    Posted 12 Apr 2012 Link to this post

    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 >>

  5. senthil
    senthil avatar
    2 posts
    Member since:
    Nov 2016

    Posted 05 Feb in reply to Georgi Link to this post

    I am also having the same problem.  is this problem solved?. if so can you give me the details to solved the issue
  6. Georgi
    Admin
    Georgi avatar
    359 posts

    Posted 06 Feb Link to this post

    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.
Back to Top