Friday, February 10, 2012

Onkeypress for textbox in asp.net

protected void Page_Load(object sender, EventArgs e)
{
 txtdate.Attributes.Add("onkeypress", "return false;");
}

No comments:

Post a Comment

Comments

Protected by Copyscape Plagiarism Software