ControlsLocalization.GetLocalizedText 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
Syntaxpublic static string GetLocalizedText(
Control ctrl,
string resourceString,
string source,
string text
)
Parameters
- ctrl
- Type: System.Web.UI.Control
Control for which the text is retrieved - resourceString
- Type: System.String
Resource string to localize - source
- Type: System.String
Source for the localization - may be 'database' or 'file' - text
- Type: System.String
Text to localize
Return Value
Type:
String
See Also