Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Input > EmptyText for a RadTextBox in Password mode

Not answered EmptyText for a RadTextBox in Password mode

Feed from this thread
  • lchesnais avatar

    Posted on Oct 3, 2008 (permalink)

    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

    Reply

  • Dimo Dimo admin's avatar

    Posted on Oct 3, 2008 (permalink)

    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.

    Reply

  • Posted on May 20, 2009 (permalink)

    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.

    Reply

  • Dimo Dimo admin's avatar

    Posted on May 21, 2009 (permalink)

    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.

    Reply

  • Posted on May 21, 2009 (permalink)

    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.

    Reply

  • Dimo Dimo admin's avatar

    Posted on May 22, 2009 (permalink)

    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.

    Reply

  • Posted on May 25, 2009 (permalink)

    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.

    Reply

  • Howard Etheridge avatar

    Reply

  • Dave Plummer avatar

    Posted on Jun 10, 2010 (permalink)

    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!

    Reply

  • Max avatar

    Posted on Jan 18, 2012 (permalink)

    Ladies and Gentlemen, Bump.

    Reply

  • Edward avatar

    Posted on Jan 25, 2012 (permalink)

    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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Input > EmptyText for a RadTextBox in Password mode
Related resources for "EmptyText for a RadTextBox in Password mode"

ASP.NET Input Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]