Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, June 30, 2025 
 
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!
 Web Forums - SalesLogix Web Platform & Application Architect
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Custom css class not working
Veronka Capone
Posts: 113
 
Custom css class not workingYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Custom css class not workingYour last visit to this thread was on 1/1/1970 12:00:00 AM
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)?
[Reply][Quote]
Veronka Capone
Posts: 113
 
Re: Custom css class not workingYour last visit to this thread was on 1/1/1970 12:00:00 AM
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 !
[Reply][Quote]
Veronka Capone
Posts: 113
 
Re: Custom css class not workingYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/30/2025 6:45:22 PM