Missing RestoreIcon1 Resource for RadTileView

2 posts, 0 answers
  1. Ben
    Ben avatar
    1 posts
    Member since:
    Feb 2016

    Posted 19 Apr Link to this post

    I'm trying to use a RadTileView for a project and it is throwing an exception when I open the tiles. They open for a few seconds and then the following exception is thrown:

    System.InvalidOperationException: 'RestoreIcon1' name cannot be found in the name scope of 'System.Windows.Controls.Grid'.<br>   at System.Windows.Media.Animation.Storyboard.ResolveTargetName(String targetName, INameScope nameScope, DependencyObject element)<br>   at System.Windows.Media.Animation.Storyboard.ClockTreeWalkRecursive(Clock currentClock, DependencyObject containingObject, INameScope nameScope, DependencyObject parentObject, String parentObjectName, PropertyPath parentPropertyPath, HandoffBehavior handoffBehavior, HybridDictionary clockMappings, Int64 layer)<br>   at System.Windows.Media.Animation.Storyboard.ClockTreeWalkRecursive(Clock currentClock, DependencyObject containingObject, INameScope nameScope, DependencyObject parentObject, String parentObjectName, PropertyPath parentPropertyPath, HandoffBehavior handoffBehavior, HybridDictionary clockMappings, Int64 layer)<br>   at System.Windows.Media.Animation.Storyboard.BeginCommon(DependencyObject containingObject, INameScope nameScope, HandoffBehavior handoffBehavior, Boolean isControllable, Int64 layer)<br>   at System.Windows.VisualStateGroup.StartNewThenStopOld(FrameworkElement element, Storyboard[] newStoryboards)<br>   at System.Windows.VisualStateManager.GoToStateInternal(FrameworkElement control, FrameworkElement stateGroupsRoot, VisualStateGroup group, VisualState state, Boolean useTransitions)<br>   at System.Windows.VisualStateManager.GoToStateCommon(FrameworkElement control, FrameworkElement stateGroupsRoot, String stateName, Boolean useTransitions)<br>   at System.Windows.Controls.Primitives.ButtonBase.ChangeVisualState(Boolean useTransitions)<br>   at System.Windows.Controls.Primitives.ToggleButton.ChangeVisualState(Boolean useTransitions)

    The XAML I'm using for the RadTileView is as follows:

    <telerik:RadTileView ItemsSource="{Binding FieldViewModels}"/>

    Where FieldViewModels is a IReactiveList.

    I've searched the solution for RestoreIcon1 and can't find anything, so I can only guess that it's something in the RadTileView itself? Has anyone else had this problem? Can anyone think of a solution?

  2. Martin
    Admin
    Martin avatar
    60 posts

    Posted 20 Apr Link to this post

    Hi Ben,

    Unfortunately, I cannot reproduce the problem, so I would ask you if you could provide some more information - which product version you are using, is it the latest one, which theme are you using, and if you could attach a project or a code snippet of the customization you have made. My best guess for now is to update to the latest version or test the trial version to see if the problem persists.

    Regards,
    Martin
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top