Click or drag to resize
AbstractUserControlResourcePrefix Property
Prefix for the resource strings which are used for the localization by the control and its child controls.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
Syntax
C#
public virtual string ResourcePrefix { get; set; }

Property Value

Type: String
Remarks
If custom translation is not defined, the default resource string translation is used. Localization is called through GetString(String, String) method.
Examples
The following code is internally represented as "customprefix.ok|general.ok" resource string key if the property is set to the "customprefix" value.
ResourcePrefix = "customprefix";
var localizedString = GetString("general.ok");
See Also