This is a migrated thread and some comments may be shown as answers.

Database Driven Dictionary

2 Answers 98 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Michael Harrison
Top achievements
Rank 1
Michael Harrison asked on 18 May 2008, 10:27 AM
Hi,
  I've been using the Telerik controls for close to 2.5 years now but have not really had to dig into the functionality of Spell.  I've got an application scenario that requires a dynamic dictionary.  Consider many users updating a single dictionary and each of those users having access to all updates.

From what I can tell Spell only uses text files.  I considered how I might to this but multiple file sharing is always messy.  The elegant solution would be to store dictionary entries in a database then generate the dictionary on the fly when a user needed to use the dictionary.  The only problem being is that there doesn't seem to be any functionality in Spell to connect it to a database source.

I have considered using the DictionaryImporter class in conjunction with the MemoryStream class as an avenue of investigation but have not done so yet.

So my question to you is what is involved in getting Spell to use an database for dictionaries rather than form .tdf files?
Cheers,

Michael

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 22 May 2008, 03:36 PM
Hi Michael,

Please, find attached the example for creating a custom dictionary source (using an MS Access database for custom word storage). To run it, simply extract the contents of the archive to a Visual Studio website and run the Default.aspx page in the DbCustomDictionarySourceDemo folder.

Sincerely,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Michael Harrison
Top achievements
Rank 1
answered on 23 May 2008, 12:55 PM
Hi Rumen,
  Thanks for the quick turn around.  I'll be checking this out tomorrow.
Cheers,

Michael
Tags
Spell
Asked by
Michael Harrison
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Michael Harrison
Top achievements
Rank 1
Share this question
or