TypeScript
is compiled into JavaScript
and runs on the client side (in browsers like Firefox and Chrome). On the server side (where your application is hosted), C# classes
are used. This means you cannot directly call a C# class function from a TypeScript class. Instead, you must expose the C# class function as an API service
and consume it through the kendo-grid
function.
For more information, check out the following links:
How to fill KendoGrid with API controller in ASP.NET
CRUD operation in KendoGrid using Web API
TypeScript documentation by Telerik for Kendo UI