Hello.
I am trying to use Empty GridView Message Content of GridView in SDK.
I saw an error when using GridView Empty inside a TabControl.
How do I solve this part?
EmptyGridViewMessageBehavior.cs
private void InsertAdditionalContentControl()
{
if (this.additionalContentControl.Content != this.messageContent)
{
this.additionalContentControl.Content = this.messageContent;
}
var rootGrid = this.gridView.FindChildByType<Grid>(); // rootGrid is Null.
rootGrid.Children.Add(this.additionalContentControl); // System.NullReferenceException
}
//If I put TabControl, TabItem instead of Grid in FindChildByType<Grid>, rootGrid.Children could not be resolved.
Thanks.