radzenhq / radzen-blazor

Radzen Blazor is a set of 90+ free native Blazor UI components packed with DataGrid, Scheduler, Charts and robust theming including Material design and FluentUI.
https://www.radzen.com
MIT License
3.52k stars 786 forks source link

Could not find 'Radzen.createDatePicker' #1431

Closed DanielPitthan closed 6 months ago

DanielPitthan commented 6 months ago

After updating the system to the latest version, 4.28.3, the system presented the error below Procedure to reproduce Install the nuget version 4.28.4 through visual studio, in a Blazor Server project, use the DataPicker component, as follows <RadzenDatePicker @bind-Value="variable" DateFormat="dd/MM/yyyy" Change="OnChangeAction">

--------Error--------- Error: Could not find 'Radzen.createDatePicker' ('createDatePicker' was undefined). at http://localhost:5191/_framework/blazor.server.js:1:734 at Array.forEach () at l.findFunction (http://localhost:5191/_framework/blazor.server.js:1:702) at _ (http://localhost:5191/_framework/blazor.server.js:1:5445) at http://localhost:5191/_framework/blazor.server.js:1:3238 at new Promise () at y.beginInvokeJSFromDotNet (http://localhost:5191/_framework/blazor.server.js:1:3201) at Yt._invokeClientMethod (http://localhost:5191/_framework/blazor.server.js:1:61084) at Yt._processIncomingData (http://localhost:5191/_framework/blazor.server.js:1:58559) at Yt.connection.onreceive (http://localhost:5191/_framework/blazor.server.js:1:52200) at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args) at Microsoft.JSInterop.JSRuntimeExtensions.InvokeVoidAsync(IJSRuntime jsRuntime, String identifier, Object[] args) at Radzen.Blazor.RadzenDatePicker`1.OnAfterRenderAsync(Boolean firstRender) at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

ryc76 commented 6 months ago

I can confirm the same issue. I've just updated via Nuget to 4.28.3 and get Error: Could not find 'Radzen.createDatePicker' ('createDatePicker' was undefined).

akorchev commented 6 months ago

Check this forum thread: https://forum.radzen.com/t/error-after-update-with-no-code-change/16773