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

Provides localized string resources for RadEditor dialog controls.

Definition

Methods

Retrieves the localized string value for the specified key, formatted for safe use in JavaScript.

C#
public string GetJavaScriptString(string key)
Parameters:keystring

The key for the localized string.

Returns:

string

The JavaScript-safe localized string value.

Retrieves the localized string value for the specified key, searching dialog-specific and common keys.

C#
public override string GetString(string key)
Parameters:keystring

The key for the localized string.

Returns:

string

The localized string value if found; otherwise, returns the key itself.

Overrides: LocalizationStrings.GetString(string)

Gets the collection of all string keys available in the dialog localization.

C#
public Dictionary<string, string>.KeyCollection GetStringKeys()
Returns:

Dictionary<string, string>.KeyCollection

A collection of string keys.

Sets the localized string value for the specified key.

C#
public override void SetString(string key, string value)
Parameters:keystring

The key for the localized string.

valuestring

The value to set for the key.

Overrides: LocalizationStrings.SetString(string, string)