Hi,
we get an exception when we try to open a ChildWindow control from a XamGrid context menu. It seems like this issue has been discussed in the forum one year ago: http://forums.infragistics.com/forums/p/31684/216645.aspx
Has this issue been fixed already?
The ChildWindow is completely empty (no other controls on it), but we still get the exception: “Cannot resolve TargetName contentPresenter”.
Cheers,
Enrico
I've tried to reproduce the described issue but with no success. Would it be possible to provide a sample application where you reproduce the issue or to provide more information about your scenario? Also, could you check the version and build of the product you are using (like: version 10.3.20103, build 2098).
Regards,
I just had some time to occupy myself with that problem again.
Whenever I open a ChildWindow on a page where a XamGrid is visible, an ApplicationUnhandledException will be thrown.
{System.InvalidOperationException: Cannot resolve TargetName contentPresenter. bei MS.Internal.XcpImports.VisualStateManager_GoToState(Control reference, String StateName, Boolean useTransitions, Boolean& refreshInheritanceContext) bei System.Windows.VisualStateManager.GoToState(Control control, String stateName, Boolean useTransitions) bei System.Windows.Controls.Primitives.Thumb.UpdateVisualState(Boolean useTransitions) bei System.Windows.Controls.Primitives.Thumb.OnIsEnabledChanged(IsEnabledChangedEventArgs e) bei System.Windows.Controls.Control.OnIsEnabledChanged(Control control, EventArgs args) bei MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)}
This behavior is not with the default XamGrid style, only with the style from the theme Office2010Blue.xamGrid.xaml, so it seems to be an issue with the Office2010 style.
I have this behavior an different development machines, so you should be able to reproduce it using the Office2010 style.
BTW: I'm using version: 10.3.20103.2065
Could you please check this for me.
Thanks,
Hey Enrico,
Thanks for finding the problem. I attached an updated Office2010 Blue style which is newer than the build you're using. Please use this and report back if you have any more issues.
Thanks alot, the new style solves my issue.
I am also facing the same issue when i open a childwindow in my application,
could you please help me in resolving my issue.
Thanks.