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

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.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