Sunday, January 1, 2012

how to set a linkbutton as default button in asp.net using javascript

txtPassword.Attributes.Add("onKeyPress", "javascript:if (event.keyCode == 13) __doPostBack('" + btnLogin.UniqueID + "','')");

No comments:

Post a Comment