asp.net mvc - Kendo UI Grid binding with scaffolding/CRUD operations to model -


first of all, i'm complete novice kendo ui/client side code.

i'm used using standard mvc scaffolding display tables (entity first):

  +------------------------------------+   | +--------------------------------+ |   | |___id___|__name_|__price_|______| |   | |        |       |        |crud  | |   | |        |       |        |      | |   | |        |       |        |      | |   | |        |       |        |      | |   | |        |       |        |      | |   | +--------+-------+--------+------+ |   +------------------------------------+ 

where crud part shows:

@html.actionlink("edit", "edit", new { id=item.id }) | @html.actionlink("details", "details", new { id=item.id }) | @html.actionlink("delete", "delete", new { id=item.id }) 

in terms of kendo grid, however, i'm @ loss incorporating actions these.

i.e. how meant 'adding' inline or (preferably) pop up editing this?

my model database table:

@model ienumerable<projectname.models.tablename> 

i giving table id , using following script:

<script>     $(document).ready(function () {         $('#mytablesid').kendogrid({             scrollable: true,             sortable: true,             groupable:true,             pageable: true,             selectable: "row",             filterable: true,             resizable: true,             datasource: { pagesize: 10 }         });     }); </script> 

is there 'standard' way of using mvc scaffolding pop editing in kendo grid?

the html5/javascript source in link place start. http://demos.telerik.com/kendo-ui/grid/editing-popup

you have set matching controller actions. refer editing_popupcontroller.cs example in asp.net mvc source section


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -