I'm using Prism 2 with Silverlight 2. I've looked at the Popup region adapter logic in the StockTrader application (RegionPopupBehaviors.cs and associated logic) and have used the same logic in my application. It means I can assign a region to a popup
and load a view into that region and is working well except if I put any listboxes in the content within the popup and then click on them I get the following error : System.Exception: Catastrophic failure (Exception from HRESULT: 0x8000FFFF
(E_UNEXPECTED)). Looking on the net it seems it might be related to the registering of the popup with the visual tree. I've set the popup region in my shell.xaml and am referencing that region from other modules successfully but crashes with
listboxes. Just wondering if anyone had any ideas. I'm going to look into more to see if I can see what it might be.
This is the reference code in my shell.xaml (I'm using the same namespace for now as the StockTrader application)