New Properties on the Button control

Posted Thursday, January 20, 2005 8:39 AM by C-Dog's .NET Tip of the Day
I'll be talking more and more about some of the less hyped features in ASP.NET 2.0.  The Button control has three new properties.  OnClientClick can be used to specify a javascript method to invoke when the button is clicked.  Yeah, it could do this before, but now intellisense won't freak out when previously you tried to use OnClick.   PostBackUrl can be used to post your data to a different page.  UseSubmitBehavior causes the button to emit JavaScript to perform a post (similar to LinkButton controls).

Read the complete post at http://www.dotnettipoftheday.com/blog.aspx?id=196