Hi to all friends out there.
I have view in my region defined in shell.My view load perfectly fine and i need to change view on user action in that Region.
When i am tring to remove it by using remove method of regionManager it is giving error
"The region does not contain the specified view.
Parameter name: view"
I added my view in this view to shell in this way.
I am able to remove view by using IViewsCollection like this way:
IViewsCollection regionlist= _region.Regions["RegionA"].Views;
foreach (var item in regionlist)
By this view gets remove.
So my question is that by this method it remove all views in this region.How i can remove particular View in that REGION and why it give error when i use remove method mentioned above.
Thanks in advance.