Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, June 8, 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: Problem with Umlauts in C# Snippet Action
Tim Zech
Posts: 40
 
Problem with Umlauts in C# Snippet ActionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 May 13 10:42 AM
fiogf49gjkf0d

Hi there,


I've got a problem with umlauts in C# Snippet Action scripts. If I write a code line like:


DialogService.ShowMessage("Wählen Sie blabla aus!");

and then perform a build&deploy the code on the corresponding web page looks like this:


DialogService.ShowMessage("Wählen Sie blabla aus!");

I've tried to change the Encoding of the IIS 7 from utf-8 to Windows-1252 but it didn't change anything. If I write the message into the deployed ascx file, it's displayed correctly.


Where do I have to change what to keep the Application Architect from changing the umlauts and other special characters (like french accents or else).

[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Problem with Umlauts in C# Snippet ActionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 May 13 11:10 AM

Tim:


  I have not had the chance to run into this issue, but how about utilizing a Resource File and then loading your String from there?


 


 

[Reply][Quote]
Tim Zech
Posts: 40
 
Re: Problem with Umlauts in C# Snippet ActionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 May 13 11:21 AM
fiogf49gjkf0d

You mean like using a custom *.resx-File as a support file and referencing it from all the error message boxes? That seems quite like a brilliant but easy idea.


If I'd put such a file in the folder 'App_GlobalResources', how can I reference it from within the C# Snippet?

[Reply][Quote]
Tim Zech
Posts: 40
 
Re: Problem with Umlauts in C# Snippet ActionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 May 13 9:37 AM
fiogf49gjkf0d

Nevermind. Using the Method


 


GetGlobalResourceObject(string className, string resourceKey);

 


should do the trick.


edit: it does. Thanks a lot.

[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/8/2025 12:40:12 AM