How to change RadTextBox TextMode=Password to Normal text in button click

2 posts, 0 answers
  1. NA
    NA avatar
    39 posts
    Member since:
    Aug 2013

    Posted 23 Jan 2014 Link to this post

    How to change  RadTextBox TextMode  is password change to normal text in server side code in
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 23 Jan 2014 Link to this post


    Please have a look into the following code snippet to change the TextMode in Button OnClick event.

    <telerik:RadTextBox ID="RadTextBox1" runat="server" TextMode="Password">
    <telerik:RadButton ID="RadButton1" runat="server" Text="Change TextMode" OnClick="RadButton1_Click">

    protected void RadButton1_Click(object sender, EventArgs e)
        RadTextBox1.TextMode = Telerik.Web.UI.InputMode.SingleLine;

  3. Telerik UI for ASP.NET Core is out
Back to Top