Kumar

Kumar

  • 1.5k
  • 328
  • 33.1k

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)