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

#line default
#line hidden
#line 2 "C:\Users\npenev\source\repos\ScrollView\ScrollView\Views\_ViewImports.cshtml"
using ScrollView.Models;

#line default
#line hidden
#line 5 "C:\Users\npenev\source\repos\ScrollView\ScrollView\Views\_ViewImports.cshtml"
using Kendo.Mvc.UI;

#line default
#line hidden
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"4a22e9f5baeeaab06cd850427d5cc1048ee7d0a2", @"/Views/Home/Index.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"1e783cb66559efd8b21f3c9d68c667f83809e10e", @"/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("url", "https://demos.telerik.com/kendo-ui/service/Northwind.svc/Products", 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("custom-type", "odata", 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("name", "scrollView", 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("content-height", "100%", 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("template-id", "scrollview-template", 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("style", new global::Microsoft.AspNetCore.Html.HtmlString("height:600px; width:890px; max-width: 100%;"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        #line hidden
        #pragma warning disable 0169
        private string __tagHelperStringValueBuffer;
        #pragma warning restore 0169
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
        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::Kendo.Mvc.TagHelpers.ScrollViewTagHelper __Kendo_Mvc_TagHelpers_ScrollViewTagHelper;
        private global::Kendo.Mvc.TagHelpers.DataSourceTagHelper __Kendo_Mvc_TagHelpers_DataSourceTagHelper;
        private global::Kendo.Mvc.TagHelpers.DataSourceTransportSettingsTagHelper __Kendo_Mvc_TagHelpers_DataSourceTransportSettingsTagHelper;
        private global::Kendo.Mvc.TagHelpers.DatasourceTransportReadSettingsTagHelper __Kendo_Mvc_TagHelpers_DatasourceTransportReadSettingsTagHelper;
        private global::Kendo.Mvc.TagHelpers.PivotDataSourceTransportReadSettingsTagHelper __Kendo_Mvc_TagHelpers_PivotDataSourceTransportReadSettingsTagHelper;
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(0, 57, true);
            WriteLiteral("<div id=\"example\" style=\"margin:auto; width:60%\">\r\n\r\n    ");
            EndContext();
            BeginContext(57, 439, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("kendo-scrollview", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a22e9f5baeeaab06cd850427d5cc1048ee7d0a25859", async() => {
                BeginContext(222, 10, true);
                WriteLiteral("\r\n        ");
                EndContext();
                BeginContext(232, 239, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("datasource", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a22e9f5baeeaab06cd850427d5cc1048ee7d0a26262", async() => {
                    BeginContext(299, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(313, 135, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("transport", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a22e9f5baeeaab06cd850427d5cc1048ee7d0a26683", async() => {
                        BeginContext(324, 18, true);
                        WriteLiteral("\r\n                ");
                        EndContext();
                        BeginContext(342, 80, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("read", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4a22e9f5baeeaab06cd850427d5cc1048ee7d0a27126", async() => {
                        }
                        );
                        __Kendo_Mvc_TagHelpers_DatasourceTransportReadSettingsTagHelper = CreateTagHelper<global::Kendo.Mvc.TagHelpers.DatasourceTransportReadSettingsTagHelper>();
                        __tagHelperExecutionContext.Add(__Kendo_Mvc_TagHelpers_DatasourceTransportReadSettingsTagHelper);
                        __Kendo_Mvc_TagHelpers_PivotDataSourceTransportReadSettingsTagHelper = CreateTagHelper<global::Kendo.Mvc.TagHelpers.PivotDataSourceTransportReadSettingsTagHelper>();
                        __tagHelperExecutionContext.Add(__Kendo_Mvc_TagHelpers_PivotDataSourceTransportReadSettingsTagHelper);
                        __Kendo_Mvc_TagHelpers_DatasourceTransportReadSettingsTagHelper.Url = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Kendo_Mvc_TagHelpers_PivotDataSourceTransportReadSettingsTagHelper.Url = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(422, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                    }
                    );
                    __Kendo_Mvc_TagHelpers_DataSourceTransportSettingsTagHelper = CreateTagHelper<global::Kendo.Mvc.TagHelpers.DataSourceTransportSettingsTagHelper>();
                    __tagHelperExecutionContext.Add(__Kendo_Mvc_TagHelpers_DataSourceTransportSettingsTagHelper);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(448, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                );
                __Kendo_Mvc_TagHelpers_DataSourceTagHelper = CreateTagHelper<global::Kendo.Mvc.TagHelpers.DataSourceTagHelper>();
                __tagHelperExecutionContext.Add(__Kendo_Mvc_TagHelpers_DataSourceTagHelper);
                __Kendo_Mvc_TagHelpers_DataSourceTagHelper.CustomType = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 4 "C:\Users\npenev\source\repos\ScrollView\ScrollView\Views\Home\Index.cshtml"
__Kendo_Mvc_TagHelpers_DataSourceTagHelper.PageSize = 3;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("page-size", __Kendo_Mvc_TagHelpers_DataSourceTagHelper.PageSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 4 "C:\Users\npenev\source\repos\ScrollView\ScrollView\Views\Home\Index.cshtml"
__Kendo_Mvc_TagHelpers_DataSourceTagHelper.ServerPaging = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("server-paging", __Kendo_Mvc_TagHelpers_DataSourceTagHelper.ServerPaging, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(471, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
            }
            );
            __Kendo_Mvc_TagHelpers_ScrollViewTagHelper = CreateTagHelper<global::Kendo.Mvc.TagHelpers.ScrollViewTagHelper>();
            __tagHelperExecutionContext.Add(__Kendo_Mvc_TagHelpers_ScrollViewTagHelper);
            __Kendo_Mvc_TagHelpers_ScrollViewTagHelper.Name = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
#line 3 "C:\Users\npenev\source\repos\ScrollView\ScrollView\Views\Home\Index.cshtml"
__Kendo_Mvc_TagHelpers_ScrollViewTagHelper.EnablePager = false;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("enable-pager", __Kendo_Mvc_TagHelpers_ScrollViewTagHelper.EnablePager, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            __Kendo_Mvc_TagHelpers_ScrollViewTagHelper.ContentHeight = (string)__tagHelperAttribute_3.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
            __Kendo_Mvc_TagHelpers_ScrollViewTagHelper.TemplateId = (string)__tagHelperAttribute_4.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(496, 1332, true);
            WriteLiteral(@"

</div>


<script id=""scrollview-template"" type=""text/x-kendo-template"">
    <div class=""img-wrapper"">
        # for (var i = 0; i < data.length; i++) { #
        <div>
            <div style=""width: 140px; height: 140px; background-image: #=setBackground(data[i].ProductID)#; background-repeat:no-repeat; background-size: cover;""></div>
            <p>#= data[i].ProductName #</p>
        </div>
        # } #
    </div>
</script>
<script>
    function setBackground(id) {
        return ""url(https://demos.telerik.com/kendo-ui/content/web/foods/"" + id + "".jpg)"";
    }
</script>

<style>

    div.k-scrollview ul.k-scrollview-wrap > li {
        text-align: center;
        display: table;
        box-sizing: border-box;
    }

    ul.k-scrollview-wrap > li > .img-wrapper {
        padding: 2em;
        display: table-cell;
        vertical-align: middle;
    }

        ul.k-scrollview-wrap > li > .img-wrapper > div {
            width: 30%;
            min-width: 150px;
      ");
            WriteLiteral(@"      box-sizing: border-box;
            display: inline-block;
            vertical-align: top;
            margin-bottom: 1em;
        }

            ul.k-scrollview-wrap > li > .img-wrapper > div > div {
                margin: auto;
                margin-bottom: 0.5em;
            }
</style>");
            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
