BXF and Silverlight 5

Jan 10, 2012 at 7:40 AM

Does Bxf work with Silverlight 5?

I'm migrating my project to Silverlight 5 and I keep receiving this error after my call to  Shell.Instance.ShowView(....). I changed all my assemblies to Silverlight 5 ones except the Bxf assembly.

My error is the following: 

System.Windows.Markup.XamlParseException occurred
  Message=Set property 'System.Windows.FrameworkElement.Style' threw an exception. [Line: 331 Position: 54]
  LineNumber=331
  LinePosition=54
  StackTrace:
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at Silver.Presentation.Silverlight.Reports.FranchiseBillingPage.InitializeComponent()
       at Silver.Presentation.Silverlight.Reports.FranchiseBillingPage..ctor()
  InnerException: System.Windows.Markup.XamlParseException
       Message=Failed to create a 'System.Type' from the text 'grid:GridViewFilteringDropDown'. [Line: 17 Position: 30]
       LineNumber=17
       LinePosition=30
       StackTrace:
            at MS.Internal.XcpImports.CreateFromXaml(UnmanagedMemoryStream stream, String sourceAssemblyName, Boolean createNamescope, Boolean requireDefaultNamespace, Boolean allowEventHandlers, String xamlResourceUriString, Boolean isBinaryContent)
            at System.Windows.Controls.Control.GetBuiltInStyle(IntPtr nativeTarget, IntPtr& nativeStyle)
       InnerException: 
            Message=Error HRESULT E_FAIL has been returned from a call to a COM component.
            StackTrace:
                 at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
                 at MS.Internal.XcpImports.SetValue(IManagedPeerBase obj, DependencyProperty property, String s)
                 at MS.Internal.XcpImports.SetValue(IManagedPeerBase doh, DependencyProperty property, Object obj)
                 at System.Windows.DependencyObject.SetObjectValueToCore(DependencyProperty dp, Object value)
                 at System.Windows.DependencyObject.SetEffectiveValue(DependencyProperty property, EffectiveValueEntry& newEntry, Object newValue)
                 at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
                 at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
                 at System.Windows.ResourceDictionary.set_Source(Uri value)
                 at Telerik.Windows.Controls.Theme.CreateResourceDictionaryForApplicationTheme(Theme theme, String controlAssembly)
                 at Telerik.Windows.Controls.Theme.AddMergedDictionaryFromApplicationTheme(ResourceDictionary generic, String assemblyName)
                 at Telerik.Windows.Controls.Theme.OnApplicationThemeSetterChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
                 at Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(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.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
                 at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
                 at Telerik.Windows.Controls.Theme.SetApplicationThemeSetter(DependencyObject obj, String value)
            InnerException: 

Coordinator
Jan 10, 2012 at 1:52 PM

I have not done any work to update bxf for SL5.

Jan 10, 2012 at 7:17 PM

I converted a project over to SL5 and both BXF and CSLA worked find without change.  "Specific Version" is set to False on the DLLs.