Could not find 'Radzen.repositionPopup'

In the DropDown component, when a I have the parameter AllowClear in true and I click on the X, I get the following error:

blazor.webassembly.js:1 
 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: Could not find 'Radzen.repositionPopup' ('repositionPopup' was undefined).
      Error: Could not find 'Radzen.repositionPopup' ('repositionPopup' was undefined).
          at https://localhost:44310/_framework/blazor.webassembly.js:1:1287
          at Array.forEach (<anonymous>)
          at e.findFunction (https://localhost:44310/_framework/blazor.webassembly.js:1:1247)
          at b (https://localhost:44310/_framework/blazor.webassembly.js:1:2989)
          at https://localhost:44310/_framework/blazor.webassembly.js:1:3935
          at new Promise (<anonymous>)
          at Object.beginInvokeJSFromDotNet (https://localhost:44310/_framework/blazor.webassembly.js:1:3908)
          at Object.w [as invokeJSFromDotNet] (https://localhost:44310/_framework/blazor.webassembly.js:1:64232)
          at _mono_wasm_invoke_js_blazor (https://localhost:44310/_framework/dotnet.5.0.10.js:1:190800)
          at do_icall (https://localhost:44310/_framework/dotnet.wasm:wasm-function[10596]:0x194e4e)
Microsoft.JSInterop.JSException: Could not find 'Radzen.repositionPopup' ('repositionPopup' was undefined).
Error: Could not find 'Radzen.repositionPopup' ('repositionPopup' was undefined).
    at https://localhost:44310/_framework/blazor.webassembly.js:1:1287
    at Array.forEach (<anonymous>)
    at e.findFunction (https://localhost:44310/_framework/blazor.webassembly.js:1:1247)
    at b (https://localhost:44310/_framework/blazor.webassembly.js:1:2989)
    at https://localhost:44310/_framework/blazor.webassembly.js:1:3935
    at new Promise (<anonymous>)
    at Object.beginInvokeJSFromDotNet (https://localhost:44310/_framework/blazor.webassembly.js:1:3908)
    at Object.w [as invokeJSFromDotNet] (https://localhost:44310/_framework/blazor.webassembly.js:1:64232)
    at _mono_wasm_invoke_js_blazor (https://localhost:44310/_framework/dotnet.5.0.10.js:1:190800)
    at do_icall (https://localhost:44310/_framework/dotnet.wasm:wasm-function[10596]:0x194e4e)
   at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__15`1[[System.String, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Radzen.DropDownBase`1.<DebounceFilter>d__68[[System.Int32, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Radzen.DropDownBase`1.<OnFilter>d__71[[System.Int32, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Radzen.DropDownBase`1.<ClearAll>d__47[[System.Int32, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)

I checked I have the Radzen.Blazor.js in the index.html in the Client project.

Try to clear your browser cache.

2 Likes

Thanks @enchev , it worked!