GridView Windows7 Theme errors: The property 'PlusMinusTemplate' was not found in type 'Telerik.Windows.Controls.GridViewToggleButton

5 posts, 0 answers
  1. Angie
    Angie avatar
    33 posts
    Member since:
    Jul 2010

    Posted 06 Oct 2010 Link to this post

    When i try to add windows7 Theme to gridview it errors out i got the latest telerik updated silverlight controls

    Here is the detailed error

    System.Windows.Markup.XamlParseException occurred
      Message=The property 'PlusMinusTemplate' was not found in type 'Telerik.Windows.Controls.GridViewToggleButton'. [Line: 5 Position: 30]
      LineNumber=5
      LinePosition=30
      StackTrace:
           at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
           at RAMDirectHomeowners.View.LiabilityUnderwritting.InitializeComponent()
           at RAMDirectHomeowners.View.LiabilityUnderwritting..ctor()
      InnerException: System.InvalidOperationException
           Message=A ResourceDictionary '/Telerik.Windows.Themes.Windows7;component/Themes/Telerik.Windows.Controls.GridView.xaml' cannot be found. Please make sure that references to the needed theme assemblies have been added to the project.
           StackTrace:
                at Telerik.Windows.Controls.Theme.GetCachedResourceDictionary(Uri uri)
                at Telerik.Windows.Controls.Theme.GetResourceFromTheme(Theme theme, String controlAssembly, Type defaultStyleKeyType, Theme controlTheme)
                at Telerik.Windows.Controls.Theme.GetResourceValue(Type defaultStyleKey, Theme theme, Theme controlTheme)
                at Telerik.Windows.Controls.Theme.GetThemeStyle(Theme oldTheme, Type defaultStyleKey)
                at Telerik.Windows.Controls.Theme.Apply(FrameworkElement element, Theme oldTheme)
                at Telerik.Windows.Controls.StyleManager.OnThemeChanged(DependencyObject target, DependencyPropertyChangedEventArgs changedEventArgs)
                at Telerik.Windows.PropertyMetadata.<>c__DisplayClass1.<Create>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.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet)
                at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
                at Telerik.Windows.Controls.StyleManager.SetTheme(DependencyObject element, Theme value)
           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)
                     at System.Windows.ResourceDictionary.set_Source(Uri value)
                     at Telerik.Windows.Controls.Theme.GetCachedResourceDictionary(Uri uri)
                InnerException:
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 07 Oct 2010 Link to this post

    Hi Ravindranath,

    I was not able to get this exception during extracting the template of the GridViewToogleButton. Please check the attached project and if that is not the case modify it and sent it back to me.

    Best wishes,
    Vanya Pavlova
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Bård-Inge
    Bård-Inge avatar
    8 posts
    Member since:
    Jun 2008

    Posted 12 Oct 2010 Link to this post

    I get the same exception with YOUR project...there is obviously a problem here....

    Br
    Bård
  5. Angie
    Angie avatar
    33 posts
    Member since:
    Jul 2010

    Posted 12 Oct 2010 Link to this post

    Obvious problem is your Telerik.Windows.Control.GridView.dll is version 2010.2.812.1040 mine is 2010.2.714.1040. Even if i run an update on my extension manager I don't get this dll question is why? I currently have installed Telerik.Silverlight Controls version 2010.2.929.0 . I also have attached the image of what extension manager shows me. I went to the website version you guys have and its 2010.2 924 (Sep 24, 2010). So i guess i'm having the most latest version. Wonder why i don't have latest Telerik.Windows.Control.GridView.dll
  6. Angie
    Angie avatar
    33 posts
    Member since:
    Jul 2010

    Posted 12 Oct 2010 Link to this post

    OK i resolved the issue i removed all my Telerik.dll's and replaced it with latest. I thought Telerik Upgrade wizard do this automatically but looks like it doesn't
Back to Top
DevCraft banner