Sunday, 15 January 2012

.net - How to save fileds from asp.net when clicked on ENTER Key from Keyboard? -



.net - How to save fileds from asp.net when clicked on ENTER Key from Keyboard? -

hi, here in screen have few fields need save database when clicked on add together button , want save fields when click on come in key keyboard. when come in fields , click on come in key keyboard fields must saved info base, how can accomplish that?

any help appreciated

"defaultbutton" property. can applied asp:form or asp:panel , allow to determine button event should triggered when user hits come in key

example

<asp:panel defaultbutton="button2" runat="server"> <asp:textbox id="textbox3" runat="server"/> <asp:button id="button2" runat="server"/> </asp:panel>

hitting come in key submit form in asp.net

asp.net .net keyboard-events

No comments:

Post a Comment