How to add region and change views in a Dialog

Topics: Prism v2 - WPF 3.5, Prism v2 - WPF 4, Prism v4 - Silverlight 4, Prism v4 - WPF 4
Jun 17, 2013 at 11:59 AM
Hi,

we have a requirement to create region in the dialog window and the content of the window , i.e the views are changed, one time we need to display a Pdf viwer control and clicking on another button should change the view into a grid.

We have a shell.xaml and a single module . we are opening the dialog from shell via Interactivity request /popuwindow action. How do we create region in a dialog ,where do we register views How should we create/register view in the region in popup and dynamically add/change the views.pls need your suggestions.

Regards
Krishna
Jun 17, 2013 at 4:24 PM
Hi,

Supposing you are working on WPF, I believe you can find the following blog post by Damian Cherubini useful, since it explains how to use a custom PopupWindowAction so you can define regions inside it.

If that doesn't help you or you are not working on WPF, it would be useful if you can provide more information about your scenario.

Regards,

Federico Martinez
http://blogs.southworks.net/fmartinez