Hiding controls and control labels via code in the SalesLogix Web Client.

This is a minor item, but one I always seem to forget, so I thought I’d throw it up here quick as a reference…

On occasion in the web, I want to hide a particular control instead of removing it. If I set this via code snippet in the onload event of the form, it’s a simple matter of just including the line <control>.Visible = False.  If this is all you do, the caption of the control will still display even though the control itself is hidden.  In the past, I’ve just cleared out the caption property of the control, but you can hide it by appending “_lbl” to the end of the control name. 

So, along with the line <control>.Visible = False, you should also include <control>_lbl.False.

That’s all there is to it.  Pretty straight-forward.


Thanks for Reading!


Follow JasonBussCFX on Twitter



Jason Buss

Jason is a senior application developer with Customer FX.

1 Comment

Submit a Comment

Your email address will not be published. Required fields are marked *

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!