Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RoutedViewHost - System.ArgumentException (PART_Container not found) #63

Closed
ChrisWay opened this issue May 3, 2012 · 5 comments
Closed
Labels

Comments

@ChrisWay
Copy link
Contributor

ChrisWay commented May 3, 2012

Just trying to play with the new routing functionality, I've added a RoutedViewHost to my Window but it is throwing the above exception in the designer and when running the app.

I've created a test app to demonstrate. I expect I've missed something simple!

@ChrisWay
Copy link
Contributor Author

ChrisWay commented May 3, 2012

Here is the full stack trace:

System.ArgumentException
PART_Container not found.
at ReactiveUI.Xaml.TransitioningContentControl.TransitioningContentControlLoaded(Object sender, RoutedEventArgs e) in Z:\Dropbox\ReactiveUI_External\ReactiveUI.Xaml\TransitioningContentControl.cs:line 294
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.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

@anaisbetts
Copy link
Member

You've hit a bug in RxUI 3.1 actually, I'm making RxUI 3.1.1 today which should resolve it

@ChrisWay
Copy link
Contributor Author

ChrisWay commented May 3, 2012

Nice one!

@ChrisWay
Copy link
Contributor Author

ChrisWay commented May 7, 2012

Hi Paul

I still seem to be having the same issue after updating to 3.1.1. It's still throwing the exception in the designer but it seems to be getting caught somewhere in your code at run time.

@ChrisWay
Copy link
Contributor Author

ChrisWay commented May 8, 2012

Seems all OK in 3.1.2. Thanks!

@lock lock bot added the outdated label Jun 26, 2019
@lock lock bot locked and limited conversation to collaborators Jun 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants