EmptyText for a RadTextBox in Password mode

11 posts, 0 answers
  1. lchesnais
    lchesnais avatar
    39 posts
    Member since:
    Feb 2007

    Posted 03 Oct 2008 Link to this post

    Hello,

    It would be nice to be able to display an empty text in a RadTextBox in password mode.

    In the sample below, I setup a RadTextBox in Password mode (line 4) with an empty message (line 5).
    1 <telerik:RadTextBox  
    2     ID="rtbPassword" 
    3     runat="server" 
    4     TextMode="Password" 
    5     EmptyMessage="Please enter your password" 
    6     Width="200px" 
    7     /> 
    Unfortunately, when the text box is displayed I cannot read the empty message since it is written as a password => I just get a series of black dots.

    Does anybody has an idea to fix this?

    BR, Laurent
  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 03 Oct 2008 Link to this post

    Hi Laurent,

    Actually, EmptyMessage is currently not supported for Password textboxes and should not be displayed at all, we will have to fix this (I have updated your Telerik points for this bug report).

    The current implementation of RadInput does not allow EmptyMessage for password textboxes, because browsers do not allow the type of a password textbox to be changed, so that the message becomes readable. This scenario requires some trickery, e.g. to two textboxes and switch their visibility. We will think about implementing such feature in the future. Thank you for this proposition.

    Kind regards,
    Dimo
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. dstj
    dstj avatar
    82 posts
    Member since:
    Oct 2006

    Posted 20 May 2009 Link to this post

    Hi,

    Using v2009.1.402.35, the behavior is the same as the one stated in this thread. Is there any roadmap set for this feature? Or any recommended alternative?

    Thanks.

    Dominic.
  5. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 21 May 2009 Link to this post

    Hi Dominic,

    I regret to say that we have given up the idea of introducing this functionality, as it is too cumbersome to implement and will have inconsiderable benefit.

    Please use the RadTextBox' Label property to tell the user what the textbox is for.

    Sincerely yours,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. dstj
    dstj avatar
    82 posts
    Member since:
    Oct 2006

    Posted 21 May 2009 Link to this post

    Thank you for the follow-up. I have to somewhat disagree with you though. For example, take a look at the upper right corner of the Facebook home page (remove all cookies first). They do it and the results is a really neat compact "quick login" control.

    I hope you'll change your mind eventually. For the meantime, I'll just change my control layout...

    Dominic.
  7. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 22 May 2009 Link to this post

    Hello Dominic,

    If we implement this functionality, we will do it exactly the same way - use two textboxes and switch their visibility. However, the Facebook password textbox is just a textbox, while RadTextBox is a more complex reusable component and there are more things to consider. Thank you for the feedback though.

    Greetings,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Jeremy Wadsworth
    Jeremy Wadsworth avatar
    41 posts
    Member since:
    Mar 2006

    Posted 25 May 2009 Link to this post

    I was looking for this functionality as well. I noticed that in addition to Facebook, Goddady also has this login functionality. I guess i'll look for a hack.
  9. Howard Etheridge
    Howard Etheridge avatar
    7 posts
    Member since:
    Aug 2008
  10. Dave Plummer
    Dave Plummer avatar
    10 posts
    Member since:
    Jan 2005

    Posted 10 Jun 2010 Link to this post

    I'll just in and also say I was looking for this functionality; I was surprised not to find it, though less surprised once I understand the issues surrounding it.

    Still, ugly hard code that everyone wants but that should only be written once, and done right, is a perfect candidate for a feature of a reusable control pack!
  11. Max
    Max avatar
    34 posts
    Member since:
    Dec 2011

    Posted 18 Jan 2012 Link to this post

    Ladies and Gentlemen, Bump.
  12. Edward
    Edward avatar
    13 posts
    Member since:
    Sep 2011

    Posted 25 Jan 2012 Link to this post

    Hi Max,

    You don't need to bump the thread, this is already solved with the new rendering of the Radinput. Just set EnableSingleInputRendering="true".

    Cheers,
    ExS
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017