Ashok

Ashok

  • NA
  • 507
  • 80.9k

dynamic creation of password in C# code behind

Apr 23 2018 4:33 AM
how can i create a password field instead of textbox field.Thank you
 
case "TextBox":
ctl = new System.Web.UI.WebControls.TextBox();
this.AppendEvent(ctl, ci.EventHandler);
break;
case "Password":
ctl = new System.Web.UI.WebControls.TextBox();
this.AppendEvent(ctl, ci.EventHandler);
break;

Answers (2)