Tuesday, 7 August 2012

Set Text for a Textbox with TextMode is Password

If You a Textbox with property TextMode="Password" ,
if you try to Assign a Value to It .
txtPassword.Text = "Sometext" ;
No Text will Appear in Text box .

Correct way to Assign :
txtPassword.Attributes.Add("value", "Sometext") ;

No comments:

Post a Comment

What should you required to learn machine learning

  To learn machine learning, you will need to acquire a combination of technical skills and domain knowledge. Here are some of the things yo...