Apr 07, 2012 10:20 AM|Ruchira|LINK
For the asp.net server controls, OnClick fires the server event. To fire the client event, you have to use OnClientClick. OnClick will fire the client side event only for HTML controls, not for asp.net controls.
Please 'Mark as Answer' if this post helps you.