Exemple #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 66, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">ListView / Virtual Scrolling</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(110, 165, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates how to load a large amount of data on demand in the Syncfusion ASP.NET Core ListView component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(303, 125, true);
                WriteLiteral("\r\n    <div class=\"control frame\">\r\n        <div class=\"ctrllabel\">\r\n            Select a customer\r\n        </div>\r\n\r\n        ");
                EndContext();
                BeginContext(428, 158, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-list-view", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e52278f1637b4f8b8514f7a1812b8b2e", async() => {
                    BeginContext(561, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ListViewProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\VirtualScrolling.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.Height = 200;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("height", __Syncfusion_JavaScript_Models_ListViewProperties.Height, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\VirtualScrolling.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.Width = 250;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_ListViewProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\VirtualScrolling.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.AllowVirtualScrolling = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("allow-virtual-scrolling", __Syncfusion_JavaScript_Models_ListViewProperties.AllowVirtualScrolling, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\VirtualScrolling.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.VirtualScrollMode = global::Syncfusion.JavaScript.VirtualScrollMode.Normal;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("virtual-scroll-mode", __Syncfusion_JavaScript_Models_ListViewProperties.VirtualScrollMode, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\VirtualScrolling.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.ItemRequestCount = 8;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("item-request-count", __Syncfusion_JavaScript_Models_ListViewProperties.ItemRequestCount, 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(586, 16, true);
                WriteLiteral("\r\n\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(632, 118, true);
                WriteLiteral("\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">Select Mode</div>\r\n        <div class=\"col-md-3\">\r\n            ");
                EndContext();
                BeginContext(750, 135, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d02b907590484be99eb5f4b993ab8d57", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
#line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\VirtualScrolling.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 0;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(885, 254, true);
                WriteLiteral("\r\n\r\n            <div id=\"Targetid\">\r\n                <ul>\r\n                    <li value=\"Normal\">Normal Mode</li>\r\n                    <li value=\"Continuous\">Continuous Mode</li>\r\n                </ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1164, 233, true);
                WriteLiteral("\r\n    <style type=\"text/css\" class=\"cssStyles\">\r\n        .ctrllabel {\r\n            padding: 0px 0px 12px 3px;\r\n            font-weight: 600;\r\n        }\r\n\r\n        .e-ddl-popup {\r\n            margin: 0 auto;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1423, 1729, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        dataManger = ej.DataManager({
            url: ""//js.syncfusion.com/ejServices/Wcf/Northwind.svc/"", crossDomain: true
        });

        var query = ej.Query()
               .from(""Customers"");
        $(function () {
            $(""#List1"").ejListView({
                height:200,
                dataSource: dataManger,
                totalItemsCount: 10,
                fieldSetting: { text: ""CustomerID"" },
                query: query, allowVirtualScrolling: true
                     });
                 })
        $(""#List1"").ejListView({
            height: 200,
            dataSource: dataManger,
            fieldSettings: { text: ""CustomerID"" },
            query: query, allowVirtualScrolling: true
        });
        function onValueChange(args) {
            var target = $('#List1').data(""ejListView"");
            if (args.value == ""Continuous"") {
                $(""#List1"").ejListView({
                    height: 200,
    ");
                WriteLiteral(@"                dataSource: dataManger,
                    fieldSettings: { text: ""CustomerID"" },
                    query: query, allowVirtualScrolling: true, virtualScrollMode: ej.VirtualScrollMode.Continuous

                });
            }
            if (args.value == ""Normal"") {
                $(""#List1"").ejListView({
                    dataSource: dataManger,
                    fieldSettings: { text: ""CustomerID"" },
                    query:  ej.Query()
               .from(""Customers""), allowVirtualScrolling: true
                });
            }
        }
        $(function () {
            $(""#sampleProperties"").ejPropertiesPanel();
        });
    </script>
");
                EndContext();
            }
                          );
        }
Exemple #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 58, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">ListView / CheckList</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(102, 188, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates how to select multiple items at a time and display the check list with the Syncfusion ASP.NET Core ListView component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(318, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(324, 766, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-list-view", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5111470178b0432bb018ccd890ec37c3", async() => {
                    BeginContext(446, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(456, 613, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "68a9236d0bdd4e788ab3a10e55b2f695", async() => {
                        BeginContext(475, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(489, 52, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "66f39941aef74e8b81a5467bfa419c1b", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (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(541, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(555, 53, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8278a0209c7445d8b59fec608b07020a", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_1.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(608, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(622, 62, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "10b4119c4f434cffae128254c992cc22", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(684, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(698, 61, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e568faa517c04ee2b32441b8994f569d", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_3.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(759, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(773, 60, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "aa07ae36aa204cb0b7b230057b67dcab", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(833, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(847, 55, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "75a64fc8b6de4f71918d48ee7c7a9bc2", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_5.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(902, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(916, 56, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b14de339077e4398a167c92873d95b80", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_6.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(972, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(986, 53, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d63501549b7e451abc9ef74b75114bcb", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_7.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1039, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ListViewMock = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewMock>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewMock);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1069, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ListViewProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\CheckList.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.ShowHeader = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-header", __Syncfusion_JavaScript_Models_ListViewProperties.ShowHeader, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\CheckList.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.Width = 400;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_ListViewProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\CheckList.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.Height = 355;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("height", __Syncfusion_JavaScript_Models_ListViewProperties.Height, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\CheckList.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.EnableCheckMark = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-check-mark", __Syncfusion_JavaScript_Models_ListViewProperties.EnableCheckMark, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\CheckList.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.AllowScrolling = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("allow-scrolling", __Syncfusion_JavaScript_Models_ListViewProperties.AllowScrolling, 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(1090, 9, true);
                WriteLiteral("       \r\n");
                EndContext();
            }
                          );
        }
Exemple #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 67, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">ListView / Data Binding Local</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(111, 172, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates how to bind the local data source key value mapping to the Syncfusion ASP.NET Core ListView component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(334, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(340, 161, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-list-view", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2b26415680894834b6358be7ab058ae9", async() => {
                    BeginContext(437, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(447, 33, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-field-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "14045bd5f59c4be7b928cbb3e2709300", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ListViewFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewFields>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewFields);
                    __Syncfusion_JavaScript_Models_ListViewFields.Text = (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(480, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ListViewProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\DataBindingLocal.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.ShowHeader = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-header", __Syncfusion_JavaScript_Models_ListViewProperties.ShowHeader, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\DataBindingLocal.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.Width = 400;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_ListViewProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\DataBindingLocal.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.Height = 206;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("height", __Syncfusion_JavaScript_Models_ListViewProperties.Height, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\DataBindingLocal.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.DataSource = Model;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ListViewProperties.DataSource, 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(501, 9, true);
                WriteLiteral("       \r\n");
                EndContext();
            }
                          );
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 58, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">ListView / CheckList</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(102, 188, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates how to select multiple items at a time and display the check list with the Syncfusion ASP.NET Core ListView component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(318, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(324, 766, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-list-view", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f5f8d7c24ae449c293a6c7eb9b80ca95", async() => {
                    BeginContext(446, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(456, 613, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4c90244989514f0b888f5989045364a7", async() => {
                        BeginContext(475, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(489, 52, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "42035746ba2a47e8a5fa4daa4e8d76e9", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (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(541, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(555, 53, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "69baa77717cb4bbaa9a647d1f42bede2", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_1.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(608, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(622, 62, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e83799f2beb0403ca7ab296720998945", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(684, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(698, 61, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f25f804c8748422992c23a55ec4234e6", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_3.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(759, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(773, 60, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "55331fd215354e91b153b2c2b2558d9d", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(833, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(847, 55, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3c368140515e4e4ab1c6babe2dc8a6c2", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_5.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(902, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(916, 56, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c5f3b59823f44ef7827d47a96ac42cad", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_6.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(972, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(986, 53, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-view-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "07ea5ff418d343f698ffe452de7525cd", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ListViewItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewItem>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewItem);
                        __Syncfusion_JavaScript_Models_ListViewItem.Text = (string)__tagHelperAttribute_7.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1039, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ListViewMock = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewMock>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewMock);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1069, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ListViewProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListViewProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListViewProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\CheckList.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.ShowHeader = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-header", __Syncfusion_JavaScript_Models_ListViewProperties.ShowHeader, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\CheckList.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.Width = 400;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_ListViewProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\CheckList.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.Height = 355;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("height", __Syncfusion_JavaScript_Models_ListViewProperties.Height, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\CheckList.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.EnableCheckMark = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-check-mark", __Syncfusion_JavaScript_Models_ListViewProperties.EnableCheckMark, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListView\CheckList.cshtml"
                __Syncfusion_JavaScript_Models_ListViewProperties.AllowScrolling = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("allow-scrolling", __Syncfusion_JavaScript_Models_ListViewProperties.AllowScrolling, 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(1090, 9, true);
                WriteLiteral("       \r\n");
                EndContext();
            }
                          );
        }