Now that we know that we are working with JavaScript — how can we actually make use of it inside the SalesLogix Web Client?
onclientclick()
Most controls have an onclientclick or equivilant that you can take advantage of.
OnClientClick=”cmdSave_ClientClick();
is a simple example.
This is accessed through Application Architect here:

In the screenshot I show “anything(“sasd”)” because there is a known issue with this actually writing code for you. But that isn’t a big deal.
So it is that simple.
You end up with the following code at the bottom of your ascx page. Go look!


January 18, 2010
[...] some client side validation in our pages we need to be able to stop postback. We already looked at how to get JavaScript in our pages but that only gets us so [...]