Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: Issue in getiing the view name for showing the dialog in wpf prism

$
0
0
Hi,

I was able to design the page into 3 regions , the middle region is dynamically loaded with different views.
The first region has a view , on click of a button I want to show a modal dialog , Currently I am facing an issue in showing that.
Can you please share if you have any links or code so that I can refer and work upon.

I have a View,ViewModel, Model,DAL

The button command is present in the viewmodel. On click of it , I am first getting the regionname and then I am struck when I want to retrieve the View (GetView (typeof(viewname) ,, the reason being ViewModel doesn't have reference of view . Already i created a reference of viewmodel in view and if i try to dao it viceversa circulardependncy occurs. I need to get the viewname .\
Should I change any architecture here. (view,viewmodel,model,DAL)

Need urgent help in this regard.

Regards
Krishna

Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>