Hi,
My application needs to update the UI several times, when I first call BeginInit/EndInit it works fantastically, but for the second time makes it crash...
The crash is odd...Its about dependency properties and for a font family... Here it is the error:
ensaje: Unhandled Error in Silverlight Application Code: 4004 Category: ManagedRuntimeError Message: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: System.ArgumentException: '' no es un valor válido para la propiedad 'FontFamily'. en MS.Internal.XcpImports.CheckHResult(UInt32 hr) en MS.Internal.XcpImports.SetValue(IManagedPeerBase doh, DependencyProperty property, Object obj) en System.Windows.DependencyObject.SetObjectValueToCore(DependencyProperty dp, Object value) en System.Windows.DependencyObject.SetEffectiveValue(DependencyProperty property, EffectiveValueEntry& newEntry, Object newValue) en System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation) en System.Windows.DependencyObject.RefreshExpression(DependencyProperty dp) en System.Windows.Data.BindingExpression.SendDataToTarget() en System.Windows.Data.BindingExpression.SourcePropertyChanged(PropertyPathListener sender, PropertyPathChangedEventArgs args) en System.Windows.PropertyPathListener.RaisePropertyPathStepChanged(PropertyPathSte p source) en System.Windows.PropertyAccessPathStep.RaisePropertyPathStepChanged(PropertyListe ner source) en System.Windows.DependencyPropertyListener.SourcePropertyChanged(DependencyObject sender, DependencyProperty dp) en System.Windows.Data.WeakDependencyPropertyChangedListener.SourcePropertyChanged( DependencyObject sender, DependencyProperty dp) en System.Windows.DPChangedEventHandler.Invoke(DependencyObject sender, DependencyProperty dp) en System.Windows.DependencyObject.OnPropertyChanged(DependencyProperty dp) en System.Windows.FrameworkElement.OnPropertyChanged(DependencyProperty dp) en System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyPrope rty dp, Object oldValue, Object newValue) en System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation) en System.Windows.DependencyObject.InvalidateProperty(DependencyProperty property)
At the top on spanish is the error related to font family: "Not a valid value for font family"
Hope this will be fixed...Since it is cxrucial for my application...
Thanks,
Zodraz
|