D'Arcy from Winnipeg
Solution Architecture, Business & Entrepreneurship, Microsoft, and Adoption

Sometimes the best features are the simplest

Wednesday, December 7, 2005 3:47 AM

I've been working on an ASP.NET 2.0 project for a bit, and there's alot to love about the new framework and visual studio. One small addition is actually a great timesaver: the OnClientClick property.

Before, if you wanted a button in a grid to display a confirm delete message, you'd need to either loop through the rows and modify the control, or write code in the item databound event, etc. It just sucked that you needed to seperate it out into the code behind instead of just using the designer to specify the client script. Now, you simply type in the javascript you want to happen on click and voila!

Sure, its not a hemi-level feature, but sometimes the refriderated cup holders are what really make the car.



# re: Sometimes the best features are the simplest

so true.... 12/8/2005 9:51 AM | cedricb

Post a comment