I have a RadTabControl as a region in my application for loading settings/lists that will be used throughout my application.
I would like to load the associated view into the RadTabRegion when the user selects an option from a listbox on the left hand side of the screen.
The listbox on the left hand side of the screen pulls all the options from a database and also holds the name of the view I want to navigate to(probably not the best solution but these are pulled from the database based on the users permissions)
There could be over a dozen of these views. I would like to load all these views into the region but I don't want them visible until I call RegionManager.RequestNavigate(a method will be called in the viewmodel when the user selects an option from
From what I know the options to load the views are:
RegionManager.RegisterViewWithRegion - This will load the view into the region when the region is active, so I don't think I can use this, also I don't think I can use this as I need to use the view name when calling RegionManager.RequestNavigate
Region.Add - I have used this before and it work as I wanted, I could add the view to the region and then deactivate it. I can't use this as when I try to activate it I get an error that it can't be deactivated in this type of region(RadTabRegion).
I'm stumped at this stage, can anyone think of any else I can try.