How to get result from Dialog

18 views
Skip to first unread message

Caos

unread,
May 23, 2012, 12:28:15 AM5/23/12
to magellan-friends
Hi, I use Navigation framework of Magellan and I got some trouble
here.
I've button command in ViewModel of Page, the button command is going
to show a Dialog :

//ViewModel (Button Command)
Navigator.Navigate<HomeController>(x =>
x.Defect(ScrapModel.DefectDtos.Defects));

//Controller
public ActionResult Defect(List<DefectDto> defects)
{
return Dialog("DefectDialog", new DefectViewModel(defects));
}

and when I finish work with dialog I want viewmodel to know dialog
result to perform task after that
Reply all
Reply to author
Forward
0 new messages