Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge jserrors-update-1920 into production #1921

Merged
merged 1 commit into from
Feb 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions troubleshooting/js-errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ If you get such errors, the reason may be:
* [The `defer` attribute causes the script to load and execute too late](#defer-attribute)
* [The Blazor framework initializes too early](#blazor-autostart)
* [TypeScript `exports` workaround break Telerik Blazor](#typescript)
* [A result of a syntax error in old browser](#syntaxerror-unexpected-token)

### Missing File

Expand Down Expand Up @@ -87,6 +88,7 @@ By default, TypeScript results in compiled code that needs the `exports` object,

The error message may mention a component or feature initialization method, for example:

* `Microsoft.JSInterop.JSException: Could not find 'TelerikBlazor.initCard' ('initCard' was undefined)`.
* `Error: Microsoft.JSInterop.JSException: Could not find 'initGrid' in 'window.TelerikBlazor'.`
* `Error: Could not find 'TelerikBlazorPopup' in 'window'.`
* `Error: Could not find 'TelerikBlazor.columnResizableSetColumns' ('columnResizableSetColumns' was undefined).`
Expand Down Expand Up @@ -122,6 +124,8 @@ This section applies to JavaScript errors similar to `Unexpected token` or `Inva
Such errors indicate an outdated browser version, WebView, or emulator, which doesn't support recent ECMAScript standards.
[Microsoft Blazor supports only current browsers](https://learn.microsoft.com/en-us/aspnet/core/blazor/supported-platforms). The [browser support policy for Telerik UI for Blazor]({%slug system-requirements%}) is the same.

A syntax error will cause the browser to discard the whole `telerik-blazor.js` file, which will also lead to error `Could not find 'TelerikBlazor.initMediaQuery' ('TelerikBlazor' was undefined)`.

## KeyNotFoundException: The given key inputElementValue was not present

The full exception message is `System.Collections.Generic.KeyNotFoundException: The given key 'inputElementValue' was not present in the dictionary.`
Expand Down
Loading