This project is read-only.
1

Closed

HtmlTextBox Value can not be null.

description

При биндинге пустого значения:
Exeption: Value can not be null.
StackTrace: at System.IO.StringReader..ctor(String s)
at MSPToolkit.HTMLTools.HtmlLexicalAnalyzer..ctor(String inputTextString)
at MSPToolkit.HTMLTools.HtmlParser..ctor(String inputString)
at MSPToolkit.HTMLTools.HtmlParser.ParseHtml(String htmlString)
at MSPToolkit.HTMLTools.HtmlToXamlConverter.ConvertHtmlToXaml(String htmlString, Boolean asFlowDocument)
at MSPToolkit.Controls.HTMLTextBox.OnHtmlPropertyChanged(DependencyPropertyChangedEventArgs e)
at MSPToolkit.Controls.HTMLTextBox.<.cctor>b__0(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
at System.Windows.DependencyObject.RefreshExpression(DependencyProperty dp)
at System.Windows.Data.BindingExpression.RefreshExpression()
at System.Windows.Data.BindingExpression.SendDataToTarget()
at System.Windows.Data.BindingExpression.SourceAcquired()
at System.Windows.Data.BindingExpression.System.Windows.IDataContextChangedListener.OnDataContextChanged(Object sender, DataContextChangedEventArgs e)
at System.Windows.Data.BindingExpression.DataContextChanged(Object sender, DataContextChangedEventArgs e)
at System.Windows.FrameworkElement.OnDataContextChanged(DataContextChangedEventArgs e)
at System.Windows.FrameworkElement.OnAncestorDataContextChanged(DataContextChangedEventArgs e)
at System.Windows.FrameworkElement.NotifyDataContextChanged(DataContextChangedEventArgs e)
at System.Windows.FrameworkElement.OnAncestorDataContextChanged(DataContextChangedEventArgs e)
at System.Windows.FrameworkElement.NotifyDataContextChanged(DataContextChangedEventArgs e)
at System.Windows.FrameworkElement.OnTreeParentUpdated(DependencyObject newParent, Boolean bIsNewParentAlive)
at System.Windows.DependencyObject.UpdateTreeParent(IManagedPeer oldParent, IManagedPeer newParent, Boolean bIsNewParentAlive, Boolean keepReferenceToParent)
at MS.Internal.FrameworkCallbacks.ManagedPeerTreeUpdate(IntPtr oldParentElement, IntPtr parentElement, IntPtr childElement, Byte bIsParentAlive, Byte bKeepReferenceToParent, Byte bCanCreateParent)
Closed Apr 6, 2012 at 8:12 PM by ad1Dima
fixed 96a6779f63c7

comments

ad1Dima wrote Apr 6, 2012 at 8:11 PM

resolved with 96a6779f63c7