I just performed an upgrade of our Telerik UI for MVC from version 2021.1.119.545 to 2022.3.1109 via the Upgrade Wizard on the VS 2022 Telerik extension. But now some of the javascript code is not working properly, in particular the tabStrip disable function. Here is an example of the code that previously worked fine...
var tabStrip = $("#formTabStrip").kendoTabStrip().data("kendoTabStrip");
tabStrip.disable(tabStrip.tabGroup.children().eq(5)); <== no longer works after upgrade
Any idea why this may be happening?
Thanks!

Hello,
I am Kendo Grid in MVC
The grid is set up for in-cell batch editing. One of the fields is a date field. If the date is selected using date picker the value stays in the cell, whereas if the date value is manually entered the value does not hold in the cell. Any suggestions why the value is not holding in the cell when manually entered.
Thank you


In CSP we were using script-src 'self' 'unsafe-inline'
but for security purpose need to remove 'unsafe-inline' , we added 'nonce-a9f04fd1-06cf-4948-9d66-ea306e581896' for inline script.
applied nonce for inline script
<script type="text/javascript" nonce="a9f04fd1-06cf-4948-9d66-ea306e581896">
</script>
but after applying these change kendo controls not working. Our assumption is there are dynamic inline scripts generated for kendo controls which not contains nonce. so it may cause an issue.
we also tried DeferredScripts but no success. after applying 'unsafe-inline' it works.
<script type="text/javascript" nonce="a9f04fd1-06cf-4948-9d66-ea306e581896">
@Html.Kendo().DeferredScripts()
</script>
Please suggest as we want to remove 'unsafe-inline' with kendo controls need to work.

Hi,
I have a razor page that implements a grid. I want to use javascript to set / unset the dirty markers for certain fields in the grid when there is an error.
I have searched this forum and google'd the problem, but I cannot get anything to work.
I tried :
Tried these suggestions:
Can I please get a simple example of when the on error fires the js function runs and marks / unmarks a cell dirty and the grid reflects those changes?
Here is a simplified example from a different post:
function onError(e) {
// got any error messages
if (e.errors) {
e.preventDefault();
var grid = $("#grid").data("kendoGrid");
var data = grid.dataSource.data();
for (var i = 0; i < data.length; i++) {
data[i].dirty = true;
}
grid.refresh();
}
}
Thank you for your help.
Good day,
How do I validate the content of a file on the upload event? I want to read the contents of an excel file and get a distinct list from one of the columns. Thank you.
Regards,
Jerome
Hello,
In Page load, I need to populate date field from database. I am trying to do using ASP.NET MVC Kendo().textbox(). Please share some sample code or advice.
Thanks in advance.
Thanks,

Hi,
I would like to know if it is possible to Bind a Grid to a property of an object which is a list of primitive type (i.e. a List<string>).
My ViewModel is something like that:
public class ExampleViewModel
{
public SomeType { get; set; }
public SomeOtherType { get; set; }
public List<string> SomeValues { get; set; }
}And I imagined I could build the grid like that:
Html.Kendo().Grid<string>(Model.SomeValues)
.Name("SomeValuesGrid")
.Columns(columns => columns.Bound(x => x))As you understand, it would be a very simple grid consisting of only one column, with each row displaying one of the string values.
Is it possible, or can grid only work with objects and not with primitive types?
If I do that, it is to keep the Kendo's grid visual style, instead of manually writing and styling a table.
Thanks for your help.

