Quantcast
Channel: SalesLogix – Customer FX
Viewing all articles
Browse latest Browse all 169

Infor CRM Web Client – Using Style Attributes to Manipulate Control Appearance

$
0
0

With how the quick forms are constructed into asp.net user controls when the web client is deployed, it can be difficult to manipulate the appearance of controls since they exist within unnamed divs and table elements. There are some cases where you can implement custom style attributes to a control to make them appear in ways you may want. You can add this kind of code to the load action of the quick forms.

For instance, if you have 2 controls side by side and you want to overlay one control on top of the other, you could do something like this:

lblAgentNumber.Attributes.Add("Style", "position:relative;left:-65%;");

Infor CRM Style 1

To make a label stretch across the top of the screen and have a red background, you could do this:

QFLabel.Attributes.Add("Style", "background-color:red; position:absolute;left:0;right:0;");

Infor CRM Style 2

To make a label box occupy more space instead of having such a large part of the screen taken up by the label:

QFTextBox.Attributes.Add("Style", "position:relative;left:-30%; width:130%");

Infor CRM Style 3


Viewing all articles
Browse latest Browse all 169

Trending Articles