What is the difference between OnClientClick and onclick Client side event in control definition?

 Posted by vishalneeraj-24503 on 6/6/2014 | Category: ASP.NET Interview questions | Views: 1621 | Points: 40

Both are Client-side Javascript event but OnClientClick is a server-side control property whereas onclick is a Client-side or HTML control Javascript event and both events are used to to call Javascript function.But there is only one difference between both that is we can use OnClientClick for Server controls and onclick event for HTML controls.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response