0
kicks
Default Button in ASP.NET
Many times we require setting a default button for a web form. Such as for search forms or login page where users enter a value into the textbox, then press the enter button. If you are developing in ASP.NET 1.x, the page will refresh, but nothing will happen. The buttons click event wont fire UNLESS; you explicitly enable a default button.