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

A custom interface that defines the access to the custom dictionary. It can be used to replace the custom dictionary storage mechanism and store the words in a database or on a remote computer.

Definition

Namespace:Telerik.Web.UI.Dictionaries

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public interface ICustomDictionarySource

Properties

A custom appendix string that can be used to distinguish different custom dictionaries. It is passed the CustomAppendix of the RadSpell object. This way one can create different dictionaries for John and Mary.

C#
string CustomAppendix { get; set; }

The directory that contains the custom dictionary file. Necessary only for file based storage -- it is set to the physical directory corresponding to RadSpell's DictPath property setting.

C#
string DictionaryPath { get; set; }

The language for the custom dictionary. It is usually a culture name like en-US or de-DE.

C#
string Language { get; set; }

Methods

Adds a new custom word.

C#
void AddWord(string word)
Parameters:wordstring

the new word

Reads a word from the storage. It should return null if no more words are present.

C#
string ReadWord()
Returns:

string