I have a TelerikWindow containing a TelerikGrid, with EditMode="inline" and an "Add" TelerikGridCommandButton:
<TelerikWindow>
<TelerikWindowContent>
<TelerikGrid Data=@ScheduledJobs EditMode="inline">
<TelerikGridToolBar>
<TelerikGridCommandButton Command="Add" Icon="add"></TelerikGridCommandButton>
</TelerikGridToolBar>
<TelerikGridColumns>
<TelerikGridColumn Field=@nameof(ScheduledJob.DateTime) Title="Date" />
</TelerikGridColumns>
</TelerikGrid>
</TelerikWindowContent>
</TelerikWindow>
At run-time when I click the "Add" button in the grid I get the following error:
Microsoft.JSInterop.JSException: Could not find 'TelerikBlazorDateInput' in 'window'.
Error: Could not find 'TelerikBlazorDateInput' in 'window'.
at https://localhost:5000/_framework/blazor.server.js:8:20878
at Array.forEach (<anonymous>)
at d (https://localhost:5000/_framework/blazor.server.js:8:20839)
at https://localhost:5000/_framework/blazor.server.js:8:21429
at new Promise (<anonymous>)
at e.beginInvokeJSFromDotNet (https://localhost:5000/_framework/blazor.server.js:8:21403)
at https://localhost:5000/_framework/blazor.server.js:1:16653
at Array.forEach (<anonymous>)
at e.invokeClientMethod (https://localhost:5000/_framework/blazor.server.js:1:16624)
at e.processIncomingData (https://localhost:5000/_framework/blazor.server.js:1:14624)
at async void Telerik.Blazor.Components.DateInput.TelerikDateInputBase.OnAfterRender()
at void System.Threading.Tasks.Task.ThrowAsync(Exception exception, SynchronizationContext targetContext)+(object state) => { }
at void Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteSynchronously(TaskCompletionSource<object> completion, SendOrPostCallback d, object state)
at void Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecutionContextThunk(object state)
at void Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.ExecuteBackground(WorkItem item)
If I change the data type of the column from DateTime to string, this error goes away.
Please assist?