#pragma checksum "D:\Demos\.net core  setup\foreign-key-column-label\2.1.Sample\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5f87e3e7f2725d2b7acf0904fc85e7f664b8c174"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Home_Index), @"mvc.1.0.view", @"/Views/Home/Index.cshtml")]
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/Views/Home/Index.cshtml", typeof(AspNetCore.Views_Home_Index))]
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;
#line 1 "D:\Demos\.net core  setup\foreign-key-column-label\2.1.Sample\Views\_ViewImports.cshtml"
using _2._1.Sample;

#line default
#line hidden
#line 2 "D:\Demos\.net core  setup\foreign-key-column-label\2.1.Sample\Views\_ViewImports.cshtml"
using _2._1.Sample.Models;

#line default
#line hidden
#line 16 "D:\Demos\.net core  setup\foreign-key-column-label\2.1.Sample\Views\Home\Index.cshtml"
using WebApplication3.Models;

#line default
#line hidden
#line 17 "D:\Demos\.net core  setup\foreign-key-column-label\2.1.Sample\Views\Home\Index.cshtml"
using Kendo.Mvc.UI;

#line default
#line hidden
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"5f87e3e7f2725d2b7acf0904fc85e7f664b8c174", @"/Views/Home/Index.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"319bff8a49995b7ff6debea328eea9cf6c191841", @"/Views/_ViewImports.cshtml")]
    public class Views_Home_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
    {
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "D:\Demos\.net core  setup\foreign-key-column-label\2.1.Sample\Views\Home\Index.cshtml"
  
    ViewData["Title"] = "Home Page";

#line default
#line hidden
            BeginContext(45, 826, true);
            WriteLiteral(@"
<link rel=""stylesheet"" href=""https://kendo.cdn.telerik.com/2018.3.911/styles/kendo.common.min.css"">
<link rel=""stylesheet"" href=""https://kendo.cdn.telerik.com/2018.3.911/styles/kendo.rtl.min.css"">
<link rel=""stylesheet"" href=""https://kendo.cdn.telerik.com/2018.3.911/styles/kendo.default.min.css"">
<link rel=""stylesheet"" href=""https://kendo.cdn.telerik.com/2018.3.911/styles/kendo.mobile.all.min.css"">

<script src=""https://code.jquery.com/jquery-1.12.3.min.js""></script>
<script src=""https://kendo.cdn.telerik.com/2018.3.911/js/angular.min.js""></script>
<script src=""https://kendo.cdn.telerik.com/2018.3.911/js/jszip.min.js""></script>
<script src=""https://kendo.cdn.telerik.com/2018.3.911/js/kendo.all.min.js""></script>
<script src=""https://kendo.cdn.telerik.com/2018.3.911/js/kendo.aspnetmvc.min.js""></script>

");
            EndContext();
            BeginContext(923, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(927, 1297, false);
#line 19 "D:\Demos\.net core  setup\foreign-key-column-label\2.1.Sample\Views\Home\Index.cshtml"
Write(Html.Kendo().Grid<Student>()
                .Name("grid")
                .Columns(columns =>
                {
                    columns.ForeignKey(x => x.FirstName, (System.Collections.IEnumerable)ViewData["names"], "Id", "Name");
                    columns.Bound(x => x.LastName);
                    columns.Bound(x => x.Birthday).Format("{0: MM/dd/yyyy}");
                    columns.Command(x => x.Edit());
                })
                .HtmlAttributes(new { style = "height: 550px;" })
                .Scrollable()
                .Groupable()
                .Sortable()
                .ToolBar(x => x.Create())
                .Filterable()
                .Editable(x => x.Mode(GridEditMode.PopUp))
                .Pageable(pageable => pageable
                    .Refresh(true)
                    .PageSizes(true)
                    .ButtonCount(5))
                .DataSource(dataSource => dataSource

                    .Ajax()
                    .Read(read => read.Action("GetStudents", "Home"))
                    .Update(x => x.Action("EditStudents", "Home"))
                    .Create(x => x.Action("EditStudents", "Home"))

                    .PageSize(20)
                    .Model(x => x.Id(y => y.Id))

                )
);

#line default
#line hidden
            EndContext();
            BeginContext(2225, 6, true);
            WriteLiteral("\r\n\r\n\r\n");
            EndContext();
        }
        #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
