UXGridView exception with UXGridViewExpanderColumn and BusyIndicator

3 replies. Last post: December 12, 2012 5:58 PM by Ezekiel Hunter
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

There's an exception that occurs with the UXGridView when dealing with a UXGridViewExpanderColumn and BusyIndicator (both the Silverlight Toolkit BusyIndicator and UXBusyIndicator behave the same way) when binding to a items source. Taking away either component seems to make the exception go away, which is an unacceptable solution as I need to have busy indicator in place and would like an UXGridView with row details. The exception occurance also seems very finicky as using a different data source seems to make it behave better (also unacceptable).

It probably took me 3-4 hours to figure out the source of this bug, and another 2-3 hours to create a an app in its simpliest form to re-create the exception so you could see it. The sample app I created is here (only dependency it has is Silverlight 4 Toolkit and Client UI v5):

http://www.bitspy.com/UXGridViewTest_05_15_2011.zip

In the above app there's a "Submit" button, the exception occurs on the second submit. Thanks for looking into this.

The exception that occurs is :

Cannot resolve TargetName StylishLabel.

at MS.Internal.XcpImports.VisualStateManager_GoToState(Control reference, String StateName, Boolean useTransitions, Boolean& refreshInheritanceContext)
at System.Windows.VisualStateManager.GoToState(Control control, String stateName, Boolean useTransitions)
at System.Windows.Controls.Button.ChangeVisualState(Boolean useTransitions)
at System.Windows.Controls.Button.OnApplyTemplate()
at Intersoft.Client.Framework.ISButton.OnApplyTemplate()
at Intersoft.Client.UI.Aqua.UXButton.OnApplyTemplate()
at Intersoft.Client.UI.Aqua.UXToggleButton.OnApplyTemplate()
at System.Windows.FrameworkElement.OnApplyTemplate(IntPtr nativeTarget)

Stacktrace:

at MS.Internal.XcpImports.VisualStateManager_GoToState(Control reference, String StateName, Boolean useTransitions, Boolean& refreshInheritanceContext)
at System.Windows.VisualStateManager.GoToState(Control control, String stateName, Boolean useTransitions)
at System.Windows.Controls.Button.ChangeVisualState(Boolean useTransitions)
at System.Windows.Controls.Button.OnApplyTemplate()
at Intersoft.Client.Framework.ISButton.OnApplyTemplate()
at Intersoft.Client.UI.Aqua.UXButton.OnApplyTemplate()
at Intersoft.Client.UI.Aqua.UXToggleButton.OnApplyTemplate()
at System.Windows.FrameworkElement.OnApplyTemplate(IntPtr nativeTarget)


All times are GMT -5. The time now is 2:44 PM.
Previous Next