You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > EkWebControl Class > EkWebControl Methods > LocalizeString
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
EkWebControl.LocalizeString Method

Used to localize strings in the control properties window and at render time. Strings should be defined in resource files. Any property that the user would like to be localized to the sites default language should begin with the constant STR_LOCALIZE defined in the EkWebControl class.

C#
public string LocalizeString(string strInputText);
Visual Basic
Public Function LocalizeString(strInputText As string) As string
Parameters 
Description 
strInputText 
String to be localized 

Input string if it does not begin with STR_LOCALIZE. Localized string if successfully localized using lower level API.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!