Database Driven Dictionary

3 posts, 0 answers
  1. Michael Harrison
    Michael Harrison avatar
    40 posts
    Member since:
    Dec 2004

    Posted 18 May 2008 Link to this post

    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. Rumen
    Admin
    Rumen avatar
    12848 posts

    Posted 22 May 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Michael Harrison
    Michael Harrison avatar
    40 posts
    Member since:
    Dec 2004

    Posted 23 May 2008 Link to this post

    Hi Rumen,
      Thanks for the quick turn around.  I'll be checking this out tomorrow.
    Cheers,

    Michael
Back to Top