The type 'GridSplitter' was not found

3 posts, 1 answers
  1. ADM-IT Denis Pujdak
    ADM-IT Denis Pujdak avatar
    34 posts
    Member since:
    Sep 2011

    Posted 08 Sep 2012 Link to this post

    I don't use SDK. Only Telerik. I correctly understood, what shall add reference library System.Windows.Controls from SDK's pack?

    {System.Windows.Markup.XamlParseException: The type 'GridSplitter' was not found because 'clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls' is an unknown namespace. [Line: 6 Position: 30] ---> System.InvalidOperationException: A ResourceDictionary '/Telerik.Windows.Themes.Transparent;component/Themes/Telerik.ReportViewer.Silverlight.xaml' cannot be found. Please make sure that references to the needed theme assemblies have been added to the project. ---> System.Exception: Error HRESULT E_FAIL has been returned from a call to a COM component.
       w MS.Internal.XcpImports.CheckHResult(UInt32 hr)
       w MS.Internal.XcpImports.SetValue(IManagedPeerBase obj, DependencyProperty property, String s)
       w MS.Internal.XcpImports.SetValue(IManagedPeerBase doh, DependencyProperty property, Object obj)
       w System.Windows.DependencyObject.SetObjectValueToCore(DependencyProperty dp, Object value)
       w System.Windows.DependencyObject.SetEffectiveValue(DependencyProperty property, EffectiveValueEntry& newEntry, Object newValue)
       w System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       w System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       w System.Windows.ResourceDictionary.set_Source(Uri value)
       w Telerik.Windows.Controls.Theme.GetCachedResourceDictionary(Uri uri)
       --- Koniec śladu stosu wyjątków wewnętrznych ---
       w Telerik.Windows.Controls.Theme.GetCachedResourceDictionary(Uri uri)
       w Telerik.Windows.Controls.Theme.GetResourceFromTheme(Theme theme, String controlAssembly, Type defaultStyleKeyType, Theme controlTheme)
       w Telerik.Windows.Controls.Theme.GetResourceValue(Type defaultStyleKey, Theme theme, Theme controlTheme)
       w Telerik.Windows.Controls.Theme.GetThemeStyle(Theme oldTheme, Type defaultStyleKey)
       w Telerik.Windows.Controls.Theme.Apply(FrameworkElement element, Theme oldTheme)
       w Telerik.Windows.Controls.StyleManager.OnThemeChanged(DependencyObject target, DependencyPropertyChangedEventArgs changedEventArgs)
       w Telerik.Windows.PropertyMetadata.PropertyChangeHook.OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
       w System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object oldValue, Object newValue)
       w System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
       w System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isBindingInStyleSetter)
       w System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       w Telerik.Windows.Controls.StyleManager.SetTheme(DependencyObject element, Theme value)
       --- Koniec śladu stosu wyjątków wewnętrznych ---
       w System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       w ReState.View.ReportsView.InitializeComponent()
       w ReState.View.ReportsView..ctor()}

    Telerik Silverlight v. 2012.2.903.1050
    Telerik.ReportViewer.Silverlight v. 6.1.12.611

  2. Answer
    Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 13 Sep 2012 Link to this post

    Hello,

    The Silverlight ReportViewer uses the GridSplitter control which is available as part of the libraries in the Silverlight Software Development Kit (SDK). In order to fix the error you should download and install the respective Silverlight SDK (4 or 5) and add a reference to the System.Windows.Controls assembly. By default it is located in C:\Program Files (x86)\Microsoft SDKs\Silverlight\v4.0\Libraries\Client\ (C:\Program Files (x86)\Microsoft SDKs\Silverlight\v5.0\Libraries\Client\).

    All the best,
    Chavdar
    the Telerik team

    BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

  3. DevCraft banner
  4. ADM-IT Denis Pujdak
    ADM-IT Denis Pujdak avatar
    34 posts
    Member since:
    Sep 2011

    Posted 14 Sep 2012 Link to this post

    OK. I know it. But I didn't want to load the program with alternative libraries (in addition 350Kb). It would be good when I could will get rid of SDK.

    Thanks.
Back to Top