6/30/2025 6:29:58 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
Custom css class not working
Posted: 08 Mar 10 4:30 PM
|
Hi,
I am in version 7.52. I tried the following to change the color of a label to red:
1) Created a new .css file MyCompany.css which contains a class:
.RedFont { color:Red; font-size:90%; }
2) In Base.Master I added a reference to MyCompany.css 3) C:\ProgramData\Sage\Platform\Configuration\Global\StyleSchemeTypes.xml I added another item: RedFont
What else do I need to change?
Thanks
?? I read somewhere that I need to change the corresponding .vm file ??!! but I don't know which one to change. I would like this RedFont to be available for all simple controls on a QuickForm/SmartPart.
|
|
|
|
Re: Custom css class not working
Posted: 09 Mar 10 1:17 PM
|
Are you setting the RedFont class on a control (either setting the StyleScheme property at design time or via code)? |
|
|
|
Re: Custom css class not working
Posted: 09 Mar 10 1:22 PM
|
I am changing it at design time and it finally worked for label. I closed AA, reopened it and recompiled everything (CTRL + Build WebPlatform) and it works, without changing the corresponding template file.
Thanks ! |
|
|
|
Re: Custom css class not working
Posted: 11 Mar 10 9:55 AM
|
Ryan,
I added a red label to a TextBox, PersonName, Picklist and Lookup controls. Now I want to add a RequiredFieldValidator on each of them. I changed the corresponing template (.vm) files. It works for TextBox and PickList, but I have the following error for PersonName and Lookup controls:
Control 'QFSLXLookup' referenced by the ControlToValidate property of 'vld_QFSLXLookup' cannot be validated.
How would you do validation on these controls?
Thanks,
BTW, everything is set at design mode. |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|