#pragma checksum "C:\Users\riccardo.gentile\source\Samples\Telerik.DSR.Sample\Telerik.DSR.Sample\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "77141289ed2ddbef012c50bc6bc6bffae99d5253"
// <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\riccardo.gentile\source\Samples\Telerik.DSR.Sample\Telerik.DSR.Sample\Views\_ViewImports.cshtml"
using Telerik.DSR.Sample;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\riccardo.gentile\source\Samples\Telerik.DSR.Sample\Telerik.DSR.Sample\Views\_ViewImports.cshtml"
using Kendo.Mvc.UI;

#line default
#line hidden
#nullable disable
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"77141289ed2ddbef012c50bc6bc6bffae99d5253", @"/Views/Home/Index.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"4ad90c91f9a348f99faba390b63231ddae3e862d", @"/Views/_ViewImports.cshtml")]
    public class Views_Home_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
    {
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("img-fluid "), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("alt", new global::Microsoft.AspNetCore.Html.HtmlString("200x200"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/Images/200.png"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("name", "PrimaryButton", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_4 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("textButton k-primary"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_5 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("name", "TextButton", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_6 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("textButton"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_7 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("name", "Button", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        #line hidden
        #pragma warning disable 0649
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
        #pragma warning restore 0649
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
        #pragma warning disable 0169
        private string __tagHelperStringValueBuffer;
        #pragma warning restore 0169
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __tagHelperScopeManager
        {
            get
            {
                if (__backed__tagHelperScopeManager == null)
                {
                    __backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
                }
                return __backed__tagHelperScopeManager;
            }
        }
        private global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper;
        private global::Kendo.Mvc.TagHelpers.ButtonTagHelper __Kendo_Mvc_TagHelpers_ButtonTagHelper;
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#nullable restore
#line 1 "C:\Users\riccardo.gentile\source\Samples\Telerik.DSR.Sample\Telerik.DSR.Sample\Views\Home\Index.cshtml"
  
    ViewData["Title"] = "Home Page";

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n<div class=\"placeholders mb-2\">\r\n    <div class=\"row d-flex justify-content-start\">\r\n        <div class=\"col-md-2 mb-3 placeholder\">\r\n            ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "77141289ed2ddbef012c50bc6bc6bffae99d52536305", async() => {
            }
            );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            WriteLiteral(@"
        </div>
        <div class=""col-md-3"">
            <h2>Lorem ipsum dolor sit amet...</h2>
            <p>
                Lorem Ipsum is simply dummy text of the printing and typesetting industry.
                Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a
                galley of type and scrambled it to make a type specimen book.
            </p>
            <p>
                ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("kendo-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "77141289ed2ddbef012c50bc6bc6bffae99d52537968", async() => {
                WriteLiteral("Primary Button");
            }
            );
            __Kendo_Mvc_TagHelpers_ButtonTagHelper = CreateTagHelper<global::Kendo.Mvc.TagHelpers.ButtonTagHelper>();
            __tagHelperExecutionContext.Add(__Kendo_Mvc_TagHelpers_ButtonTagHelper);
            __Kendo_Mvc_TagHelpers_ButtonTagHelper.Name = (string)__tagHelperAttribute_3.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            WriteLiteral(@"
            </p>
        </div>
        <div class=""col-md-3"">
            <h2>&nbsp;</h2>
            <p>
                Lorem Ipsum is simply dummy text of the printing and typesetting industry.
                Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a
                galley of type and scrambled it to make a type specimen book.
            </p>
            <p>
                ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("kendo-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "77141289ed2ddbef012c50bc6bc6bffae99d52539624", async() => {
                WriteLiteral("Button");
            }
            );
            __Kendo_Mvc_TagHelpers_ButtonTagHelper = CreateTagHelper<global::Kendo.Mvc.TagHelpers.ButtonTagHelper>();
            __tagHelperExecutionContext.Add(__Kendo_Mvc_TagHelpers_ButtonTagHelper);
            __Kendo_Mvc_TagHelpers_ButtonTagHelper.Name = (string)__tagHelperAttribute_5.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            WriteLiteral(@"
            </p>
        </div>
        <div class=""col-md-3"">
            <h2>&nbsp;</h2>
            <p>
                Lorem Ipsum is simply dummy text of the printing and typesetting industry.
                Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a
                galley of type and scrambled it to make a type specimen book.
            </p>
            <p>
                ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("kendo-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "77141289ed2ddbef012c50bc6bc6bffae99d525311272", async() => {
                WriteLiteral("Button");
            }
            );
            __Kendo_Mvc_TagHelpers_ButtonTagHelper = CreateTagHelper<global::Kendo.Mvc.TagHelpers.ButtonTagHelper>();
            __tagHelperExecutionContext.Add(__Kendo_Mvc_TagHelpers_ButtonTagHelper);
            __Kendo_Mvc_TagHelpers_ButtonTagHelper.Name = (string)__tagHelperAttribute_7.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            WriteLiteral("\r\n            </p>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n<div class=\"row\">\r\n    <div class=\"col-xs-12 col-lg-8\">\r\n        <h4>\r\n            Select Items\r\n        </h4>\r\n        ");
#nullable restore
#line 51 "C:\Users\riccardo.gentile\source\Samples\Telerik.DSR.Sample\Telerik.DSR.Sample\Views\Home\Index.cshtml"
    Write(Html.Kendo().MultiSelect()

            .Name("ItemNumbers")
            //.HeaderTemplate("<label><input type=\"checkbox\" id=\"selectAllItemNumbers\"> Select All</label>")
            .DataTextField("ItemNumber")
            .DataValueField("ItemNumber")
            .Placeholder("Please Select an Item")
            .AutoClose(false)
            .TagMode(MultiSelectTagMode.Single)
            .AutoBind(true)
            .Events(events => events
                        .Change("onItemNumbersChange")
                        .Close("onItemClose"))
            .DataSource(source =>
            {
                source.Read(read =>
                {
                    read.Action("GetItemNumbers", "Grid");
                });
            })
            .Height(300)
            .HtmlAttributes(new { style = "width: 240px" })
        );

#line default
#line hidden
#nullable disable
            WriteLiteral(@"



    </div>
</div>


<div class=""row"">
    <button class=""k-button"" id=""select"">Select All</button>
    <button class=""k-button"" id=""deselect"">Deselect All</button>
</div>

<div class=""row"">
    <div class=""col-xs-12 col-lg-8"">
        <h3 class=""greenTitle"">
            Sample Graph
        </h3>
        ");
#nullable restore
#line 91 "C:\Users\riccardo.gentile\source\Samples\Telerik.DSR.Sample\Telerik.DSR.Sample\Views\Home\Index.cshtml"
    Write(Html.Kendo().Chart<Telerik.DSR.Sample.Models.OrderValueByCountry>()
            .Name("OrderValueByCountry")
            .Title("Orders By Country")
            .AutoBind(true)
            .Legend(legend => legend
            .Visible(true)
            )

            .DataSource(ds => ds
            .Read(read => read.Action("SampleMethodTest", "Grid").Data("MultiSelectFilterValue"))
            .Group(group => group.Add(model => model.Country))
            )
            .SeriesDefaults(seriesDefaults =>
            seriesDefaults.Column().Stack(true).Gap(0.2)
            )
            .Series(series =>
            {
                series
                .Column(model => model.ValueAmount)
                .CategoryField("ValueDate")
                ;

            })
            .SeriesColors("orange", "yellow", "green", "#1866b4", "#b7472a",
                               "#5899DA", "#26aadd", "#4db9e3", "#b2d4f5", "#E8743B")
            .CategoryAxis(axis => axis
            .Labels(label => label
            .Position(ChartAxisLabelsPosition.Start)
            )
            .MajorGridLines(lines => lines.Visible(true))
            .Line(line => line.Visible(false))
            .Visible(true)
            )
            .ValueAxis(axis => axis.Date()
            .MajorGridLines(lines => lines.Visible(true))
            .Visible(true)
            )
            .Tooltip(tooltip => tooltip
            .Visible(true)
            )
        );

#line default
#line hidden
#nullable disable
            WriteLiteral("\r\n    </div>\r\n</div>\r\n\r\n\r\n");
            DefineSection("Scripts", async() => {
                WriteLiteral(@"
    <script>

        function onItemNumbersChange(e) {

        }

        function onItemClose(e) {

            $('#OrderValueByCountry').data('kendoChart').dataSource.read();
        }

        function MultiSelectFilterValue() {

            var itemMultiselectValues = $('#ItemNumbers').data('kendoMultiSelect').value();

            return {
                itemFilter: itemMultiselectValues
            }
        }


        $(document).ready(function () {

            var multiselect = $(""#ItemNumbers"").data(""kendoMultiSelect"");
            $(""#select"").click(function () {
                var values = $.map(multiselect.dataSource.data(), function (dataItem) {
                    return dataItem.ItemNumber;
                });

                multiselect.value(values);
            });

            $(""#deselect"").click(function () {
                multiselect.value([]);
            });
        });


    </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
