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

EmptyText for a RadTextBox in Password mode

10 Answers 412 Views
Input
This is a migrated thread and some comments may be shown as answers.
lchesnais
Top achievements
Rank 1
lchesnais asked on 03 Oct 2008, 12:58 PM
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).
<telerik:RadTextBox  
    ID="rtbPassword" 
    runat="server" 
    TextMode="Password" 
    EmptyMessage="Please enter your password" 
    Width="200px" 
    /> 
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

10 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 03 Oct 2008, 01:42 PM
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.
0
dstj
Top achievements
Rank 1
answered on 20 May 2009, 07:43 PM
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.
0
Dimo
Telerik team
answered on 21 May 2009, 10:57 AM
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.
0
dstj
Top achievements
Rank 1
answered on 21 May 2009, 05:45 PM
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.
0
Dimo
Telerik team
answered on 22 May 2009, 08:01 AM
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.
0
Jeremy Wadsworth
Top achievements
Rank 1
answered on 25 May 2009, 05:32 AM
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.
0
Howard Etheridge
Top achievements
Rank 1
answered on 27 Jul 2009, 04:40 PM
0
Dave
Top achievements
Rank 1
answered on 10 Jun 2010, 09:38 PM
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!
0
Max
Top achievements
Rank 1
answered on 18 Jan 2012, 10:07 AM
Ladies and Gentlemen, Bump.
0
Edward
Top achievements
Rank 1
answered on 25 Jan 2012, 12:22 PM
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
Tags
Input
Asked by
lchesnais
Top achievements
Rank 1
Answers by
Dimo
Telerik team
dstj
Top achievements
Rank 1
Jeremy Wadsworth
Top achievements
Rank 1
Howard Etheridge
Top achievements
Rank 1
Dave
Top achievements
Rank 1
Max
Top achievements
Rank 1
Edward
Top achievements
Rank 1
Share this question
or