Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.83 KB

keynotfoundexception-inputelementvalue.md

File metadata and controls

56 lines (36 loc) · 1.83 KB
title description type page_title slug position tags ticketid res_type
Error KeyNotFoundException About Key inputElementValue
How to troubleshoot and fix exception error Error KeyNotFoundException The given key inputElementValue was not present in the dictionary
troubleshooting
Error KeyNotFoundException - the given key inputElementValue was not present in the dictionary
common-kb-keynotfoundexception-inputelementvalue
telerik, blazor, exception, error
1604193, 1602978, 1601905, 1601905
kb

Environment

Product UI for Blazor

Description

When I use Add, Delete or Edit Commands in the Grid, I get an error KeyNotFoundException about a key inputElementValue not present in the dictionary.

A date field in the Grid popup editing is crashing.

When I set the focus on a DatePicker or DateInput and tab to switch to another component, I get an error.

Error Message

System.Collections.Generic.KeyNotFoundException: The given key 'inputElementValue' was not present in the dictionary.

Possible Cause

This error indicates that the app is using an old or wrong version of the telerik-blazor.js file, for example, after a component version upgrade.

Solution

To resolve the error:

  • (if using CDN) Update the telerik-blazor.js file URL to the correct version.
  • (if using static assets) Clear the browser cache and add a cache buster for the Telerik CSS and JavaScript files.
  • (if using a local JS file) Replace the telerik-blazor.js file with the new version.

See Also

  • Telerik UI for Blazor version upgrade steps
  • JavaScript error troubleshooting