
SalesLogix offers an exposed on client click attribute to buttons. From here you can add a client side confirmation to prompt the user if they want to proceed with the button click event. You can also do this by adding the client script event to the Page Load event.
For instance, if I had a button on my form with an ID of cmdValidate I could add a line of code like this to my Pag eLoad event:
cmdValidate.OnClientClick = string.Format(“return confirm(‘Are you sure you want to do this?’);”);
Alternately, you could just place in the client click event of the button this:
return confirm(‘Are you sure you want to validate the ticket?’);
Either way pretty straight forward. You can then add an action to the server side click event of the button normally. That way if the user cancels the client side prompt the normal server side action will never run.
Subscribe To Our Newsletter
Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!
You have Successfully Subscribed!