コード例 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 56, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Toolbar / Template</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(107, 223, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n        <div class=\"control\">\r\n            <div id=\"toolbarTemplate\">\r\n                <ul>\r\n                    <li>\r\n                        <div class=\"ctrlradio\">\r\n                            ");
                EndContext();
                BeginContext(330, 63, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "65c3a9c483b1418fa728a54b28bef873", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Template.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, 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(393, 161, true);
                WriteLiteral("\r\n                        </div>\r\n                        option </li>\r\n                    <li id=\"Dropdown\" title=\"Dropdown Control\">\r\n                        ");
                EndContext();
                BeginContext(554, 119, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5e1494ed342d47598f8d2f74bec783d9", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Height = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Toolbar\Template.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);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(673, 442, true);
                WriteLiteral(@"
                        <div id=""cars"">
                            <ul>
                                <li>Audi A4</li>
                                <li>Audi A5</li>
                                <li>Audi A6</li>
                                <li>Audi A7</li>
                            </ul>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1141, 185, true);
                WriteLiteral("\r\n    <script type=\"text/javascript\">\r\n        $(function () {\r\n            // declaration\r\n            $(\"#toolbarTemplate\").ejToolbar({ width: \"100%\" });\r\n        });\r\n    </script>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1351, 439, true);
                WriteLiteral(@"
    <style type=""text/css"" class=""cssStyles"">
        .ctrlradio {
            padding-top: 4px;
            padding-right: 5px;
            float: left;
        }

        .frame {
            width: 35%;
        }

        .control {
            color: black;
            font-family: 'Segoe UI';
            font-size: medium;
        }

        #selectcar {
            line-height: 20px;
        }
    </style>
");
                EndContext();
            }
                          );
        }
コード例 #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 182, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"RadioButton for ASP.NET Core with the strongly typed extension support. Value is set from the code behind by invoking RadioButtonFor helper\">\r\n");
                EndContext();
            }
                          );
            BeginContext(203, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("SampleHeading", async() => {
                BeginContext(228, 61, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Button / RadioButtonFor</span>");
                EndContext();
            }
                          );
            BeginContext(292, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            BeginContext(358, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(387, 300, true);
                WriteLiteral(@"
    <div class=""frame"">
        <div class=""control"">
            <div class=""radioalign"">
                <br />
                Category<br />
                <br />
                <table>
                    <tr>
                        <td class=""chkrad"">
                            ");
                EndContext();
                BeginContext(687, 162, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "2d809c5b23204908bee565b18a3d8cd5", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => Model.isChecked);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("ej-for", __Syncfusion_JavaScript_Models_RadioButtonProperties.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (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(849, 118, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td class=\"chkrad\" colspan=\"2\">\r\n                            ");
                EndContext();
                BeginContext(967, 172, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "289a247efa6e4b36a39ee3e055017895", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => Model.isChecked);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("ej-for", __Syncfusion_JavaScript_Models_RadioButtonProperties.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (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(1139, 317, true);
                WriteLiteral(@"
                        </td>
                    </tr>
                </table>
                <br />
                <br />
                Experienced<br />
                <br />
                <table>
                    <tr>
                        <td class=""chkrad"">
                            ");
                EndContext();
                BeginContext(1456, 140, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3617b26f2e5f413e9bcc99a2d0dee47a", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 36 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Medium;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 36 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 36 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1596, 106, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td class=\"chkrad\">\r\n                            ");
                EndContext();
                BeginContext(1702, 143, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "5312cc01b1c84f898da22c825463e69b", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 39 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Medium;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 39 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 39 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1845, 91, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                EndContext();
                BeginContext(1936, 139, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8de177ca817942169d5bb147559a34ed", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 42 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Medium;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 42 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 42 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2075, 158, true);
                WriteLiteral("\r\n                        </td>\r\n                    </tr>\r\n                </table>\r\n                <br />\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2258, 83, true);
                WriteLiteral("\r\n    <style>\r\n        .frame {\r\n            width: 50%;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
コード例 #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(54, 53, true);
                WriteLiteral("<span class=\"sampleName\">PivotClient / Paging</span> ");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(128, 192, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to load large records with paging to improve performance.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(348, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(350, 1130, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "63c608587b86453e9cfc9e81fca24648", async() => {
                    BeginContext(574, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(580, 31, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "797bfb84c1b942caafa650ce520e57c3", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize);
                    __Syncfusion_JavaScript_PivotClientSize.Width = (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(611, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(617, 843, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7f541c467f384050a02eb620b924c2f2", async() => {
                        BeginContext(737, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(747, 107, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3dd5f17222cd44d099156151b0df4c13", async() => {
                            BeginContext(761, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(775, 54, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "aa439e1a08e546a5826a48d7eff2fc96", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (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(829, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(854, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(864, 137, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4f86cb009ba64dd49228c7e155b6be00", async() => {
                            BeginContext(881, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(895, 78, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d11bef1e026b4f4cbc71bc0dbb650ec9", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (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(973, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1001, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1011, 282, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1ec9e302ae8a495ba7569f87c56a957f", async() => {
                            BeginContext(1027, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(1041, 225, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "db6c36406d684165828b7e94a11d48d9", async() => {
                                BeginContext(1070, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                                BeginContext(1088, 148, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "994a2fcbb2ff48baaf7d8103628b9f0c", async() => {
                                    BeginContext(1100, 22, true);
                                    WriteLiteral("\r\n                    ");
                                    EndContext();
                                    BeginContext(1122, 83, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d11d52ce5e894f908238a10df592268c", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems);
                                    __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1205, 18, true);
                                    WriteLiteral("\r\n                ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1236, 14, true);
                                WriteLiteral("\r\n            ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                            __Syncfusion_JavaScript_Models_Field.Axis = global::Syncfusion.JavaScript.AxisName.Column;

#line default
#line hidden
                            __tagHelperExecutionContext.AddTagHelperAttribute("axis", __Syncfusion_JavaScript_Models_Field.Axis, 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(1266, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1293, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1303, 135, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pager-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "19fbb66abaf247d1bb6f90b389dbf1dd", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PagerOptions = CreateTagHelper <global::Syncfusion.JavaScript.Models.PagerOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PagerOptions);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                        __Syncfusion_JavaScript_Models_PagerOptions.CategoricalPageSize = 5;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("categorical-page-size", __Syncfusion_JavaScript_Models_PagerOptions.CategoricalPageSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                        __Syncfusion_JavaScript_Models_PagerOptions.CategoricalCurrentPage = 1;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("categorical-current-page", __Syncfusion_JavaScript_Models_PagerOptions.CategoricalCurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                        __Syncfusion_JavaScript_Models_PagerOptions.SeriesPageSize = 5;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("series-page-size", __Syncfusion_JavaScript_Models_PagerOptions.SeriesPageSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                        __Syncfusion_JavaScript_Models_PagerOptions.SeriesCurrentPage = 1;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("series-current-page", __Syncfusion_JavaScript_Models_PagerOptions.SeriesCurrentPage, 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(1438, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource);
                    __Syncfusion_JavaScript_Models_PivotDataSource.Catalog = (string)__tagHelperAttribute_4.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                    __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    __Syncfusion_JavaScript_Models_PivotDataSource.Data = (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(1460, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_PivotClientProperties.EnablePaging = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-paging", __Syncfusion_JavaScript_Models_PivotClientProperties.EnablePaging, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1480, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1508, 2273, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        function setChartProperties(args) {
            this._pivotChart.model.load = ""loadTheme"";
			this._pivotChart.model.preRender = ""preRender"";
            if (args._successAction == undefined || args._successAction == ""Filter"") {
                this._pivotChart.model.legend.rowCount = 2;
                this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 };
                this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } };
            }
        }
		function preRender(sender) {
            sender.model.border.opacity = 1;
            if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") {
                sender.model.background = ""white"";
                sender.model.chartArea.background = ""white"";
            }
            else {
                sender.model.background = ""black"";
                sender.mo");
                WriteLiteral(@"del.chartArea.background = ""black""
            }
        }
        function Export(args) {
            args.url = ""ExportPivotClient"";
        }
        function reportSettings(args) {
            if (args.fetchReportSetting)
                args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap"";
            else if (args.loadReportSetting)
                args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap"";
            else
                args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap"";
            return args;
        }
        function renderClient(args) {
            pivotClient = $(""#PivotClient1"").data(""ejPivotClient"");
            paging = $('#Paging').data(""ejRadioButton"");
            pivotClient.model.enablePaging = false;
            pivotClient.model.enableVirtualScrolling = false;
            if (paging.model.checked)
                pivotClient.model.enablePaging = true;
        ");
                WriteLiteral("    else\r\n                pivotClient.model.enableVirtualScrolling = true;\r\n            pivotClient._load();\r\n        }\r\n\t\t$(function () {\r\n            $(\"#sampleProperties\").ejPropertiesPanel();\r\n        });\r\n    </script>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3806, 646, true);
                WriteLiteral(@"
    <style>
        #PivotClient1 {
            min-height: 275px; 
            min-width: 525px
        }
        .cols-prop-area {
            margin-top: 30px;
            width: 35%;
            height: 120px;
            min-height: 50px;
            float: left;
        }

        .radioBtnLabel {
            margin-left: 5px;
        }

        .cols-prop-area {
            width: 416px !important;
            min-height: 93px !important;
        }

        .col-md-3 {
            height: 30px !important;
        }
        .cols-sample-area {
            width: 100% !important;
        }
    </style>
");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(4482, 296, true);
                WriteLiteral(@"
    <div id=""sampleProperties"">
        <div class=""prop-grid"">
            <div class=""row"">
                <div class=""col-md-3"" style=""width:120px"">
                    Paging Type
                </div>
                <div class=""col-md-3"" style=""width:120px"">
                    ");
                EndContext();
                BeginContext(4778, 160, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c7337a396674444d9a898dd551bb17bb", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
#line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_18.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(4938, 106, true);
                WriteLiteral("\r\n                </div>\r\n                <div class=\"col-md-3\" style=\"width:120px\">\r\n                    ");
                EndContext();
                BeginContext(5044, 186, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "29fe9f574b1748ff91618f95ee990e0b", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_19.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
#line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_20.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_21.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_18.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(5230, 74, true);
                WriteLiteral("\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
        }
コード例 #4
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 202, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"This example demonstrates the default functionalities of the RadioButton and its various property like size, text, checked, enabled and value in a ASP.NET Core\">\r\n");
                EndContext();
            }
                          );
            BeginContext(223, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("SampleHeading", async() => {
                BeginContext(248, 60, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Button / Radio Buttons</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(336, 300, true);
                WriteLiteral(@"
    <div class=""frame"">
        <div class=""control"">
            <div class=""radioalign"">
                <br />
                Category<br />
                <br />
                <table>
                    <tr>
                        <td class=""chkrad"">
                            ");
                EndContext();
                BeginContext(636, 136, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "11067acfcab14da6aa86b30e12710be6", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (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(772, 118, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td class=\"chkrad\" colspan=\"2\">\r\n                            ");
                EndContext();
                BeginContext(890, 145, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e3bc1d40801245178c2fd00367286143", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (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(1035, 317, true);
                WriteLiteral(@"
                        </td>
                    </tr>
                </table>
                <br />
                <br />
                Experienced<br />
                <br />
                <table>
                    <tr>
                        <td class=""chkrad"">
                            ");
                EndContext();
                BeginContext(1352, 140, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "63f403a70e634b0bb2c8326be6e8559f", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 31 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Medium;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 31 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 31 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1492, 106, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td class=\"chkrad\">\r\n                            ");
                EndContext();
                BeginContext(1598, 143, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1f30ef592d8a418ba4f0f200272b2c86", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 34 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Medium;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 34 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 34 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1741, 91, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                EndContext();
                BeginContext(1832, 139, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c5b1faeaae51490ea152d8a7c576d37f", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 37 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Medium;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 37 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 37 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1971, 158, true);
                WriteLiteral("\r\n                        </td>\r\n                    </tr>\r\n                </table>\r\n                <br />\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2154, 83, true);
                WriteLiteral("\r\n    <style>\r\n        .frame {\r\n            width: 50%;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
コード例 #5
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(54, 53, true);
                WriteLiteral("<span class=\"sampleName\">PivotClient / Paging</span> ");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(128, 192, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core pivot client control describes how to load large records with paging to improve performance.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(348, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(350, 1130, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-client", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "feac822fd49746ecaaa69db938b456eb", async() => {
                    BeginContext(574, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(580, 31, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-size", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f734d0e533e2462d8ac4e1bb03a1214b", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_PivotClientSize = CreateTagHelper <global::Syncfusion.JavaScript.PivotClientSize>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotClientSize);
                    __Syncfusion_JavaScript_PivotClientSize.Width = (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(611, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(617, 843, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5a05a4542b3f4ceca2226279988b6757", async() => {
                        BeginContext(737, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(747, 107, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e48dee9b4ea947429a0b10e0546873d6", async() => {
                            BeginContext(761, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(775, 54, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2cfb4273f1e54caf8047dd40a57cff22", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (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(829, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(854, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(864, 137, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3ccfb31e87a4b948369012b7a808590", async() => {
                            BeginContext(881, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(895, 78, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7b2bf435198742adb85c3a35e1fe5147", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (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(973, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1001, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1011, 282, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e6912cfcf9594130981c106a87b2afd3", async() => {
                            BeginContext(1027, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                            BeginContext(1041, 225, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f86abbe728f24c089eb8279158ab6852", async() => {
                                BeginContext(1070, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                                BeginContext(1088, 148, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measures", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a18573e279c244589d326c01c63a4f0e", async() => {
                                    BeginContext(1100, 22, true);
                                    WriteLiteral("\r\n                    ");
                                    EndContext();
                                    BeginContext(1122, 83, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-measure-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d89349ab4e3747f6a790feb6eb387b7d", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_MeasuresItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MeasuresItems>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MeasuresItems);
                                    __Syncfusion_JavaScript_Models_MeasuresItems.FieldName = (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(1205, 18, true);
                                    WriteLiteral("\r\n                ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1236, 14, true);
                                WriteLiteral("\r\n            ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                            __Syncfusion_JavaScript_Models_Field.Axis = global::Syncfusion.JavaScript.AxisName.Column;

#line default
#line hidden
                            __tagHelperExecutionContext.AddTagHelperAttribute("axis", __Syncfusion_JavaScript_Models_Field.Axis, 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(1266, 10, true);
                            WriteLiteral("\r\n        ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1293, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(1303, 135, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pager-options", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d30a58e15ea94354bbe49a793d989b26", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_PagerOptions = CreateTagHelper <global::Syncfusion.JavaScript.Models.PagerOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PagerOptions);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                        __Syncfusion_JavaScript_Models_PagerOptions.CategoricalPageSize = 5;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("categorical-page-size", __Syncfusion_JavaScript_Models_PagerOptions.CategoricalPageSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                        __Syncfusion_JavaScript_Models_PagerOptions.CategoricalCurrentPage = 1;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("categorical-current-page", __Syncfusion_JavaScript_Models_PagerOptions.CategoricalCurrentPage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                        __Syncfusion_JavaScript_Models_PagerOptions.SeriesPageSize = 5;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("series-page-size", __Syncfusion_JavaScript_Models_PagerOptions.SeriesPageSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                        __Syncfusion_JavaScript_Models_PagerOptions.SeriesCurrentPage = 1;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("series-current-page", __Syncfusion_JavaScript_Models_PagerOptions.SeriesCurrentPage, 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(1438, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource);
                    __Syncfusion_JavaScript_Models_PivotDataSource.Catalog = (string)__tagHelperAttribute_4.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                    __Syncfusion_JavaScript_Models_PivotDataSource.Cube = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    __Syncfusion_JavaScript_Models_PivotDataSource.Data = (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(1460, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_PivotClientProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotClientProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotClientProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_PivotClientProperties.Title = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_PivotClientProperties.EnablePaging = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-paging", __Syncfusion_JavaScript_Models_PivotClientProperties.EnablePaging, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_PivotClientProperties.BeforeExport = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_PivotClientProperties.RenderSuccess = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_PivotClientProperties.LoadReport = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_PivotClientProperties.FetchReport = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_PivotClientProperties.SaveReport = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1480, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1508, 2273, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        function setChartProperties(args) {
            this._pivotChart.model.load = ""loadTheme"";
			this._pivotChart.model.preRender = ""preRender"";
            if (args._successAction == undefined || args._successAction == ""Filter"") {
                this._pivotChart.model.legend.rowCount = 2;
                this._pivotChart.model.primaryXAxis = { title: { text: ""Customer Geography"" }, labelRotation: 270 };
                this._pivotChart.model.primaryYAxis = { title: { text: ""Internet Sales Amount"" } };
            }
        }
		function preRender(sender) {
            sender.model.border.opacity = 1;
            if (sender.model.theme.indexOf(""light"") > -1 || sender.model.theme == ""bootstrap"" || sender.model.theme == ""material"") {
                sender.model.background = ""white"";
                sender.model.chartArea.background = ""white"";
            }
            else {
                sender.model.background = ""black"";
                sender.mo");
                WriteLiteral(@"del.chartArea.background = ""black""
            }
        }
        function Export(args) {
            args.url = ""ExportPivotClient"";
        }
        function reportSettings(args) {
            if (args.fetchReportSetting)
                args.fetchReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap"";
            else if (args.loadReportSetting)
                args.loadReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap"";
            else
                args.saveReportSetting.url = ""//js.syncfusion.com/ejservices/api/PivotClient/Olap"";
            return args;
        }
        function renderClient(args) {
            pivotClient = $(""#PivotClient1"").data(""ejPivotClient"");
            paging = $('#Paging').data(""ejRadioButton"");
            pivotClient.model.enablePaging = false;
            pivotClient.model.enableVirtualScrolling = false;
            if (paging.model.checked)
                pivotClient.model.enablePaging = true;
        ");
                WriteLiteral("    else\r\n                pivotClient.model.enableVirtualScrolling = true;\r\n            pivotClient._load();\r\n        }\r\n\t\t$(function () {\r\n            $(\"#sampleProperties\").ejPropertiesPanel();\r\n        });\r\n    </script>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3806, 646, true);
                WriteLiteral(@"
    <style>
        #PivotClient1 {
            min-height: 275px; 
            min-width: 525px
        }
        .cols-prop-area {
            margin-top: 30px;
            width: 35%;
            height: 120px;
            min-height: 50px;
            float: left;
        }

        .radioBtnLabel {
            margin-left: 5px;
        }

        .cols-prop-area {
            width: 416px !important;
            min-height: 93px !important;
        }

        .col-md-3 {
            height: 30px !important;
        }
        .cols-sample-area {
            width: 100% !important;
        }
    </style>
");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(4482, 296, true);
                WriteLiteral(@"
    <div id=""sampleProperties"">
        <div class=""prop-grid"">
            <div class=""row"">
                <div class=""col-md-3"" style=""width:120px"">
                    Paging Type
                </div>
                <div class=""col-md-3"" style=""width:120px"">
                    ");
                EndContext();
                BeginContext(4778, 160, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "35341707e298492694cba8b27cb48fc9", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
#line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 116 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_18.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(4938, 106, true);
                WriteLiteral("\r\n                </div>\r\n                <div class=\"col-md-3\" style=\"width:120px\">\r\n                    ");
                EndContext();
                BeginContext(5044, 186, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6a018bc8eb544b8ca31c8156ef26f639", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_19.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
#line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotClient\Paging.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_20.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_21.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_18.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(5230, 74, true);
                WriteLiteral("\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
        }
コード例 #6
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 182, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"RadioButton for ASP.NET Core with the strongly typed extension support. Value is set from the code behind by invoking RadioButtonFor helper\">\r\n");
                EndContext();
            }
                          );
            BeginContext(203, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("SampleHeading", async() => {
                BeginContext(228, 61, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Button / RadioButtonFor</span>");
                EndContext();
            }
                          );
            BeginContext(292, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            BeginContext(358, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(387, 300, true);
                WriteLiteral(@"
    <div class=""frame"">
        <div class=""control"">
            <div class=""radioalign"">
                <br />
                Category<br />
                <br />
                <table>
                    <tr>
                        <td class=""chkrad"">
                            ");
                EndContext();
                BeginContext(687, 162, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c7b9138f6fed46e6a4c3b8645d380f6a", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => Model.isChecked);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("ej-for", __Syncfusion_JavaScript_Models_RadioButtonProperties.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (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(849, 118, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td class=\"chkrad\" colspan=\"2\">\r\n                            ");
                EndContext();
                BeginContext(967, 172, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "963fda9046154ca8a4ddd10e87a05999", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => Model.isChecked);

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("ej-for", __Syncfusion_JavaScript_Models_RadioButtonProperties.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (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(1139, 317, true);
                WriteLiteral(@"
                        </td>
                    </tr>
                </table>
                <br />
                <br />
                Experienced<br />
                <br />
                <table>
                    <tr>
                        <td class=""chkrad"">
                            ");
                EndContext();
                BeginContext(1456, 140, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a94f7a31e2154897ba4420305c2cc6db", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 36 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Medium;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 36 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 36 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1596, 106, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td class=\"chkrad\">\r\n                            ");
                EndContext();
                BeginContext(1702, 143, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e507a2e70f8642189ea1885bae76798b", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 39 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Medium;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 39 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 39 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1845, 91, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                EndContext();
                BeginContext(1936, 139, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "395db710ffff40818108f27edcc2e655", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 42 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Medium;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 42 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 42 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobuttonfor.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2075, 158, true);
                WriteLiteral("\r\n                        </td>\r\n                    </tr>\r\n                </table>\r\n                <br />\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2258, 83, true);
                WriteLiteral("\r\n    <style>\r\n        .frame {\r\n            width: 50%;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
コード例 #7
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 202, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"This example demonstrates the default functionalities of the RadioButton and its various property like size, text, checked, enabled and value in a ASP.NET Core\">\r\n");
                EndContext();
            }
                          );
            BeginContext(223, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("SampleHeading", async() => {
                BeginContext(248, 60, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">Button / Radio Buttons</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(336, 300, true);
                WriteLiteral(@"
    <div class=""frame"">
        <div class=""control"">
            <div class=""radioalign"">
                <br />
                Category<br />
                <br />
                <table>
                    <tr>
                        <td class=""chkrad"">
                            ");
                EndContext();
                BeginContext(636, 136, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a3c340435ed54dff8ca10bfc2d5b39a5", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_0.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (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(772, 118, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td class=\"chkrad\" colspan=\"2\">\r\n                            ");
                EndContext();
                BeginContext(890, 145, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e78fc7a8303643aa8c44d7079697c3f6", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (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(1035, 317, true);
                WriteLiteral(@"
                        </td>
                    </tr>
                </table>
                <br />
                <br />
                Experienced<br />
                <br />
                <table>
                    <tr>
                        <td class=""chkrad"">
                            ");
                EndContext();
                BeginContext(1352, 140, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "19996bcf10fa42ac9f545ce4d5f67683", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 31 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Medium;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 31 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 31 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1492, 106, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td class=\"chkrad\">\r\n                            ");
                EndContext();
                BeginContext(1598, 143, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9f642c2a31d446bdaa3173e97ddca415", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 34 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Medium;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 34 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 34 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1741, 91, true);
                WriteLiteral("\r\n                        </td>\r\n                        <td>\r\n                            ");
                EndContext();
                BeginContext(1832, 139, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c497a400903241518f55f5736b15c5fd", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 37 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Medium;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 37 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 37 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\radiobutton.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1971, 158, true);
                WriteLiteral("\r\n                        </td>\r\n                    </tr>\r\n                </table>\r\n                <br />\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2154, 83, true);
                WriteLiteral("\r\n    <style>\r\n        .frame {\r\n            width: 50%;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
コード例 #8
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(54, 61, true);
                WriteLiteral("<span class=\"sampleName\">PivotGrid / User Interaction</span> ");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(136, 202, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core Pivot Grid control shows how to re-arrange the fields to change pivot report and pivot view at runtime\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(366, 29, true);
                WriteLiteral("\r\n<div class=\"control\">\r\n    ");
                EndContext();
                BeginContext(395, 704, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ffa8bb1b9aa444569900f221387c4206", async() => {
                    BeginContext(537, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(547, 530, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f1ade83f83834ecb93cbf06e21fea3fe", async() => {
                        BeginContext(562, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(576, 151, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f46662137f9d4b0d92cb2892f118d285", async() => {
                            BeginContext(590, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(608, 90, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "63cbf5d99adf424aa9e56e2116614f30", async() => {
                                BeginContext(666, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_0.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (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(698, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(727, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(741, 139, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cc939e8a49814f2fb0fd39a285686cbd", async() => {
                            BeginContext(758, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(776, 72, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ec3cc33815ef49a69d7ab1d5a446164a", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (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(848, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(880, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(894, 157, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d8ad4b312dc04ed2a72a96d7bc0f2af4", async() => {
                            BeginContext(910, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(928, 92, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "db49e1cb7f8142f389fb248c2234a271", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_4.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_5.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                            __Syncfusion_JavaScript_Models_Field.Format = (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(1020, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1051, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1077, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_PivotGridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotGridProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotGridProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-grouping-bar", __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_PivotGridProperties.Load = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                __Syncfusion_JavaScript_Models_PivotGridProperties.PivotTableFieldListID = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1099, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(1105, 79, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-schema-designer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c8b26467700642dfa00f673d15474483", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_PivotSchemaDesignerProperties = CreateTagHelper <global::Syncfusion.JavaScript.PivotSchemaDesignerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotSchemaDesignerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1184, 10, true);
                WriteLiteral("\r\n</div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1220, 6144, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        var pivot_dataset = [
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Alberta"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""British Columbia"" },
                                        { Amount: 300, Country: ""Canada"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Brunswick"" },
                                        { Amount: 150, Country: ""Canada"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 3, State: ""Manitoba"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Car"", Quantity: 4, State: ""Ontario"" },
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2007"", Product: ""Van"", Quantity: 1, State: ""Quebec"" },
                                        { Amount: 200, Country: ""France"", Date: ""FY 2005"", Prod");
                WriteLiteral(@"uct: ""Bike"", Quantity: 2, State: ""Charente-Maritime"" },
                                        { Amount: 250, Country: ""France"", Date: ""FY 2006"", Product: ""Van"", Quantity: 4, State: ""Essonne"" },
                                        { Amount: 300, Country: ""France"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Garonne (Haute)"" },
                                        { Amount: 150, Country: ""France"", Date: ""FY 2008"", Product: ""Van"", Quantity: 2, State: ""Gers"" },
                                        { Amount: 200, Country: ""Germany"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""Bayern"" },
                                        { Amount: 250, Country: ""Germany"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Brandenburg"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2008"", Product: ""Car"", Quantity: 4, State: ""Hamburg"" },
                                        { Amount: 200, Country: ""Germany"", Date: ""FY 2008"", Product: ""Bike"", Q");
                WriteLiteral(@"uantity: 4, State: ""Hessen"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2007"", Product: ""Van"", Quantity: 3, State: ""Nordrhein-Westfalen"" },
                                        { Amount: 100, Country: ""Germany"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Saarland"" },
                                        { Amount: 150, Country: ""United Kingdom"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 5, State: ""England"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Alabama"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Van"", Quantity: 4, State: ""California"" },
                                        { Amount: 100, Country: ""United States"", Date: ""FY 2006"", Product: ""Bike"", Quantity: 2, State: ""Colorado"" },
                                        { Amount: 150, Country: ""United States"", Date: ""FY 2008");
                WriteLiteral(@""", Product: ""Car"", Quantity: 3, State: ""New Mexico"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 4, State: ""New York"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""North Carolina"" },
                                        { Amount: 300, Country: ""United States"", Date: ""FY 2007"", Product: ""Van"", Quantity: 4, State: ""South Carolina"" }
        ];
            function onload(args) {
                args.model.dataSource.data = pivot_dataset;
            }
            var pivotGrid, relationalRadioBtn, olapRadioBtn;
            $(function () {
                $(""#sampleProperties"").ejPropertiesPanel();
            });
            function renderGrid(args) {
                pivotGrid = $(""#PivotGrid1"").data(""ejPivotGrid"");
                relationalRadioBtn = $('#rdbRelational').data(""ejRadioButton""); olapRadioBtn = $('#rdbOlap'");
                WriteLiteral(@").data(""ejRadioButton"");
                var pivotdataSource = {
                    data: pivot_dataset, cube: """",
                    rows: [{ fieldName: ""Country"", fieldCaption: ""Country"" }, { fieldName: ""State"", fieldCaption: ""State"" }],
                    columns: [{ fieldName: ""Product"", fieldCaption: ""Product"" }],
                    values: [{ fieldName: ""Amount"", fieldCaption: ""Amount"", format: ""currency"" }, { fieldName: ""Quantity"", fieldCaption: ""Quantity"" }],
                    filters: []
                };
                var olapDataSource = {
                    data: ""//bi.syncfusion.com/olap/msmdpump.dll"", catalog: ""Adventure Works DW 2008 SE"", cube: ""Adventure Works"",
                    rows: [{ fieldName: ""[Date].[Fiscal]"" }],
                    columns: [{ fieldName: ""[Customer].[Customer Geography]"" }],
                    values: [{ measures: [{ fieldName: ""[Measures].[Internet Sales Amount]"" }], axis: ""columns"" }],
                    filters: []
                };
  ");
                WriteLiteral(@"              $("".e-pivotgrid"").remove();
                $("".e-pivotschemadesigner"").remove();
                var gridPanel = ej.buildTag(""div#PivotGrid1"", """")[0].outerHTML;
                var gridSchemaPanel = ej.buildTag(""div#PivotSchemaDesigner1"", """")[0].outerHTML;
                $(gridPanel).appendTo("".control"");
                $(gridSchemaPanel).appendTo("".control"");
                $(""#PivotGrid1"").ejPivotGrid({
                    dataSource: relationalRadioBtn.model.checked ? pivotdataSource : olapRadioBtn.model.checked ? olapDataSource : pivotdataSource, pivotTableFieldListID: ""PivotSchemaDesigner1"", isResponsive: true,
                    enableGroupingBar: true,
                });
                if (olapRadioBtn.model.checked)
                    $(""#PivotSchemaDesigner1"").ejPivotSchemaDesigner({ olap: { showKPI: false, showNamedSets: true } });
                else
                    $(""#PivotSchemaDesigner1"").ejPivotSchemaDesigner();
            }
</script>
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(7389, 971, true);
                WriteLiteral(@"
    <style>
            .e-pivotgrid {
                width: 55%;
                height: 630px;
                display: inline-block;
                float: left;
                overflow: auto;
            }

            .e-pivotschemadesigner {
                width: 40% !important;
                display: inline-block;
                margin-left: 10px;
            }

            .cols-prop-area {
                margin-top: 30px;
                width: 35%;
                height: 120px;
                min-height: 50px;
                float: left;
            }

            .radioBtnLabel {
                margin-left: 5px;
            }


        .cols-prop-area {
            width: 416px !important;
            min-height: 93px !important;
        }

        .col-md-3 {
            height: 30px !important;
        }
        .cols-sample-area {
            width: 100% !important;
        }

    </style>
");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(8390, 264, true);
                WriteLiteral(@"
<div id=""sampleProperties"">
    <div class=""prop-grid"">
        <div class=""row"">
            <div class=""col-md-3"" style=""width:120px"">
                Data Source
            </div>
            <div class=""col-md-3"" style=""width:120px"">
                ");
                EndContext();
                BeginContext(8654, 173, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6f0a1bb385b540199051067ebfaaed24", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
#line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(8827, 94, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"col-md-3\" style=\"width:120px\">\r\n                ");
                EndContext();
                BeginContext(8921, 156, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ad28c43f29e84e1b8d0a0ceaa06ad2bf", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
#line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_18.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(9077, 58, true);
                WriteLiteral("\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n");
                EndContext();
            }
                          );
        }
コード例 #9
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(54, 61, true);
                WriteLiteral("<span class=\"sampleName\">PivotGrid / User Interaction</span> ");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(136, 202, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core Pivot Grid control shows how to re-arrange the fields to change pivot report and pivot view at runtime\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(366, 29, true);
                WriteLiteral("\r\n<div class=\"control\">\r\n    ");
                EndContext();
                BeginContext(395, 704, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6ab7a6a249ed4ff4b75ab08e9f2e9495", async() => {
                    BeginContext(537, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(547, 530, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "680183e537cd4a699fd0710a7944a685", async() => {
                        BeginContext(562, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(576, 151, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3b58d8d917664d448a2a56882fa9ea17", async() => {
                            BeginContext(590, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(608, 90, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "39f353f928c8459aa0f393dfeae1d92c", async() => {
                                BeginContext(666, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_0.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (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(698, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(727, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(741, 139, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "363bd124f61d4d19ac93be7931be9dfc", async() => {
                            BeginContext(758, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(776, 72, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a00a5f3cac33420bb5218a3e3dea620a", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (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(848, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(880, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(894, 157, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9f68ed0cb5ff4af992153c844ed17d67", async() => {
                            BeginContext(910, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(928, 92, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e721b73dc1d640da9526a48f0f848b9b", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field);
                            __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_4.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                            __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_5.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                            __Syncfusion_JavaScript_Models_Field.Format = (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(1020, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1051, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1077, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_PivotGridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotGridProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotGridProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-grouping-bar", __Syncfusion_JavaScript_Models_PivotGridProperties.EnableGroupingBar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_PivotGridProperties.Load = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                __Syncfusion_JavaScript_Models_PivotGridProperties.PivotTableFieldListID = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1099, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(1105, 79, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-schema-designer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ca189513fc49432abd423cc7fc35add1", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_PivotSchemaDesignerProperties = CreateTagHelper <global::Syncfusion.JavaScript.PivotSchemaDesignerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotSchemaDesignerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1184, 10, true);
                WriteLiteral("\r\n</div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1220, 6144, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        var pivot_dataset = [
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Alberta"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""British Columbia"" },
                                        { Amount: 300, Country: ""Canada"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Brunswick"" },
                                        { Amount: 150, Country: ""Canada"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 3, State: ""Manitoba"" },
                                        { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Car"", Quantity: 4, State: ""Ontario"" },
                                        { Amount: 100, Country: ""Canada"", Date: ""FY 2007"", Product: ""Van"", Quantity: 1, State: ""Quebec"" },
                                        { Amount: 200, Country: ""France"", Date: ""FY 2005"", Prod");
                WriteLiteral(@"uct: ""Bike"", Quantity: 2, State: ""Charente-Maritime"" },
                                        { Amount: 250, Country: ""France"", Date: ""FY 2006"", Product: ""Van"", Quantity: 4, State: ""Essonne"" },
                                        { Amount: 300, Country: ""France"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Garonne (Haute)"" },
                                        { Amount: 150, Country: ""France"", Date: ""FY 2008"", Product: ""Van"", Quantity: 2, State: ""Gers"" },
                                        { Amount: 200, Country: ""Germany"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""Bayern"" },
                                        { Amount: 250, Country: ""Germany"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Brandenburg"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2008"", Product: ""Car"", Quantity: 4, State: ""Hamburg"" },
                                        { Amount: 200, Country: ""Germany"", Date: ""FY 2008"", Product: ""Bike"", Q");
                WriteLiteral(@"uantity: 4, State: ""Hessen"" },
                                        { Amount: 150, Country: ""Germany"", Date: ""FY 2007"", Product: ""Van"", Quantity: 3, State: ""Nordrhein-Westfalen"" },
                                        { Amount: 100, Country: ""Germany"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Saarland"" },
                                        { Amount: 150, Country: ""United Kingdom"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 5, State: ""England"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Alabama"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Van"", Quantity: 4, State: ""California"" },
                                        { Amount: 100, Country: ""United States"", Date: ""FY 2006"", Product: ""Bike"", Quantity: 2, State: ""Colorado"" },
                                        { Amount: 150, Country: ""United States"", Date: ""FY 2008");
                WriteLiteral(@""", Product: ""Car"", Quantity: 3, State: ""New Mexico"" },
                                        { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 4, State: ""New York"" },
                                        { Amount: 250, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""North Carolina"" },
                                        { Amount: 300, Country: ""United States"", Date: ""FY 2007"", Product: ""Van"", Quantity: 4, State: ""South Carolina"" }
        ];
            function onload(args) {
                args.model.dataSource.data = pivot_dataset;
            }
            var pivotGrid, relationalRadioBtn, olapRadioBtn;
            $(function () {
                $(""#sampleProperties"").ejPropertiesPanel();
            });
            function renderGrid(args) {
                pivotGrid = $(""#PivotGrid1"").data(""ejPivotGrid"");
                relationalRadioBtn = $('#rdbRelational').data(""ejRadioButton""); olapRadioBtn = $('#rdbOlap'");
                WriteLiteral(@").data(""ejRadioButton"");
                var pivotdataSource = {
                    data: pivot_dataset, cube: """",
                    rows: [{ fieldName: ""Country"", fieldCaption: ""Country"" }, { fieldName: ""State"", fieldCaption: ""State"" }],
                    columns: [{ fieldName: ""Product"", fieldCaption: ""Product"" }],
                    values: [{ fieldName: ""Amount"", fieldCaption: ""Amount"", format: ""currency"" }, { fieldName: ""Quantity"", fieldCaption: ""Quantity"" }],
                    filters: []
                };
                var olapDataSource = {
                    data: ""//bi.syncfusion.com/olap/msmdpump.dll"", catalog: ""Adventure Works DW 2008 SE"", cube: ""Adventure Works"",
                    rows: [{ fieldName: ""[Date].[Fiscal]"" }],
                    columns: [{ fieldName: ""[Customer].[Customer Geography]"" }],
                    values: [{ measures: [{ fieldName: ""[Measures].[Internet Sales Amount]"" }], axis: ""columns"" }],
                    filters: []
                };
  ");
                WriteLiteral(@"              $("".e-pivotgrid"").remove();
                $("".e-pivotschemadesigner"").remove();
                var gridPanel = ej.buildTag(""div#PivotGrid1"", """")[0].outerHTML;
                var gridSchemaPanel = ej.buildTag(""div#PivotSchemaDesigner1"", """")[0].outerHTML;
                $(gridPanel).appendTo("".control"");
                $(gridSchemaPanel).appendTo("".control"");
                $(""#PivotGrid1"").ejPivotGrid({
                    dataSource: relationalRadioBtn.model.checked ? pivotdataSource : olapRadioBtn.model.checked ? olapDataSource : pivotdataSource, pivotTableFieldListID: ""PivotSchemaDesigner1"", isResponsive: true,
                    enableGroupingBar: true,
                });
                if (olapRadioBtn.model.checked)
                    $(""#PivotSchemaDesigner1"").ejPivotSchemaDesigner({ olap: { showKPI: false, showNamedSets: true } });
                else
                    $(""#PivotSchemaDesigner1"").ejPivotSchemaDesigner();
            }
</script>
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(7389, 971, true);
                WriteLiteral(@"
    <style>
            .e-pivotgrid {
                width: 55%;
                height: 630px;
                display: inline-block;
                float: left;
                overflow: auto;
            }

            .e-pivotschemadesigner {
                width: 40% !important;
                display: inline-block;
                margin-left: 10px;
            }

            .cols-prop-area {
                margin-top: 30px;
                width: 35%;
                height: 120px;
                min-height: 50px;
                float: left;
            }

            .radioBtnLabel {
                margin-left: 5px;
            }


        .cols-prop-area {
            width: 416px !important;
            min-height: 93px !important;
        }

        .col-md-3 {
            height: 30px !important;
        }
        .cols-sample-area {
            width: 100% !important;
        }

    </style>
");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(8390, 264, true);
                WriteLiteral(@"
<div id=""sampleProperties"">
    <div class=""prop-grid"">
        <div class=""row"">
            <div class=""col-md-3"" style=""width:120px"">
                Data Source
            </div>
            <div class=""col-md-3"" style=""width:120px"">
                ");
                EndContext();
                BeginContext(8654, 173, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "03795e7e844e44559ae546349bdc9360", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
#line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 146 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(8827, 94, true);
                WriteLiteral("\r\n            </div>\r\n            <div class=\"col-md-3\" style=\"width:120px\">\r\n                ");
                EndContext();
                BeginContext(8921, 156, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radio-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8fe61225e90645bca41dd4eff31ec036", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RadioButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadioButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadioButtonProperties);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Id = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Name = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
#line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Size = RadioButtonSize.Small;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_RadioButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_RadioButtonProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 149 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\UserInteraction.cshtml"
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enabled", __Syncfusion_JavaScript_Models_RadioButtonProperties.Enabled, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Text = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Value = (string)__tagHelperAttribute_18.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
                __Syncfusion_JavaScript_Models_RadioButtonProperties.Change = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(9077, 58, true);
                WriteLiteral("\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n");
                EndContext();
            }
                          );
        }