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?
What’s the point of the OnClientClick attribute for an ASP.NET control? Doesn’t it simply
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.