Hi
I am having a strange problem;
In my application I have a shell with a region "MainView", that holds a mainview; Inside the mainview, I have a 2 tabs, each of them has its own region (with different names). Both views that register to the regions using RegisterViewWithRegion are working and everything is ok. BTW regions are declared as contentControl.
Now my problem is that I want to add a region to the internal view that sits on the second tab.
When I add this to the XAML (Without register nothing in the code)
<ContentControl rgn:RegionManager.RegionName="Test123" />
- the application hangs for a minute in some loop in the region creation, and ends up with exception that hold many many exceptions inside - copy the exception text to notepad shows 70,000 lines.
Any idea why?
My guess is that the RegisterViewWithRegion is creating the parent window, and wants to create the region, but the tab is not selected so its not loaded yet, and this cause some mess with the region manager.
Link to the log file (~14 Mega)
Thanks for any help,
Ady.