Thursday, April 28, 2011

How to Keep Password on Post Back Event

Just Add The Following Code to code file: means aspx.cs file


If(!IspostBack)
{
      TextPassword.Attribute.Add("value","TextPassword.Text");
}

here TextPassword is TextBox ID which you use for Textbox Password

No comments:

Post a Comment