The ClientJavaScript property contains the client-side JavaScript functions used by the CatalogSimplePricingControl. To override default client-side behavior when the Add to Cart button is clicked, web developers may inject their own JavaScript by setting the value of the ClientJavaScript property. The client-side code is loaded by the control into the client script block during the Pre_Render event of the control page load sequence.
The default JavaScript code follows: