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.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 9.0.0
public virtual string ResourcePrefix { get; set; }

Property Value

Type: String
If custom translation is not defined, the default resource string translation is used. Localization is called through GetString(String, String) method.
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