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

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

2 Answers 45 Views
SpellChecker
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 2
Erik asked on 23 Jan 2012, 11:43 PM
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 Answers, 1 is accepted

Sort by
0
Andrew
Telerik team
answered on 26 Jan 2012, 07:03 PM
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 >>

0
Erik
Top achievements
Rank 2
answered on 31 Jan 2012, 06:16 PM
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
Tags
SpellChecker
Asked by
Erik
Top achievements
Rank 2
Answers by
Andrew
Telerik team
Erik
Top achievements
Rank 2
Share this question
or