I use MVVM light toolkit in WPF application and I get data from external source. My MainViewModel c'tor look like that:
public MainViewModel()
{
try
{
GetData();
}
catch (Exception e)
{
//here i want to show error dialog
}
}
I cannot send message (like it done here) to view because ModelView is created before View so there is nobody that can receive message and show dialog. What is the right way to solve this problem?