ControlsLocalizationGetLocalizedText Method |
Gets the localized text for the control.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 12.0.0
Syntax 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:
StringSee Also