#pragma checksum "C:\Users\danchev\source\repos\TelerikAspNetCoreApp130\TelerikAspNetCoreApp130\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ad3ff97bcec6b8bb81acf15e4eca43e2c01a2968"
// <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")]
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\danchev\source\repos\TelerikAspNetCoreApp130\TelerikAspNetCoreApp130\Views\_ViewImports.cshtml"
using TelerikAspNetCoreApp130;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\danchev\source\repos\TelerikAspNetCoreApp130\TelerikAspNetCoreApp130\Views\_ViewImports.cshtml"
using Kendo.Mvc.UI;

#line default
#line hidden
#nullable disable
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"ad3ff97bcec6b8bb81acf15e4eca43e2c01a2968", @"/Views/Home/Index.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"04dd1ee26d2925c202fc8a87173387f9d7328d17", @"/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()
        {
#nullable restore
#line 1 "C:\Users\danchev\source\repos\TelerikAspNetCoreApp130\TelerikAspNetCoreApp130\Views\Home\Index.cshtml"
  
	ViewData["Title"] = "Home Page";

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n\r\n");
#nullable restore
#line 6 "C:\Users\danchev\source\repos\TelerikAspNetCoreApp130\TelerikAspNetCoreApp130\Views\Home\Index.cshtml"
Write(Html.Kendo().Grid<TelerikAspNetCoreApp130.Models.OrderViewModel>()
	.Name("grid")
	.Columns(columns =>
	{
		columns.Bound(p => p.SuggestionID).Width(80);
		columns.Bound(p => p.ActionedBy).Width(100);
		columns.Bound(p => p.Comments).Width(100);
		columns.Bound(p => p.Freight).Width(100);
	})
	.Sortable()
	.Pageable()
	.Selectable()
	.Scrollable(scr => scr.Height(330))
	.Filterable()
	.ClientDetailTemplateId("SuggestionGridDetailsTemplate")
	.DataSource(dataSource => dataSource
		.Ajax()
		.PageSize(20)
		.Model(model => model.Id(p => p.SuggestionID))
		.Read(read => read.Action("Orders_Read", "Home"))
	)
);

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n\r\n\r\n\r\n\r\n<script id=\"SuggestionGridDetailsTemplate\" type=\"text/kendo-tmpl\">\r\n\t\t");
#nullable restore
#line 33 "C:\Users\danchev\source\repos\TelerikAspNetCoreApp130\TelerikAspNetCoreApp130\Views\Home\Index.cshtml"
    Write(Html.Kendo().Splitter()
			.Name("sug-splitter-#=SuggestionID#")
			.HtmlAttributes(new { style = "height: 500px;" })
			.Orientation(SplitterOrientation.Vertical)
			.Panes(verticalPanes =>
			{


			verticalPanes.Add()
					.HtmlAttributes(new { id = "sug-top-#=SuggestionID#" })
					.Collapsible(false)
					.Size("#=SuggestionGridDetailsSplitterPaneHeight(data)#")
					.Content(item => new global::Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_template_writer) => {
    PushWriter(__razor_template_writer);
    WriteLiteral("<div class=\"container\">\r\n\t\t\t\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t\t\t\t#if(Freight == 0){#\r\n\t\t\t\t\t\t\t\t<div class=\"col-2 offset-10 float-right\">\r\n\t\t\t\t\t\t\t\t\t");
#nullable restore
#line 49 "C:\Users\danchev\source\repos\TelerikAspNetCoreApp130\TelerikAspNetCoreApp130\Views\Home\Index.cshtml"
                                Write(Html.Kendo().Button()
							.Name("DeleteSuggestionBtn-#=SuggestionID#")
							.HtmlAttributes(new { type = "button", @class = "k-btn-danger mt-2 float-right" })
							//.Events(e => e.Click("DeleteSuggestionBtnClick"))
							.Content("Delete").ToClientTemplate());

#line default
#line hidden
#nullable disable
    WriteLiteral(@"
								</div>
								#} else {#
								<div class=""col-4"">
									<label>Actioned by:</label>
									<p>#=ActionedBy#</p>
								</div>
								<div class=""col-8"">
									<label>Comments:</label>
									<p>#=Comments#</p>
								</div>
								#}#

							</div>
							</div>");
    PopWriter();
}
));

					verticalPanes.Add()
						.HtmlAttributes(new { id = "sug-bottom-#=SuggestionID#", @class="iv-pane-no-overflow" })
						.Resizable(false)
						.Collapsible(false);
				}).ToClientTemplate()
			);

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n\t</script>\r\n\r\n<script>\r\n\tfunction SuggestionGridDetailsSplitterPaneHeight(e) {\r\n\t\treturn \"100px\"\r\n\t}\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
