Saturday, 22 February 2014

Press Enter and Click event fire on textbox

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

No comments:

Post a Comment