A New Internet Library: Add Your Website/Blog or Suggest A Website/Blog to our Free Web Directory http://anil.myfunda.net.

Its very simple, free and SEO Friendly.
Submit Now....

Thursday, December 4, 2008

ASP.NET Webform’s DefaultButton to handle enter key

This is a video version of an article I had written earlier around handling enter key with the ASP.NET Webform's DefaultButton property.  So its quite old and a feature of ASP.NET 2.0 but works fine with 3.5 version as well.

Note: In the master page scenario at the end of the video, the code this.form1.DefaultButton = Button1.UniqueID needs to come in the Page_Load event and not inside the button click event.  I just typed the syntax there.

Click here for a text version of this article

 

 

Cheers!!!



Source Click Here.

No comments:

Post a Comment

Post your comments here:

Originals Enjoy