I have a asp.net Textbox & Button in WebForm Page. When the enter key is pressed in textbox the button click should happen to load data to gridview on the page. Please suggest any sample code
Wrap that form in a panel, and make that button default button
<asp:Panel DefaultButton="button_id" runat="server">
your form here
</asp:Panel>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With