Just like the title says. I am using the following code in a behavior. It used to work before the Q3 release, I am pretty sure of that.
This is the error I am getting:
Time of exception: 2011-11-23 16:17
Message: value
Stacktrace: at System.Windows.Controls.RichTextBox.set_Xaml(String value)
at Telerik.Windows.Documents.FormatProviders.MsRichTextBoxXaml.MsRichTextBoxXamlImporter.Import(String xaml)
at Telerik.Windows.Documents.FormatProviders.MsRichTextBoxXaml.MsRichTextBoxXamlFormatProvider.Import(String xaml)
at Telerik.Windows.Documents.Proofing.RichTextBoxSpellChecker.GetContentAsDocument()
at Telerik.Windows.Controls.RadSpellChecker.CheckAllAtOnce(Control controlToCheck)
at Telerik.Windows.Controls.RadSpellChecker.Check(Control controlToCheck, SpellCheckingMode spellCheckingMode)
at GLS.Gui.Controls.Behaviors.SpellCheckTextControlBehavior.<DoSpellCheck>b__12()
at GLS.Gui.Helper.SpellCheckHelper.LoadDictionary(String culture, Boolean hasIncreasedIsoStorageQuota, Action onCompleted, Action`1 onProgress)
at GLS.Gui.Controls.Behaviors.SpellCheckTextControlBehavior.DoSpellCheck(Boolean hasIncreasedIsoStorageQuota)
at GLS.Gui.Controls.Behaviors.SpellCheckTextControlBehavior._ContextMenu_ItemClick(Object sender, RadRoutedEventArgs e)
at Telerik.Windows.Controls.MenuBase.OnItemClick(RadRoutedEventArgs args)
at Telerik.Windows.Controls.MenuBase.OnItemClick(Object sender, RadRoutedEventArgs args)
at Telerik.Windows.RadRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
at Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
at Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
at Telerik.Windows.Controls.RadMenuItem.OnClickImpl()
at Telerik.Windows.Controls.RadMenuItem.OnClick()
at Telerik.Windows.Controls.RadMenuItem.HandleMouseUp()
at Telerik.Windows.Controls.RadMenuItem.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
Best regards,
/Henrik
RadSpellChecker.Check(this.Target, SpellCheckingMode.AllAtOnce);
This is the error I am getting:
Time of exception: 2011-11-23 16:17
Message: value
Stacktrace: at System.Windows.Controls.RichTextBox.set_Xaml(String value)
at Telerik.Windows.Documents.FormatProviders.MsRichTextBoxXaml.MsRichTextBoxXamlImporter.Import(String xaml)
at Telerik.Windows.Documents.FormatProviders.MsRichTextBoxXaml.MsRichTextBoxXamlFormatProvider.Import(String xaml)
at Telerik.Windows.Documents.Proofing.RichTextBoxSpellChecker.GetContentAsDocument()
at Telerik.Windows.Controls.RadSpellChecker.CheckAllAtOnce(Control controlToCheck)
at Telerik.Windows.Controls.RadSpellChecker.Check(Control controlToCheck, SpellCheckingMode spellCheckingMode)
at GLS.Gui.Controls.Behaviors.SpellCheckTextControlBehavior.<DoSpellCheck>b__12()
at GLS.Gui.Helper.SpellCheckHelper.LoadDictionary(String culture, Boolean hasIncreasedIsoStorageQuota, Action onCompleted, Action`1 onProgress)
at GLS.Gui.Controls.Behaviors.SpellCheckTextControlBehavior.DoSpellCheck(Boolean hasIncreasedIsoStorageQuota)
at GLS.Gui.Controls.Behaviors.SpellCheckTextControlBehavior._ContextMenu_ItemClick(Object sender, RadRoutedEventArgs e)
at Telerik.Windows.Controls.MenuBase.OnItemClick(RadRoutedEventArgs args)
at Telerik.Windows.Controls.MenuBase.OnItemClick(Object sender, RadRoutedEventArgs args)
at Telerik.Windows.RadRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
at Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
at Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
at Telerik.Windows.Controls.RadMenuItem.OnClickImpl()
at Telerik.Windows.Controls.RadMenuItem.OnClick()
at Telerik.Windows.Controls.RadMenuItem.HandleMouseUp()
at Telerik.Windows.Controls.RadMenuItem.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
Best regards,
/Henrik