I need to stay on the form when user enters something in the TextBox and preses Enter without doing postback with default button (either from Form or asp:panel).
I tried the usual JS approach to return false at the end of OnKeyPress but no luck. Is there way to do this?
Thanks, Grisha
2 Answers, 1 is accepted
0
Giuseppe
Telerik team
answered on 20 Nov 2007, 08:32 AM
Hello Grisha,
As you are using the ASP.NET AJAX-based version of the control you can cancel the event using the ASP.NET AJAX convention for canceling client events: