In Radzen Blazor Studio, when defining a component by inheriting from RadzenDataGrid (here in SOURCE mode):
@typeparam TItem
@using Radzen
@using Radzen.Blazor
@inherits RadzenDataGrid<TItem>
<div>
-------
</div>
@{
// Display the base RadzenDataGrid that we are inheriting from.
base.BuildRenderTree(__builder);
}
An error “'string' is not a member of type 'Radzen.Server.Arg0'” occurs in DESIGN mode.
The same code works when inheriting from “RadzenSpeechToTextButton” in place of “RadzenDataGrid”.
I am doing something wrong.
Note that I can still use the new component elsewhere in my application, but fixing the issue will permit to use Radzen Blazor Studio in DESIGN mode.
Thank you very much.
Hervé