ASP.NET has a server control called a panel, which allows you to display other server controls or HTML elements inside it, and one of its properties is DefaultButton. By setting the DefaultButton to the ID of a button within the panel you basically set its default keyboard event that will fire the click event associated with that button. The other alternative to this would be to add the property to the TextBox in your CodeBehind.
Pages
Archives
- September 2010 (1)
- August 2010 (4)
- July 2010 (3)
- June 2010 (7)
- May 2010 (1)
- April 2010 (6)
- March 2010 (2)
- February 2010 (1)
- January 2010 (1)
- December 2009 (2)
- November 2009 (5)
- October 2009 (26)
- September 2009 (15)
- August 2009 (2)
- July 2009 (3)
- June 2009 (1)
- May 2009 (1)
- April 2009 (3)
- March 2009 (2)
- February 2009 (3)
- January 2009 (11)
- December 2008 (13)
- November 2008 (8)
- October 2008 (10)
- September 2008 (9)
- August 2008 (13)
- July 2008 (12)
- June 2008 (9)
- May 2008 (8)
- April 2008 (6)
Categories
- AJAX (13)
- Application Development (22)
- ASP.NET (26)
- ASP.NET MVC (3)
- Bing (1)
- Browsers (5)
- C# (57)
- Chrome (1)
- Content Management Systems (1)
- Design Patterns (1)
- eMarketing (4)
- Facebook (4)
- Firefox (3)
- Fremus.co.za (8)
- General (34)
- Google Chrome (1)
- Internet Explorer (2)
- LINQ to XML (4)
- Microsoft Events (1)
- Music (1)
- News (2)
- PC Hardware (1)
- Personal (12)
- Photography (1)
- SEO (3)
- Silverlight (11)
- Software (1)
- Springboks (1)
- SQL Server 2005 (4)
- SQL Server 2008 (1)
- TranceFamily (1)
- TV Series (1)
- Twitter (1)
- WCF (1)
- Web 2.0 (13)
- Web Design (7)
- Web Development (34)
- Web Search (1)
- Web Technologies (38)
- Windows Powershell 2.0 (1)
- Wordpress (6)
- WPF (2)
Tags
.NET Adobe Flash AJAX Armin van Buuren ASP.NET C# concept context CSS e-Marketing Facebook Firefox Firefox 3 Flash Fremus General Thoughts GMail Google Google Analytics Javascript jquery LINQ to XML LiveValidation Microsoft Microsoft Access Microsoft Powerpoint object-oriented Personal PHP Programming ScrewTurn wiki Silverlight Social Media Social Networking South African E-Marketing SQL SQL Server 2005 Twitter Visual Studio 2008 Web 2.0 Web Design web development wiki's Wordpress WPF
© Fremus.co.za 2009 | Created by Jay Hafling.
Powered by WordPress
Place your comment