I am using a RadGridView with a custom GridViewTemplate. Inside that template I simply have an image call "MyImage". Now on the MouseButtonUp event I am triggering certain things...not important, but what is important is that I would like to animate that image based on it's click state.
I created a little sprite (=test app) to build that animation using Blend and VisualStateManager. I copied over the VisualStateManager Xaml block. But now when I click the image in run time I get an exception. "....bla bla TargetName "MyImage" cannot be resolved/found".
So, in essence the VisualStateMange and the therein contained StoryBoard are not able to "find" the "MyImage" image control inside the my custom GridViewColumnTemplate.
What can I do?
Thanks
--tolga