#pragma checksum "C:\Users\alestoya\Desktop\New folder (73)\Core Grid AjaxHierarchyEditing\Views\Shared\EditorTemplates\WorkingEmployeeEditorTemplate.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "507308b4cf1de83272e6597b425a94813e9541b2"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Shared_EditorTemplates_WorkingEmployeeEditorTemplate), @"mvc.1.0.view", @"/Views/Shared/EditorTemplates/WorkingEmployeeEditorTemplate.cshtml")]
namespace AspNetCore
{
    #line hidden
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Microsoft.AspNetCore.Mvc;
    using Microsoft.AspNetCore.Mvc.Rendering;
    using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "C:\Users\alestoya\Desktop\New folder (73)\Core Grid AjaxHierarchyEditing\Views\_ViewImports.cshtml"
using Core_Grid_AjaxHierarchyEditing;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\alestoya\Desktop\New folder (73)\Core Grid AjaxHierarchyEditing\Views\_ViewImports.cshtml"
using Core_Grid_AjaxHierarchyEditing.Models;

#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "C:\Users\alestoya\Desktop\New folder (73)\Core Grid AjaxHierarchyEditing\Views\_ViewImports.cshtml"
using Kendo.Mvc.UI;

#line default
#line hidden
#nullable disable
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"507308b4cf1de83272e6597b425a94813e9541b2", @"/Views/Shared/EditorTemplates/WorkingEmployeeEditorTemplate.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"2a827032e22f889af71c14927cfef5356efc6ccb", @"/Views/_ViewImports.cshtml")]
    #nullable restore
    public class Views_Shared_EditorTemplates_WorkingEmployeeEditorTemplate : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
    #nullable disable
    {
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#nullable restore
#line 1 "C:\Users\alestoya\Desktop\New folder (73)\Core Grid AjaxHierarchyEditing\Views\Shared\EditorTemplates\WorkingEmployeeEditorTemplate.cshtml"
Write(Html.Kendo().Grid<OrderViewModel>()
        .Name("Orders_#=EmployeeID#")
        .Columns(columns =>
        {
            columns.Bound(o => o.OrderID).Width(101);
            columns.Bound(o => o.ShipCountry).Width(140);
            columns.Bound(o => o.ShipAddress).Width(200);
            columns.Bound(o => o.ShipName).Width(200);
            columns.Bound(o => o.ShippedDate).Format("{0:d}");
            columns.Command(command =>
            {
                command.Edit();
                command.Destroy();
            });
        })
        .Editable(editable => editable.Mode(GridEditMode.InLine))
        .Pageable().Sortable().Filterable()
        .DataSource(source => source.Ajax()
            .Model(model =>
                    {
                        model.Id(o => o.OrderID);
                        model.Field(o => o.OrderID).Editable(false);
                    })
            .Events(events => events.Error("error_handler"))
            .Read(read => read.Action("Read_Orders", "Grid", new { id = "#=EmployeeID#" }))
            .Update(update => update.Action("Orders_Update", "Grid"))
            .Destroy(destroy => destroy.Action("Orders_Destroy", "Grid"))
        )
        .ToClientTemplate()
    );

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n");
        }
        #pragma warning restore 1998
        #nullable restore
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
        #nullable disable
        #nullable restore
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
        #nullable disable
        #nullable restore
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
        #nullable disable
        #nullable restore
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
        #nullable disable
        #nullable restore
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; } = default!;
        #nullable disable
    }
}
#pragma warning restore 1591
