Button.OnClientClick Gets or sets the client-side script that executes when a Button control's Click event is raised. [System.Web.UI.Themeable(false)] public virtual string OnClientClick { get; set; } Property Value String The client-side script that…
https://www.codeproject.com/Questions/412553/differences-between-onClick-and-onClientClick OnClick will work on server side , OnClientClick will execute on client side before control passed to server. If the client side code returns TRUE then it will…