What's the point of the OnClientClick attribute for an ASP.NET control? Doesn't it simply generate an onclick attribute for the HTML element?
Yes, it does just generate the client-side onclick attribute.
It is there to distinguish it from OnClick attribute, which generates the server-side click event.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With