0

Please People help me to achieve this in Vb.nt and C#, i will be very gratefull:
i want to achieve the "axterics' display" i.e "********" while a user is typing on textbox in asp.net form. Please help me. and advice me how to put into these codes below:

If Not TextBox1.Text Is Nothing Or TextBox2.Text Is Nothing Then
        End If
        Dim stdID As String
        Dim Pword As String
        stdID = Convert.ToString(TextBox1.Text)
        Pword = Convert.ToString(TextBox2.Text)
        If (Pword = "ossms") Then
            VerifyID(stdID)
        Else

Thank very much!

3
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by sandeepchrs
0

For the textbox that you want to have *, set it's textmode to password.

For example:

<asp:TextBox id="TextBox1" TextMode="Password" runat="server" />
0

<asp:TextBox id="TextBox1" TextMode="Password" runat="server" />


by default it consider singleline textmode .so please change the textmode to hide the password input.

and if any query regarding this check my blog :
<links removed>

Edited by Narue: Snipped sel-promotion links

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.