This question is locked. New answers and comments are not allowed.
I am using RadGridView that shows details via RowDetailsTemplate when row is selected. I'm loading a view into the details template dynamically in RowDetailsVisibilityChanged event. This page when initialized loads some data that takes a few seconds to load. What's happening is there is a pause when the row is clicked until the view loads all the data in the background and then the view is shown. What I'm trying to do is separate the loading of view and Initializing the view. Therefore the view can show the processing indicator so the user know that click occurred properly. Is there a way to achieve this? Following is the code in my DetailsVisibilityChanged event:
Thanks
private void DataGrid_RowDetailsVisibilityChanged(object sender, Telerik.Windows.Controls.GridView.GridViewRowDetailsEventArgs e){ var contentControl = (e.DetailsElement as ContentControl); if (contentControl.Content == null) { var ti = e.Row.DataContext as someObject; IPresentationModelBase pmBase = Model.InstantiateItemDetailsPM(); IView viewObj = pmBase.ViewObj; //This should show the processing indicator contentControl.Content = viewObj; //Which processing, initializing should occur. Model.InitializeItemDetailsPM(pmBase, ti); }}Thanks