or
@model IEnumerable<Models.TrainingVideo>@{ ViewBag.Title = "Video Management";}<div style="margin-top: 30px;"> @Html.Kendo().Grid(Model).Name("WatchVideoGrid").Columns(columns => { columns.Bound(x => x.Name); columns.Bound(x => x.Description); columns.Bound(x => x.LastUpdateDate); columns.Command(commands => commands.Custom("EditVideoCommand") .Text("Edit") .DataRouteValues(route => route.Add(o => o.VideoUID).RouteKey("videoId")) .Action("EditSelectedVideo", "Home")); columns.Command(commands => commands.Custom("DeleteVideoCommand") .Text("Delete") .DataRouteValues(route => route.Add(o => o.VideoUID).RouteKey("videoId")) .Action("DeleteSelectedVideo", "Home")); columns.Command(commands => commands.Custom("ReplaceVideoCommand") .Text("Replace") .DataRouteValues(route => route.Add(o => o.VideoUID).RouteKey("videoId")) .Action("ReplaceSelectedVideo", "Home")); }).Pageable().Sortable().Scrollable().Filterable())public PartialViewResult _VideoManagement() { Videos videos = new Videos(); return PartialView(videos.VideoList); }@Html.Kendo().Grid(Model).Name("WatchVideoGrid").Columns(columns => { columns.Bound(x => x.Name); columns.Bound(x => x.Description); columns.Bound(x => x.LastUpdateDate); columns.Command(commands => commands.Custom("EditVideoCommand") .Text("Edit") .DataRouteValues(route => route.Add(o => o.VideoUID).RouteKey("videoId")) .Action("EditSelectedVideo", "Home")); columns.Command(commands => commands.Custom("DeleteVideoCommand") .Text("Delete") .DataRouteValues(route => route.Add(o => o.VideoUID).RouteKey("videoId")) .Action("DeleteSelectedVideo", "Home")); columns.Command(commands => commands.Custom("ReplaceVideoCommand") .Text("Replace") .DataRouteValues(route => route.Add(o => o.VideoUID).RouteKey("videoId")) .Action("ReplaceSelectedVideo", "Home")); }).Pageable().Sortable().Scrollable().Filterable().DataSource(builder => builder.Ajax().Read(read=>read.Action("VideoListRead","Home")))public ActionResult VideoListRead([DataSourceRequest] DataSourceRequest request) { Videos videos = new Videos(); return Json(videos.VideoList.ToDataSourceResult(request)); }var grid = $("#requestGrid").data("kendoGrid"); var scheduler = $("#ganttScheduler").data("kendoScheduler"); var itemUID; grid.table.kendoDraggable({ cursorOffset: { top: 5, left: 5 }, filter: "tbody > tr", group: "Grid", hint: function (e) { itemUID = e.attr(kendo.attr("uid")); return $('<div class="k-grid k-widget"><table><tbody><tr>' + e.html()+ '</tr></tbody></table></div>'); } }); scheduler.element.kendoDropTarget({ group: "Grid", drop: function (e) { alert("Dragged row 'uid': " + itemUID); //in case you need the model(data item) for this row var model = grid.dataSource.getByUid(itemUID); var aa = $(e.toElement).text(); itemUID = null; } });<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Kendo UI Editor Toolbar Issue</title> <link rel="stylesheet" href="http://cdn.kendostatic.com/2013.2.716/styles/kendo.common.min.css"> <link rel="stylesheet" href="http://cdn.kendostatic.com/2013.2.716/styles/kendo.default.min.css"> <style> /* uncomment following line for a workaround */ /* .k-editor-toolbar{ white-space: normal;} */ </style></head><body> <h1>Kendo UI Editor Toolbar Issue</h1> <div id="editdiv" style="display: none"> <div> <textarea id="editor" cols="30" rows="10" style="width:570px;height:300px"></textarea> </div> </div> <button id="show">Show Editor</button> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="http://cdn.kendostatic.com/2013.2.716/js/kendo.web.min.js"></script> <script> $(function(){ $("#editor").kendoEditor({ encoded: true, tools: [ "bold", "italic", "underline", "strikethrough", "justifyLeft", "justifyCenter", "justifyRight", "justifyFull", "insertUnorderedList", "insertOrderedList", "indent", "fontName", "fontSize", "outdent", "foreColor", "backColor"] }); $("#show").on('click', function(){ $("#editdiv").show(); $(this).hide(); }) }); </script></body></html>