New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Localization Property

In addition to localizing through global resource files, RadEditor allows programmatic localization using the Localization property. All labels, buttons, tooltips and error messages can be localized by using the Localization property. The Localization property has sub properties for Tools, Modules and Main.

protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        RadEditor1.Localization.Tools.Copy = "My Copy text";
    }
} 
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
    If Not IsPostBack Then
        RadEditor1.Localization.Tools.Copy = "My Copy text"
    End If
End Sub

Localization strings defined through the Localization property can take precedence over those defined in global resource files (assuming the Page_Load event occurs after the resource file has already been consumed). This allows you to localize specific strings programmatically while the default localization is handled by the resource files.

See Also

In this article