Click or drag to resize
ControlsLocalizationGetLocalizedText Method
Gets the localized text for the control.

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 9.0.0
Syntax
C#
public static string GetLocalizedText(
	Control ctrl,
	string resourceString,
	string source,
	string text
)

Parameters

ctrl
Type: System.Web.UIControl
Control for which the text is retrieved
resourceString
Type: SystemString
Resource string to localize
source
Type: SystemString
Source for the localization - may be 'database' or 'file'
text
Type: SystemString
Text to localize

Return Value

Type: String
See Also