Make password fileld not clear when the page is post back
protected void Page_Load(object sender, EventArgs e)
{
//to preserve pasword text at the pose back
}
//in the pasword box prerender event
protected void txtPword_PreRender(object sender, EventArgs e)
{
txtPword.Attributes["Value"] = txtPword.Text;
}
No comments:
Post a Comment