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:

function PerformPostBack(e)   
{   
    evt = e || window.event;   
    var Key = evt.which || evt.keyCode;   
    if ( Key == 13 )    
    {   
        AjaxNS.ARWO(new WebForm_PostBackOptions(
        "<%=btnButton.UniqueID%>", "", true, "", "", false, true), 
        "<%=UpdateControl.ClientID%>", event);  
        return false;   
    }  
}

In the web page where the textbox is set onKeyPress=”return PerformPostBack(event)”