diff --git a/blazorbootstrap/Components/Grid/GridDetailView.razor.cs b/blazorbootstrap/Components/Grid/GridDetailView.razor.cs index b24999b06..88a761bbd 100644 --- a/blazorbootstrap/Components/Grid/GridDetailView.razor.cs +++ b/blazorbootstrap/Components/Grid/GridDetailView.razor.cs @@ -29,6 +29,6 @@ protected override async Task OnInitializedAsync() builder.AddContent(100, ChildContent, rowData); }; - [CascadingParameter] + [CascadingParameter(Name = "Parent")] public Grid Parent { get; set; } = default!; } diff --git a/blazorbootstrap/Components/Grid/GridEmptyDataTemplate.razor.cs b/blazorbootstrap/Components/Grid/GridEmptyDataTemplate.razor.cs index 7cb0c3341..81ea04f3c 100644 --- a/blazorbootstrap/Components/Grid/GridEmptyDataTemplate.razor.cs +++ b/blazorbootstrap/Components/Grid/GridEmptyDataTemplate.razor.cs @@ -29,6 +29,6 @@ protected override async Task OnInitializedAsync() builder.AddContent(100, ChildContent); }; - [CascadingParameter] + [CascadingParameter(Name = "Parent")] public Grid Parent { get; set; } = default!; } diff --git a/blazorbootstrap/Components/Grid/GridLoadingTemplate.razor.cs b/blazorbootstrap/Components/Grid/GridLoadingTemplate.razor.cs index 53329b9a9..51ac498cd 100644 --- a/blazorbootstrap/Components/Grid/GridLoadingTemplate.razor.cs +++ b/blazorbootstrap/Components/Grid/GridLoadingTemplate.razor.cs @@ -29,6 +29,6 @@ protected override async Task OnInitializedAsync() builder.AddContent(100, ChildContent); }; - [CascadingParameter] + [CascadingParameter(Name = "Parent")] public Grid Parent { get; set; } = default!; }