Sameers Portal

The purpose of these pages to share small piece of codes which helps developers. Usually it is harder to manage such pieces. Peoples usually make small projects to save their pieces, but this could be helpful as you can manage your codes here and also search. Top of all, these pieces are shared automatically among everyone. So you have chances to get your required piece of code immediately.

Share Code Now and make your own libraries


Category:

Web Forms

Title:

Default enter button on the web form

Description:

You may place more than one buttons on a web form of ASP .NET application, and you may want that when user hit enter from keyboard,a specific button should clicked. There is an easy way to group such controls to fire specific button click when user hit enter. Use the Panel control to surround against your set of controls and set the DefaultButton property to the name of the button you want to make default.

Posted On:

7/30/2008

Posted By:

Sameers (theAngrycodeR)

VB Version

C# Version