A lot of times in development scenarios you come to a situation where you want to do a postback on a webpage when a user hits the enter button.
If you are using RadAjaxManager on that page, then to submit the page for postback or invoke a button click event handler, use the following code:
1: function PerformPostBack(e)
2: {
3: evt = e || window.event;
4: var Key = evt.which || evt.keyCode;
5: if ( Key == 13 )
6: {
7: AjaxNS.ARWO(new WebForm_PostBackOptions("<%=btnButton.UniqueID%>", "", true, "", "", false, true), "<%=UpdateControl.ClientID%>", event);
8: return false;
9: }
10: }
In the web page where the textbox is set onKeyPress=”return PerformPostBack(event)”