Hi,
in our company we are testing migration Migration Telerik ASP.NET MVC from 2016.3.1028.545 to 2022.1.119.545.
Our app now is working with .NET 4.8.
We have upgrade all microsoft asp.net mvc references to make compatibles with new teleric dll.
We have migrated dll through upgrade wizard (Api Analyzer didnt work, when we have select all selection it began to run and swicht off)
We have changed all scripts, styles manually.
We have changed file kendo-ui.d.ts for kendo.all.d.ts manually
then when we have compiled app we get an error :
Error TS2339 (TS) Property '_decorateMessageContainer' does not exist on type 'Validator'.
It seems that in kendo.all.d.ts , in Validator doesnt exists property '_decorateMessageContainer' anymore, so our function doesn't work:
function addValidationEvent() {
var oDecorateMessageContainer = kendo.ui.Validator.fn._decorateMessageContainer;
kendo.ui.Validator.fn._decorateMessageContainer = function () {
$('[name="' + arguments[1] + '"]').trigger("validation-error");
return oDecorateMessageContainer.apply(this, arguments);
};
var oValidateInput = kendo.ui.Validator.fn.validateInput;
kendo.ui.Validator.fn.validateInput = function () {
arguments[0].trigger("validation-check");
return oValidateInput.apply(this, arguments);
};
}
Id like to know :
1º) Can we upgrade directly from 2016 Telerik version to 2022 or we have to upgrade first to another version.
2º) Is version 2022 the better version for our app or is better another earlier one ?
3º) How can i fix the error explained below?
Thanks in advance.