protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); var key = GetFromQuerystring(); if (!String.IsNullOrEmpty(key)) { _viewModel.Report = _viewModel.GetArchivedReport(key); DataContext = _viewModel.Report; } }
protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); var key = GetFromQuerystring(); if (!String.IsNullOrEmpty(key)) { _viewModel.Report = _viewModel.GetArchivedReport(key); DataContext = _viewModel.Report; } }