Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am using kendo telerik controls(Trial version) with asp .net MVC 4.
I have some field on a cshtml page like first name, last name and salary with a save button.
I want to save that data into data base. how can I achieve this functionality using kendo telerik controls.
Please suggest.

Thanks in advance,

Regards,
Ashish
Posted

1 solution

Step 1. Get the input data using jquey
Step 2. Create web API using
C#
[Route("API/ControllerName/GetMethodName")]

Step 3. Send the data using
JavaScript
$.getJSON("~/API/ControllerName/GetMethodName",
      {FirstName  :'Anil', LastName : 'Singh', Salary :'75K'}
function (data) {

});

It might help you

Save data using kendo ui(telerik) controls[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900