I've been using, writing about and talking about ASP.NET 2.0's OnClientClick mostly in relation to some of the Ink on the Web work I have been doing. OnClientClick (who's functionality you could achieve in the past with control attributes) allows you to associate client side script AND server side code to the click event of a button.
One thing I hadn't run into and therefore wasn't aware of was the OnClientClick conflicts with another one of ASP.NET 2.0's new features, Cross Page Postbacks. Teemu Keiski explains why the two won't work together in this blog post.
Remember Me
See my speaking schedule for more events
User Group Leader
Hosted by:
Powered by: newtelligence dasBlog 2.0.7226.0
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2008, Julie Lerman
E-mail