watermark will get disable when i start typing

4 posts, 0 answers
  1. Rahul
    Rahul avatar
    4 posts
    Member since:
    Jul 2012

    Posted 10 Jul 2012 Link to this post


    Is there any way to disable the watermark when we start typing,
    Right now its disabling when the control gets the focus...
  2. Todor
    Todor avatar
    168 posts

    Posted 10 Jul 2012 Link to this post

    Hi Rahul,

    The TextBox focus state is the text-editing mode by convention and that is why when you set focus on the control or start typing the watermark content is gone. Of course, if you want to edit its states you can open your project with Microsoft Expression Blend and edit the control template from there by following these steps:
    • select the RadWaterMarkTextBox and right-click on it
    • select 'Edit Template' and then choose 'Edit a Copy'
    Now you can see and edit all control visual states.

    Here you can find more details on RadWaterMarkTextBox.

    Kind regards,
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft R3 2016 release webinar banner
  4. Nick
    Nick avatar
    1 posts
    Member since:
    Sep 2012

    Posted 28 Sep 2012 Link to this post


    I'll see if I can follow your advice to Rahul but his comment does make some sense. We have a login form with two fields and a button, these are the user name and password. The problem is that the username field gets the focus by default so the user might not realise what should be typed. Arguably we should just go back to using labels but I kind of like the watermark text field.

  5. Boyan
    Boyan avatar
    758 posts

    Posted 03 Oct 2012 Link to this post

    Hello Nick,

    We have included this behavior in our plans and most probably it will be included in the SP after Q3.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top