#pragma checksum "C:\Users\pkozovsk\source\repos\TelerikAspNetCoreApp28\TelerikAspNetCoreApp28\Pages\Shared\_GridPartial.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "41793a1b3448af65e0d1b33fc92879a5ed4e828b"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(TelerikAspNetCoreApp28.Pages.Shared.Pages_Shared__GridPartial), @"mvc.1.0.view", @"/Pages/Shared/_GridPartial.cshtml")]
namespace TelerikAspNetCoreApp28.Pages.Shared
{
    #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\pkozovsk\source\repos\TelerikAspNetCoreApp28\TelerikAspNetCoreApp28\Pages\_ViewImports.cshtml"
using TelerikAspNetCoreApp28;

#line default
#line hidden
#nullable disable
#nullable restore
#line 1 "C:\Users\pkozovsk\source\repos\TelerikAspNetCoreApp28\TelerikAspNetCoreApp28\Pages\Shared\_GridPartial.cshtml"
using TelerikAspNetCoreApp28.Data;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\pkozovsk\source\repos\TelerikAspNetCoreApp28\TelerikAspNetCoreApp28\Pages\Shared\_GridPartial.cshtml"
using Kendo.Mvc.UI;

#line default
#line hidden
#nullable disable
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"41793a1b3448af65e0d1b33fc92879a5ed4e828b", @"/Pages/Shared/_GridPartial.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"7c26d3d4f0745881b822cb7a888dd59e6b085905", @"/Pages/_ViewImports.cshtml")]
    public class Pages_Shared__GridPartial : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
    {
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            WriteLiteral("\r\n");
#nullable restore
#line 4 "C:\Users\pkozovsk\source\repos\TelerikAspNetCoreApp28\TelerikAspNetCoreApp28\Pages\Shared\_GridPartial.cshtml"
Write(Html.Kendo().Grid<OrderViewModel>
        ().Name("grid")
        .Groupable()
        .Sortable()
        .Editable()
        .Scrollable()
        .ToolBar(x =>
        {
            x.Excel();
            x.Create();
        })
        .Excel(ex => ex.AllPages(true).Filterable(true).FileName("User Action"))
        .Columns(columns =>
        {
            columns.Bound(column => column.Freight);
            columns.Bound(column => column.ShipName);
            columns.Bound(column => column.ShipCity);
            columns.Command(column =>
            {
                column.Edit();
                column.Destroy();
            }).Width(230);
        })
        .DataSource(ds => ds.Ajax()
        .Read(r => r.Url("/Index?handler=Read").Data("forgeryToken"))
        .Update(u => u.Url("/Index?handler=Update").Data("forgeryToken"))
        .Create(c => c.Url("/Index?handler=Create").Data("forgeryToken"))
        .Destroy(d => d.Url("/Index?handler=Destroy").Data("forgeryToken"))
        .Model(m => m.Id(id => id.OrderID))
        .PageSize(10)
        )
        .Pageable()
);

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