This question is locked. New answers and comments are not allowed.
Hi,
I have made a user control which shows may dashboards. These dashboards contain gridviews.
For each gridview, i have implemented EmptyDataTemplateBehavior. It works fine when I run it individually.
When I run the integrated screen, EmptyDataTemplateBehavior causes a crash. When i debugt , the source of "gridView.ChildrenOfType<Grid>()" comes as null in the following line:
Grid rootGrid = gridView.ChildrenOfType<Grid>()[1];
Please let me know how to make this work on a screen containing several gridviews.
Thanks.
I have made a user control which shows may dashboards. These dashboards contain gridviews.
For each gridview, i have implemented EmptyDataTemplateBehavior. It works fine when I run it individually.
When I run the integrated screen, EmptyDataTemplateBehavior causes a crash. When i debugt , the source of "gridView.ChildrenOfType<Grid>()" comes as null in the following line:
Grid rootGrid = gridView.ChildrenOfType<Grid>()[1];
Please let me know how to make this work on a screen containing several gridviews.
Thanks.