we downloaded 7 language dictionaries for use in our program. We upgraded to the 2013 q1 controls a while back and have been getting an error when loading the en-US.tdf. It loads just fine, but when we add the dictionary to the editor via AddDictionary, it errors out. Has the format of the dictionary changed since about 2012?
Is there an example of setting the SpellCheckingWindowsStyle for the RadSpellChecker? Im using example in another thread of spell checking multiple text boxes.. My code is as follows - Im just not sure how to style the spell checker and what properties are available. Can I have an example?
public
partial
class
MainPage : UserControl
{
public
MainPage()
{
InitializeComponent();
RadSpellChecker.SpellCheckingCompleted += spellCheckingCompleted;
textBoxes =
new
List<TextBox>();
textBoxes.Add(
this
.textBox1);
textBoxes.Add(
this
.textBox2);
textBoxes.Add(
this
.textBox3);
}
int
i;
List<TextBox> textBoxes;
private
void
button1_Click(
object
sender, RoutedEventArgs e)
{
RadSpellChecker.WindowSettings.ShowAlertWhenSpellCheckingCompleted =
false
;
RadSpellChecker.Check(
this
.textBox1, SpellCheckingMode.AllAtOnce);
}
private
void
spellCheckingCompleted(
object
sender, SpellCheckingCompletedEventArgs args)
{
if
(i == 2)
{
i = 0;
return
;
}
i++;
RadSpellChecker.Check(
this
.textBoxes[i], SpellCheckingMode.AllAtOnce);
}
}
Is there a way to spell check custom controls for the following?
1. Check for all capital letters (e.g A thing of BEAUTY is a joy forever).
2. Check words that start with a capital (e.g a thing of beauty is a Joy Forever).
3. Check words with numbers (e.g Its gr8 to see you here).
4. Check for repeated words (e.g Paris in the the triangle).
Please let me know if any of these is possible.
RadSpellChecker.Check(radRichTextBox, SpellCheckingMode.WordByWord);
However, user has access to controls behind this window. Is it possible to display this as modal window so that user cannot do anything until this window is closed?
Thank you in advance,
Michael
using Telerik.Windows.Documents; using Telerik.Windows.Controls;
public void SpellCheck() { Telerik.Windows.Controls.RadSpellChecker.Check(Model.Description, SpellCheckingMode.WordByWord); }