This is a migrated thread and some comments may be shown as answers.

Bind grid to class file function

3 Answers 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shashank
Top achievements
Rank 1
Shashank asked on 08 Aug 2014, 04:42 AM
Hello,

I have just started using Kendo UI. I have data access function in class file. I want to give data source = function in class file which is returning a data table. I also want to call add, delete and exit functions in class file from javascript. An example about this would be extremely helpful

3 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 11 Aug 2014, 02:32 PM
Hi Shashank,

my guess is you are using ASP.NET MVC. If this is the case, you may check our examples repo which showcases a full CRUD demo with the respective back-end wired up.

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Shashank
Top achievements
Rank 1
answered on 11 Aug 2014, 05:31 PM
Thank for the reply. I am using Kendo UI in but not in MVC. I have attached my project but the issue is that even after pressing save changes button the red image is visible in column corner which should go. I also wanted to if there was a demo for class file implementation in normal ASP.NET. 
0
Atanas Korchev
Telerik team
answered on 13 Aug 2014, 02:48 PM
Hi,

Your project fails because of a server side exception which happens during update:

{"Invalid column name 'Date'.\r\nInvalid column name 'Dropdown'."}

I have also attached a screenshot from Visual Studio.

You seem to try to update columns which don't exist. 

I am not sure I understand your next question. What do you mean by "class file implementation in normal ASP.NET"? You can review all our ASP.NET samples here: https://github.com/telerik/kendo-examples-asp-net

Regards,
Atanas Korchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Shashank
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Shashank
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or