Hello,
I have a xamRibbon and a buttontool with Id 24 on the ribbon, but i get this error.
An item with the specified TargetId '24' being added to the QuickAccessToolbar is not registered with the associated XamRibbon. at Infragistics.Windows.Ribbon.QatPlaceholderTool.VerifyAssociatedTool() at Infragistics.Windows.Ribbon.QatPlaceholderTool.VerifyAssociatedTarget() at Infragistics.Windows.Ribbon.QatPlaceholderTool.OnLoaded(Object sender, RoutedEventArgs e) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent) at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root) at MS.Internal.LoadedOrUnloadedOperation.DoWork() at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
As long as you add the tools to the ribbon first and then add the qat items this should work. If you still have an issue then please provide a sample that demonstrates the problem and we can look into this issue.
There is a xamribbon and some items on the qat in my window. I have a switch user button and when I click the button I change the user, get user's menu items and refresh the ribbon (some menu items goes from ribbon and some new menu items comes to the ribbon) Then I clear qat and get new user's qat items. I put the new items on the qat, everything works fine but i get that error. I realize that, the item that causes the error on the qat does not exists on the old user's ribbon menu items but it exists on the new user's ribbon menu items.
I'm not aware of any issues specific to what you are describing. Can you provide a sample that demonstrates the issue?