How can I use ChildWindow

Jun 22, 2011 at 11:42 PM

Hi.
I show data in a datagrid. Now I wanna show detail-data in a ChildWindow if I click on a row.

Code showing detail:

        public void ShowDetailEmployee(Employee e)
        {
            AdressbuchDetailViewModel detailViewModel = new AdressbuchDetailViewModel(e);
            WindowManager winMngr = new WindowManager();
            winMngr.ShowDialog(detailViewModel);

        }

But the error is throwing:
Cannot find view for AdressbuchDetailViewModel.

How can I fix that?