Spell-Checker in RadGridView with either auto-gen'd or reflected columns

3 posts, 0 answers
  1. Erik
    Erik avatar
    43 posts
    Member since:
    Jan 2011

    Posted 23 Jan 2012 Link to this post

    Hi --

    I'm trying to add some SpellChecker capabilities to a RadGridView.  I'm currently auto-generating the columns in the GridView because it's not a fixed object type that will be displayed in the list. 

    I am looking for a way to either:
    • Have the spell checker work when columns are auto-generated (just apply it to all columns)
    • Programmatically add columns to the gridview (MVVM pattern) by using reflection on an object.  With any luck, I would be able to use a custom DataAnnotation to indicate whether to use spell check on the generated column.  Also could maybe use a different annotation for the column heading?? 

    Let me know your thoughts -- it would be really cool to get this to work.

    Thanks in advance.
  2. Andrew
    Admin
    Andrew avatar
    140 posts

    Posted 26 Jan 2012 Link to this post

    Hi, Erik

    You have a very peculiar scenario, indeed. Spell checking auto-generated columns is not possible because there isn't a way or place you could plug the Spellchecker.
    About your second approach, if you can attach a demo describing how you intend to add those columns through reflection, we can try to add the spellchecking capabilities.

    Greetings,
    Andrew
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Erik
    Erik avatar
    43 posts
    Member since:
    Jan 2011

    Posted 31 Jan 2012 Link to this post

    I should be able to work up a sample solution within a few days' time.  I'll update this thread with the post when I have it.  Thanks in advance.
    -Erik
Back to Top