
at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value)
at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkPropertyDescriptor.SetValue(Object component, Object value)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement, CodePropertyReferenceExpression propertyReferenceEx, Boolean reportError)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
5 Answers, 1 is accepted



System.NullReferenceException was unhandled
Message=Object reference not set to an instance of an object.
Source=Telerik.WinControls.RichTextBox
StackTrace:
at Telerik.WinControls.RichTextBox.TextSearch.DocumentTextMap.MoveToFirstBoxInWord(DocumentPosition position)
at Telerik.WinControls.RichTextBox.TextSearch.DocumentTextMap.InitMap(DocumentPosition fromPosition, DocumentPosition toPosition)
at Telerik.WinControls.RichTextBox.Proofing.DocumentProofingManager.UpdateIncorrectWordsList(DocumentPosition fromPosition, DocumentPosition toPosition)
at Telerik.WinControls.RichTextBox.Proofing.DocumentProofingManager.UpdateIncorrectWordsList()
at Telerik.WinControls.RichTextBox.Model.RadDocument.set_IsSpellCheckingEnabled(Boolean value)
at Telerik.WinControls.RichTextBox.DocumentView.set_IsSpellCheckingEnabled(Boolean value)
at Telerik.WinControls.RichTextBox.RadRichTextBox.set_IsSpellCheckingEnabled(Boolean value)
Not setting the IsSpellCheckingEnabled to true for one of them after a recompile corrected the error.

Also the spellchecking seems to randomly stop working when typing, no errors/exceptions being thrown. Wasn't sure if this was known or not.
I managed to reproduce the null reference exception issue. It will be addressed in the upcoming service pack. In the meantime, you can set the property at run-time after the InitializeComponents method call. For the upcoming service pack our goal is to fix all critical and known issues regarding RadRichTextBox control. We know about the performance issues. They will be improved in one of the next major releases.
I did not manage to reproduce the spell checking issue. Could you illustrate the exact steps that we should follow to achieve it?
I updated your Telerik points.
Svett
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!