#pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 49, true);
                WriteLiteral(" <span class=\"sampleName\">Dialog / Default</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(93, 158, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates how to create a Syncfusion ASP.NET Core Dialog component with a message to be displayed.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(279, 5, true);
                WriteLiteral("\r\n   ");
                EndContext();
                BeginContext(284, 70, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "15daccbccc6c4a5f96ed36dcbd793510", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(354, 37, true);
                WriteLiteral("\r\n    <div class=\"control\">\r\n        ");
                EndContext();
                BeginContext(391, 1362, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5152c7e20767479c9cd509e0bcd61dda", async() => {
                    BeginContext(552, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(566, 1165, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "87743e6ed776404291e09d8a0f605279", async() => {
                        BeginContext(586, 146, true);
                        WriteLiteral("\r\n                <div>\r\n                    <h1>Audi Q3</h1>\r\n                    <div class=\"audi-q3\">\r\n                        <img class=\"img\"");
                        EndContext();
                        BeginWriteAttribute("src", " src=\"", 732, "\"", 782, 1);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Default.cshtml"
                        WriteAttributeValue("", 738, Url.Content("~/images/dialog/audiq3-1.png"), 738, 44, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(783, 39, true);
                        WriteLiteral(" /><br />\r\n                        <img");
                        EndContext();
                        BeginWriteAttribute("src", " src=\"", 822, "\"", 872, 1);
#line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Default.cshtml"
                        WriteAttributeValue("", 828, Url.Content("~/images/dialog/audiq3-2.png"), 828, 44, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(873, 837, true);
                        WriteLiteral(@" />
                    </div>
                    <div class=""cnt"">
                        It is a concept vehicle with Liquid Silver body colour, 20-inch wheels, fabric folding roof, electrically-controlled hood, 4-cylinder 2.0 TDI engine rated 204 PS (150 kW; 201 hp)
                        and 400 N·m (295.02 lbf·ft), diesel particulate filter and Bluetec emission control system, quattro permanent four-wheel drive system with Haldex clutch,
                        Audi S tronic dual-clutch gearbox, McPherson-strut front axle and a four-link rear axle, Audi drive select system with 3 modes (dynamic, sport, efficiency),
                        MMI control panel with touch pad and dual-view technology, sound system with the prominent extending tweeters.
                    </div>
                </div>
            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1731, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_DialogProperties.Containment = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Default.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.Width = 550;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_DialogProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Default.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.MinWidth = 315;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("min-width", __Syncfusion_JavaScript_Models_DialogProperties.MinWidth, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Default.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.MinHeight = 215;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("min-height", __Syncfusion_JavaScript_Models_DialogProperties.MinHeight, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Default.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.Close = (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(1753, 21, true);
                WriteLiteral("       \r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1800, 273, true);
                WriteLiteral(@"
    <script>
        $(""#btnOpen"").hide();
        function onclick() {
            $(""#basicDialog"").ejDialog(""open"");
            $(""#btnOpen"").hide();
        }
        function onDialogClose(args) {
            $(""#btnOpen"").show();
        }
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2098, 575, true);
                WriteLiteral(@"
    <style class=""cssStyles"">
        .audi-q3 {
            float: right;
            height: 356px;
            width: 267px;
            margin-left: 10px;
        }

        .control {
            height: 600px;
            position:relative;
        }
       
        .cnt {
            min-height: 356px;
            text-align: justify;
        }

        h1 {
            margin: 0 0 10px 0;
        }

        .img {
            margin-bottom: 10px;
        }

        #basicDialog {
            padding: 15px;
        }
    </style>
");
                EndContext();
            }
                          );
            BeginContext(2676, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 53, true);
                WriteLiteral(" <span class=\"sampleName\">Dialog / ModalDialog</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(97, 194, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates how to prevent the interaction with other items on the same page using the Syncfusion ASP.NET Core Dialog component overlay.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(319, 8, true);
                WriteLiteral("\r\n\r\n    ");
                EndContext();
                BeginContext(327, 70, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e93369ecd8c547f1bb42010f96ba613b", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(397, 37, true);
                WriteLiteral("\r\n    <div class=\"control\">\r\n        ");
                EndContext();
                BeginContext(434, 2054, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7d718ed6de9e48f29cbf94a59f91dc8b", async() => {
                    BeginContext(599, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(613, 1853, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79cbf44c8393442cad9ab2aa4c9f241c", async() => {
                        BeginContext(633, 973, true);
                        WriteLiteral(@"
                <div>
                    <table>
                        <tr>
                            <td>
                                <p class=""top"">Please enter your username and password<p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Username <p class=""reqired"">*</p>
                                <input type=""text"" id=""txtName"" class=""ejinputtext"" required /><br />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Password <p class=""reqired"">*</p>
                                <input type=""password"" id=""txtPassword"" class=""ejinputtext"" required />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                ");
                        EndContext();
                        BeginContext(1606, 66, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-check-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "262d56a6628349d9874205a91d964573", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_CheckBoxProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.CheckBoxProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_CheckBoxProperties);
                        __Syncfusion_JavaScript_Models_CheckBoxProperties.Id = (string)__tagHelperAttribute_3.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                        __Syncfusion_JavaScript_Models_CheckBoxProperties.Text = (string)__tagHelperAttribute_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        __Syncfusion_JavaScript_Models_CheckBoxProperties.CssClass = (string)__tagHelperAttribute_5.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1672, 251, true);
                        WriteLiteral("                                \r\n                            </td>\r\n                        </tr>\r\n                        <tr>\r\n                            <td align=\"center\">\r\n                                <br />\r\n                                ");
                        EndContext();
                        BeginContext(1923, 119, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "40d777a845d74bbcb9e505e5135ce742", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
#line 38 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\ModelDialog.cshtml"
                        __Syncfusion_JavaScript_Models_ButtonProperties.Type = ButtonType.Button;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_Models_ButtonProperties.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 38 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\ModelDialog.cshtml"
                        __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Medium;

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Syncfusion_JavaScript_Models_ButtonProperties.Height = (string)__tagHelperAttribute_7.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                        __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_8.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                        __Syncfusion_JavaScript_Models_ButtonProperties.Text = (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(2042, 403, true);
                        WriteLiteral(@"                                
                            </td>
                        </tr>
                        <tr>
                            <td align=""center"" class=""acc"">
                                Don't have an account ? <a href=""#"">Signup</a>
                            </td>
                        </tr>
                    </table>
                </div>
            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2466, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\ModelDialog.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.Containment = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\ModelDialog.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.Width = 291;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_DialogProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\ModelDialog.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableModal = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-modal", __Syncfusion_JavaScript_Models_DialogProperties.EnableModal, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\ModelDialog.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableResize = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-resize", __Syncfusion_JavaScript_Models_DialogProperties.EnableResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.Close = (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(2488, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(2528, 453, true);
                WriteLiteral(@"
    <script>
        $(""#btnOpen"").hide();
        function onclick() {
            $(""#loginForm"").ejDialog(""open"");
            $(""#btnOpen"").hide();
        }

        function coupeClick() {
            $(""#r8Coupe"").ejDialog(""open"");
        }
        function spyderClick() {
            $(""#r8Spyder"").ejDialog(""open"");
        }
        function onDialogClose(args) {
            $(""#btnOpen"").show();
        }
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3006, 749, true);
                WriteLiteral(@"
    <style>
        .control {
            height: 450px;
            position: relative;
        }                

        .ejinputtext {
            height: 25px;
            width: 100%;
            margin-bottom: 10px;
        }

        .row .cols-sample-area {
            padding: 0px;
            margin-bottom: 50px;
            position: relative;
        }

        .acc {
            font-size: 12px;
            padding-top: 8px;
        }

        .top {
            margin-top: 5px;
        }

        .reqired {
            margin: 0 0 3px 0;
            color: red;
            display: inline-block;
        }

        .e-btn.e-button.e-js {
            border: none;
        }
    </style>
");
                EndContext();
            }
                          );
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(32, 14, true);
                WriteLiteral(" \r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 46, "\"", 110, 1);
#line 2 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RTE\CustomTool.cshtml"
                WriteAttributeValue("", 52, Url.Content("~/scripts/cultures/ej.culture.en-us.min.js"), 52, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(111, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            BeginContext(127, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("SampleHeading", async() => {
                BeginContext(152, 49, true);
                WriteLiteral(" <span class=\"sampleName\">RTE / CustomTool</span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(229, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RTE\CustomTool.cshtml"
                List <String> toolsList = new List <string>()
                {
                    "customTools"
                };
                List <String> style = new List <string>()
                {
                    "bold", "italic", "underline", "strikethrough"
                };
                List <String> alignment = new List <string>()
                {
                    "justifyLeft", "justifyCenter", "justifyRight", "justifyFull"
                };
                List <String> lists = new List <string>()
                {
                    "unorderedList", "orderedList"
                };
                List <String> clipboard = new List <string>()
                {
                    "cut", "copy", "paste"
                };
                List <String> doAction = new List <string>()
                {
                    "undo", "redo"
                };
                List <String> clear = new List <string>()
                {
                    "clearFormat", "clearAll"
                };
                List <String> tables = new List <string>()
                {
                    "createTable", "addRowAbove", "addRowBelow", "addColumnLeft", "addColumnRight", "deleteRow", "deleteColumn", "deleteTable"
                };
                List <String> links = new List <string>()
                {
                    "createLink"
                };
                List <String> images = new List <string>()
                {
                    "image"
                };
                List <String> media = new List <string>()
                {
                    "video"
                };
                List <String> effects = new List <string>()
                {
                    "superscript", "subscript"
                };
                List <String> casing = new List <string>()
                {
                    "upperCase", "lowerCase"
                };
                List <String> formatStyle = new List <string>()
                {
                    "format"
                };


#line default
#line hidden
                BeginContext(1448, 78, true);
                WriteLiteral("\r\n    <div>\r\n        <div style=\"width: 740px; height: 440px\">\r\n\r\n            ");
                EndContext();
                BeginContext(1526, 2023, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rte", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "775a9836b7eb41fe96bad3f9147c419e", async() => {
                    BeginContext(1611, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                    BeginContext(1629, 1602, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "71506e9bbec845f3abc2e3d72d8b605e", async() => {
                        BeginContext(1649, 1561, true);
                        WriteLiteral(@"
                    <div>
                        &lt;p&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;/p&gt;
                        &lt;p&gt;The Rich Text Editor (RTE) control is an easy to render in
                        client side. Customer easy to edit the contents and get the HTML content for
                        the displayed content. A rich text editor control provides users with a toolbar
                        that helps them to apply rich text formats to the text entered in the text
                        area. &lt;/p&gt;
                        &lt;p&gt;&lt;b&gt;Functional
                        Specifications/Requirements:&lt;/b&gt;&lt;/p&gt;
                        &lt;ol&gt;&lt;li&gt;&lt;p&gt;Provide
                        the tool bar support, it’s also customizable.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Options
                        to get the HTML elements with styles.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Support
                        to insert image from a defined path");
                        WriteLiteral(@".&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Footer
                        elements and styles(tag / Element information , Action button (Upload, Cancel))&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Re-size
                        the editor support. &lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Provide
                        efficient public methods and client side events.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Keyboard
                        navigation support.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;
                    </div>
                ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(3231, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                    BeginContext(3249, 277, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tools", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d4fb8652222f452894f995425894b6d6", async() => {
                        BeginContext(3258, 22, true);
                        WriteLiteral("\r\n                    ");
                        EndContext();
                        BeginContext(3280, 218, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-custom-tools", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1ac0f70008fa4d5ea58070609189cdd8", async() => {
                            BeginContext(3296, 26, true);
                            WriteLiteral("\r\n                        ");
                            EndContext();
                            BeginContext(3322, 122, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-custom-tool", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "17de574e44e74ecb9198749bae0a78e1", async() => {
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_CustomTools = CreateTagHelper <global::Syncfusion.JavaScript.Models.CustomTools>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_CustomTools);
                            __Syncfusion_JavaScript_Models_CustomTools.Name = (string)__tagHelperAttribute_0.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                            __Syncfusion_JavaScript_Models_CustomTools.Tooltip = (string)__tagHelperAttribute_1.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                            __Syncfusion_JavaScript_Models_CustomTools.Text = (string)__tagHelperAttribute_2.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                            __Syncfusion_JavaScript_Models_CustomTools.Css = (string)__tagHelperAttribute_3.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                            __Syncfusion_JavaScript_Models_CustomTools.Action = (string)__tagHelperAttribute_4.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(3444, 37, true);
                            WriteLiteral("               \r\n                    ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_RTETagHelperLists = CreateTagHelper <global::Syncfusion.JavaScript.Models.RTETagHelperLists>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RTETagHelperLists);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(3498, 18, true);
                        WriteLiteral("\r\n                ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_RTEtools = CreateTagHelper <global::Syncfusion.JavaScript.Models.RTEtools>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RTEtools);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(3526, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_RTEproperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RTEproperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RTEproperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
#line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RTE\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_RTEproperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_RTEproperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_RTEproperties.MinWidth = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
#line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RTE\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_RTEproperties.ToolsList = toolsList;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("tools-list", __Syncfusion_JavaScript_Models_RTEproperties.ToolsList, 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(3549, 319, true);
                WriteLiteral(@" 
            
            <div id=""rteTarget"">
                <ul>
                    <li>Java Script</li>
                    <li>HTML</li>             
                </ul>
            </div>
            <div id=""customSourceCode"" title=""Paste you code and inset to RTE"" style=""width: auto"">
            ");
                EndContext();
                BeginContext(3868, 1620, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "04dba232c26d445abea2c9912c2407d1", async() => {
                    BeginContext(4016, 19, true);
                    WriteLiteral(" \r\n                ");
                    EndContext();
                    BeginContext(4035, 1427, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ca8eba9f35bd4e2d9cc8b808b26a4d2b", async() => {
                        BeginContext(4055, 307, true);
                        WriteLiteral(@"
                    <table>
                        <tr>
                            <td style=""width: 100px"">
                                Select type :
                            </td>
                            <td>
                                <div>
                                    ");
                        EndContext();
                        BeginContext(4362, 97, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "96f0bc65f6ea4ed6bd151fe2d3d1c4dd", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                        __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_8.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                        __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (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(4459, 666, true);
                        WriteLiteral(@"
                                    </div>
                            </td>
                        </tr>
                        <tr>
                            <td colspan=""2"">
                                <textarea id=""srcCode"" style=""width: 550px; height: 250px"">
                                    <div id=""srcArea""></div>
                                </textarea>
                            </td>
                        </tr>
                      
                        <tr>
                            <td colspan=""2"">
                                <div class=""e-rte-button e-fieldseparate"">
                                    ");
                        EndContext();
                        BeginContext(5125, 61, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "cc43b7e9f35d49c7bcbb2e66be6ddbc3", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                        __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_11.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                        __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_12.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(5186, 38, true);
                        WriteLiteral("\r\n                                    ");
                        EndContext();
                        BeginContext(5224, 62, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1fd701741cee456f9abfc0dfe383eccf", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13);
                        __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_14.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                        __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_12.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(5286, 155, true);
                        WriteLiteral(" \r\n                                </div>\r\n                            </td>\r\n                        </tr>\r\n                    </table>\r\n                ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(5462, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_15);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
#line 61 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RTE\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableModal = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-modal", __Syncfusion_JavaScript_Models_DialogProperties.EnableModal, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 61 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RTE\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.ShowOnInit = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-on-init", __Syncfusion_JavaScript_Models_DialogProperties.ShowOnInit, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 61 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RTE\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.Width = 596;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_DialogProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 61 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RTE\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableResize = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-resize", __Syncfusion_JavaScript_Models_DialogProperties.EnableResize, 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(5488, 69, true);
                WriteLiteral("\r\n               \r\n\r\n            </div>\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(5583, 1637, true);
                WriteLiteral(@" 
<script type=""text/javascript"">
        var rteObj; 
        $(""div.codeInsert"").html(""Insert code"");
        //load the CodeMirror css in the iframe
        $(""#rteSample_Iframe"").contents().find(""head"").append($(""<link href='../Scripts/CodeMirror/codemirror.min.css' rel='stylesheet'></link>""))
        $(""div.codeInsert"").html(""Insert code"");
        rteObj = $(""#rteSample"").data(""ejRTE"");
        function showDialog() {
            var dialogobj = $('#customSourceCode').data('ejDialog');
            $('#srcCode').val('').show();
            dialogobj.open();
            $('#srcCode').focus();
        }
        function customBtnClick(args) {
            var rteObj;
            rteObj = $(""#rteSample"").data(""ejRTE"");
            if (this._id == ""insert"") {
                var scrLang, lang = $(""#languageList"").val();
                if (lang == ""Java Script"")
                    scrLang = ""javascript"";
                else if (lang == ""HTML"")
                    scrLang = ""text/html"";");
                WriteLiteral(@"
                else
                    scrLang = ""css"";
                var htmlEditor = CodeMirror.fromTextArea($(""#srcCode"")[0], {
                    lineNumbers: false,
                    mode: scrLang
                });
                var codeTags = $(""#customSourceCode"").find("".CodeMirror"");
                rteObj.executeCommand(""inserthtml"", codeTags[0].outerHTML);
				$(rteObj.getDocument()).find("".CodeMirror div.CodeMirror-cursor"").css({""display"":""none""})
                codeTags.remove();
            }
            $(""#customSourceCode"").ejDialog(""close"");
        }
</script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(7245, 213, true);
                WriteLiteral("\r\n    <style>\r\n        .codeInsert {\r\n            height: 22px;\r\n            width: 100px;\r\n            display: block;\r\n            text-align: center;\r\n            font-weight: bold;\r\n        }\r\n    </style>\r\n\r\n");
                EndContext();
            }
                          );
        }
示例#4
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 60, true);
                WriteLiteral(" <span class=\"sampleName\">Dialog / KeyboardNavigation</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(104, 173, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates how to access the Syncfusion ASP.NET Core Dialog component functionalities using keyboard interactions.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(305, 8, true);
                WriteLiteral("\r\n\r\n    ");
                EndContext();
                BeginContext(313, 70, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "f2286173670b437384995bfd478559bd", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(383, 37, true);
                WriteLiteral("\r\n    <div class=\"control\">\r\n        ");
                EndContext();
                BeginContext(420, 897, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8ff77bb1f8184fc28d2e50b3bac476f5", async() => {
                    BeginContext(541, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(555, 740, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d84e129783084c2fb23271f437c051b0", async() => {
                        BeginContext(575, 699, true);
                        WriteLiteral(@"
                <div>
                    Developed by Microsoft, the Windows Presentation Foundation (or WPF) is a computer-software graphical subsystem for rendering user interfaces in Windows-based applications.
                    WPF, previously known as ""Avalon"", was initially released as part of .NET Framework 3.0. Rather than relying on the older GDI subsystem, WPF uses DirectX.
                    WPF attempts to provide a consistent programming model for building applications and separates the user interface from business logic.
                    It resembles similar XML-oriented object models, such as those implemented in XUL and SVG.
                </div>
            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1295, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\KeyboardNavigation.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.Width = 450;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_DialogProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.Containment = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\KeyboardNavigation.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.Close = (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(1317, 22, true);
                WriteLiteral("        \r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(1369, 1314, true);
                WriteLiteral(@"
    <div class=""row"">
        <div class=""col-md-3"">
            Alt + j
        </div>
        <div class=""col-md-3"">
            Focuses the control.
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Up
        </div>
        <div class=""col-md-3"">
            Dialog move up.
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Right
        </div>
        <div class=""col-md-3"">
            Dialog move right.
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Down
        </div>
        <div class=""col-md-3"">
            Dialog move down.
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Left
        </div>
        <div class=""col-md-3"">
            Dialog move left.
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Right
        </div>
        <div class=""c");
                WriteLiteral(@"ol-md-3"">
            Dialog resize to right direction.
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Down
        </div>
        <div class=""col-md-3"">
            Dialog resize to bottom direction.
        </div>
    </div>
");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(2709, 594, true);
                WriteLiteral(@"
    <script>
        $(""#btnOpen"").hide();
        function onclick() {
            $(""#keyboardDialog"").ejDialog(""open"");
            $(""#btnOpen"").hide();
        }

        //Control focus key
        $(document).on(""keydown"", function (e) {
            if (e.altKey && e.keyCode === 74) { // j- key code.
                $(""#keyboardDialog_wrapper"").focus();
            }
        });
        function onDialogClose(args) {
            $(""#btnOpen"").show();
        }
        $(document).ready(function () { $(""#sampleProperties"").ejPropertiesPanel(); });
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(3328, 561, true);
                WriteLiteral(@"
    <style class=""cssStyles"">
        .control {
            height: 500px;
            position: relative;
        }

        .row .cols-sample-area {
            padding: 0px;
            margin-bottom: 50px;
            position: relative;
            overflow: auto;
        }

        .cols-prop-area .content {
            height: 450px;
        }

        .row .cols-prop-area {
            height: 500px;
        }

        #keyboardDialog {
            text-align: justify;
            padding: 10px;
        }
    </style>
");
                EndContext();
            }
                          );
        }
示例#5
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 48, true);
                WriteLiteral(" <span class=\"sampleName\">Dialog / Events</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(92, 199, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates client-side events and triggered events when particular operations are performed in the Syncfusion ASP.NET Core Dialog component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(319, 8, true);
                WriteLiteral("\r\n\r\n    ");
                EndContext();
                BeginContext(327, 70, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8b305a17bd784ad8a21140977f4ee5c1", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(397, 37, true);
                WriteLiteral("\r\n    <div class=\"control\">\r\n        ");
                EndContext();
                BeginContext(434, 1044, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "303ac63ab211440894b9e53870b7629c", async() => {
                    BeginContext(748, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(762, 694, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a6a192f9b3e24054aeefd00345c214f5", async() => {
                        BeginContext(782, 653, true);
                        WriteLiteral(@"
                <div>
                    Facebook is an online social networking service headquartered in Menlo Park, California. Its website was launched on February 4, 2004, <span>by Mark Zuckerberg with his Harvard College roommates and fellow students Eduardo Saverin, Andrew McCollum, Dustin Moskovitz and Chris Hughes.</span>The founders had initially limited the website's membership to Harvard students, but later expanded it to colleges in the Boston area, the Ivy League, and Stanford University. It gradually added support for students at various other universities and later to high-school students.
                </div>
            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1456, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_DialogProperties.Containment = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_DialogProperties.Create = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_DialogProperties.BeforeClose = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_DialogProperties.Close = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                __Syncfusion_JavaScript_Models_DialogProperties.BeforeOpen = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_DialogProperties.Open = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_DialogProperties.Drag = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_DialogProperties.DragStart = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_DialogProperties.DragStop = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                __Syncfusion_JavaScript_Models_DialogProperties.Resize = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_DialogProperties.ResizeStart = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                __Syncfusion_JavaScript_Models_DialogProperties.ResizeStop = (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(1478, 22, true);
                WriteLiteral("        \r\n    </div>\r\n");
                EndContext();
            }
                          );
            BeginContext(1503, 322, true);
            WriteLiteral(@"<div id=""dialogTarget"">
    <ul>
        <li>beforeClose</li>
        <li>close</li>
        <li>beforeOpen</li>
        <li>open</li>
        <li>drag</li>
        <li>dragStart</li>
        <li>dragStop</li>
        <li>resize</li>
        <li>resizeStart</li>
        <li>resizeStop</li>
    </ul>
</div>
");
            EndContext();
            DefineSection("EventsDropdown", async() => {
                BeginContext(1849, 12, true);
                WriteLiteral("\r\n    \r\n    ");
                EndContext();
                BeginContext(1861, 158, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "145e81a2c3104f1caa2d6b8dcce4eb02", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_17);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_18.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
#line 34 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Events.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.ShowCheckbox = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-checkbox", __Syncfusion_JavaScript_Models_DropDownListProperties.ShowCheckbox, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 34 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Events.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("check-all", __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_19.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2019, 6, true);
                WriteLiteral("    \r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(2051, 3443, true);
                WriteLiteral(@"
    <script>
        var dialogObj;
        $(function () {
            $("".e-dialog-icon,.e-icon e-close"").click(function () {
                $(""#btnOpen"").show();
            });
        });
        $(""#btnOpen"").hide();
        function onclick() {
            $(""#eventDialog"").ejDialog(""open"");
            $(""#btnOpen"").hide();
        }

        // Event wire and unwire
        function evtpropscheckedevent(args) {
            dialogObj = $(""#eventDialog"").data(""ejDialog"");
            if (args.isChecked) {
                switch (args.selectedText) {
                    case ""create"": dialogObj.option(args.selectedText, ""onCreate""); break;
                    case ""beforeClose"": dialogObj.option(args.selectedText, ""onBeforeClose""); break;
                    case ""close"": dialogObj.option(args.selectedText, ""onDialogClose""); break;
                    case ""beforeOpen"": dialogObj.option(args.selectedText, ""onBeforeOpen""); break;
                    case ""open"": dialogObj.option(");
                WriteLiteral(@"args.selectedText, ""onOpen""); break;
                    case ""drag"": dialogObj.option(args.selectedText, ""onDrag""); break;
                    case ""dragStart"": dialogObj.option(args.selectedText, ""onDragStart""); break;
                    case ""dragStop"": dialogObj.option(args.selectedText, ""onDragStop""); break;
                    case ""resize"": dialogObj.option(args.selectedText, ""onResize""); break;
                    case ""resizeStart"": dialogObj.option(args.selectedText, ""onResizeStart""); break;
                    case ""resizeStop"": dialogObj.option(args.selectedText, ""onResizeStop""); break;
                }
            }
            else dialogObj.option(args.selectedText, null);
        }

        function onCreate(args) {
            jQuery.addEventLog(""Dialog has been <span class='eventTitle'>created</span>."");
        }
        function onBeforeClose(args) {
            jQuery.addEventLog(""<span class='eventTitle'>BeforeClose</span> event is fired for Dialog."");
        }
     ");
                WriteLiteral(@"   function onDialogClose(args) {
            jQuery.addEventLog(""Dialog is <span class='eventTitle'>closed</span>."");
        }
        function onBeforeOpen(args) {
            jQuery.addEventLog(""<span class='eventTitle'>BeforeOpen</span> event is fired for Dialog."");
        }
        function onOpen(args) {
            jQuery.addEventLog(""Dialog is <span class='eventTitle'>opened</span>."");
        }
        function onDrag(args) {
            jQuery.addEventLog(""Dialog is being <span class='eventTitle'>dragged</span>."");
        }
        function onDragStart(args) {
            jQuery.addEventLog(""Dialog dragging has been <span class='eventTitle'>started</span>."");
        }
        function onDragStop(args) {
            jQuery.addEventLog(""Dialog dragging has been <span class='eventTitle'>stopped</span>."");
        }
        function onResize(args) {
            jQuery.addEventLog(""Dialog is being <span class='eventTitle'>resized</span>."");
        }
        function onResizeStar");
                WriteLiteral(@"t(args) {
            jQuery.addEventLog(""Dialog resizing has been <span class='eventTitle'>started</span>."");
        }
        function onResizeStop(args) {
            jQuery.addEventLog(""Dialog resizing has been <span class='eventTitle'>stopped</span>."");
        }
        function onClear() {
            jQuery.clearEventLog();
        }

    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(5519, 387, true);
                WriteLiteral(@"
    <style class=""cssStyles"">
        #eventDialog span {
            font-weight: 600;
        }

        .control {
            height: 500px;
            position:relative;
        }    

        .row .cols-prop-area {
            height: 500px;
        }

        #eventDialog {
            text-align: justify;
            padding: 10px;
        }
    </style>
");
                EndContext();
            }
                          );
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 58, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / CustomTool </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(109, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(115, 866, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2a5d5065411245f9b6b5095e26f6347b", async() => {
                    BeginContext(399, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(409, 264, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "813389b77c19423db31fdb6cb16b7800", async() => {
                        BeginContext(431, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(445, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c15fee6120ac4cc3ab64d962d43751fe", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(502, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(516, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "803b638171984d4394969f03ad46bba8", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(575, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(589, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c1a135efa8cd476fa485f783ef145071", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(640, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(673, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(683, 273, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-tools", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8c52b692ba9d4d818ad880a858f90688", async() => {
                        BeginContext(697, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(711, 220, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-custom-tools", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7d26658baa354c64ae84885d7ee32c72", async() => {
                            BeginContext(732, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(750, 145, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-custom-tool", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e5d43c15be64499c9a46f6b336cfe636", async() => {
                                BeginContext(856, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomTool>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomTool);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Name = (string)__tagHelperAttribute_3.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Tooltip = (string)__tagHelperAttribute_4.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Css = (string)__tagHelperAttribute_5.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Action = (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(895, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_FileCustomToolSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileCustomToolSettings>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileCustomToolSettings);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(931, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_FileExplorerTools = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerTools>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerTools);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(956, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.Tile;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.ToolsList = new List <string>()
                {
                    "creation", "navigation", "addressBar", "copyPaste", "searchBar", "customTool"
                };

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("tools-list", __Syncfusion_JavaScript_Models_FileExplorerProperties.ToolsList, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(981, 8, true);
                WriteLiteral("\r\n\r\n    ");
                EndContext();
                BeginContext(989, 728, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f1b5b134ed8f43deabca610a573d1b92", async() => {
                    BeginContext(1141, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1151, 548, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "34b215449ff043d6b401d0ac63bfaccc", async() => {
                        BeginContext(1171, 507, true);
                        WriteLiteral(@"
            <div class=""text-content"">
                <div class=""header-content"">Need assistance?</div>
                <div class=""header-content"">Our help document assists you to know more about FileExplorer control.</div>
                <div class=""header-content"">
                    Please refer -> <a href=""//help.syncfusion.com/aspnet-core/fileexplorer/overview""
                                       target=""_blank"">Help Document</a>
                </div>
            </div>
        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1699, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableResize = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-resize", __Syncfusion_JavaScript_Models_DialogProperties.EnableResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableModal = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-modal", __Syncfusion_JavaScript_Models_DialogProperties.EnableModal, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.ShowOnInit = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-on-init", __Syncfusion_JavaScript_Models_DialogProperties.ShowOnInit, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.Width = 350;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_DialogProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.CssClass = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1717, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1745, 122, true);
                WriteLiteral("\r\n    <script>\r\n        function dialogOpen() {\r\n            $(\'#helpDialog\').ejDialog(\'open\')\r\n        }\r\n    </script>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1892, 376, true);
                WriteLiteral(@"
<style type=""text/css"">
    /*Specify the custom tool icon*/
    .e-fileExplorer-toolbar-icon {
        height: 22px;
        width: 22px;
        font-family: 'ej-webfont';
        font-size: 18px;
        margin-top: 2px;
        text-align: center;
    }

        .e-fileExplorer-toolbar-icon.Help:before {
            content: ""\e72b"";
        }
</style>
");
                EndContext();
            }
                          );
        }
示例#7
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 56, true);
                WriteLiteral(" <span class=\"sampleName\">Dialog / MultipleDialog</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(100, 193, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates multiple Syncfusion ASP.NET Core Dialog widgets in the same web page with different contents and different functionalities.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(321, 39, true);
                WriteLiteral("\r\n\r\n    <div class=\"control\">\r\n        ");
                EndContext();
                BeginContext(360, 643, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "eae0125fc87c4daabf1b4dc7167a850b", async() => {
                    BeginContext(417, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(431, 50, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dialog-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b702772b76b448b4b2ad47bb6333605c", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_Position = CreateTagHelper <global::Syncfusion.JavaScript.Models.Position>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Position);
                    __Syncfusion_JavaScript_Models_Position.XValue = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_Position.YValue = (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(481, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(495, 486, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5b7a87a843774a19a6e2034a1f68ce9b", async() => {
                        BeginContext(515, 445, true);
                        WriteLiteral(@"
                <div>
                    <p>
                        London  one of the most popular tourist destinations in the world for a reason. A cultural and historical hub, London has an excellent public transportation system that allows visitors to see all the fantastic sights without spending a ton of money on a rental car.London contains four World Heritage Sites.
                    </p>
                </div>
            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(981, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DialogProperties.Target = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1003, 10, true);
                WriteLiteral("\r\n        ");
                EndContext();
                BeginContext(1013, 670, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "989d99ceb7114789b6428c687091d6b1", async() => {
                    BeginContext(1069, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(1083, 49, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dialog-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "399a48a864d548c0a24c0b3f2862bcca", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_Position = CreateTagHelper <global::Syncfusion.JavaScript.Models.Position>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Position);
                    __Syncfusion_JavaScript_Models_Position.XValue = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    __Syncfusion_JavaScript_Models_Position.YValue = (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(1132, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(1146, 515, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "063f4e5cd1d34618ac93e1a1df3169fd", async() => {
                        BeginContext(1166, 474, true);
                        WriteLiteral(@"
                <div>
                    <p>
                        Paris, the city of lights and love - this short guide is full of ideas for how to make the most of the romanticism that oozes from every one of its beautiful corners.You couldn't possibly visit Paris without seeing the Eiffel Tower. Even if you do not want to visit this world famous structure, you will see its top from all over Paris.
                    </p>
                </div>
            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1661, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_DialogProperties.Target = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1683, 10, true);
                WriteLiteral("\r\n        ");
                EndContext();
                BeginContext(1693, 642, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ec3bfeac871f4b51820a640d9a3d7ee8", async() => {
                    BeginContext(1748, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(1762, 47, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dialog-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1a55a45887b6475ea70a6280c4db1405", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_Position = CreateTagHelper <global::Syncfusion.JavaScript.Models.Position>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Position);
                    __Syncfusion_JavaScript_Models_Position.XValue = (string)__tagHelperAttribute_8.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                    __Syncfusion_JavaScript_Models_Position.YValue = (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(1809, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(1823, 490, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b875a3dbcb9741b1acd9838a2e23ad29", async() => {
                        BeginContext(1843, 449, true);
                        WriteLiteral(@"
                <div>
                    <p>
                        Rome is one of the world's most fascinating cities. The old adage that Rome was not built in a day — and that you won't see it in one or even in three — is true. For the intrepid traveler who can keep pace, here is a list of must-sees. But remember what the Romans say: Even a lifetime isn't enough to see Rome.
                    </p>
                </div>
            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2313, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_DialogProperties.Target = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2335, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2374, 921, true);
                WriteLiteral(@"
    <style class=""cssStyles"">
        .control {
            height: 500px;
            position: relative;
        }

        p {
            margin: 0px;
            text-align: justify;
        }

        #Dialog1, #Dialog2, #Dialog3 {
            padding: 10px;
        }

        div#Dialog2_wrapper {
            z-index: 1000000009;
            width: 400px;
            min-width: 200px;
            height: auto;
            min-height: 120px;
            position: absolute;
            left: 291px;
            top: 201px;
            display: block;
        }

        div#Dialog3_wrapper {
            z-index: 1000000005;
            width: 400px;
            min-width: 200px;
            height: auto;
            min-height: 120px;
            position: absolute;
            left: 551px;
            top: -3px;
            display: block;
        }
    </style>
");
                EndContext();
            }
                          );
            BeginContext(3298, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
示例#8
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 58, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / CustomTool </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(109, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(115, 866, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4fdfb7457ff94795b0376f87ba3c0239", async() => {
                    BeginContext(399, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(409, 264, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c63013490fb2464986e894bab43c78c1", async() => {
                        BeginContext(431, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(445, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "baf7256ba3bd4ec58eaacf4263ad0428", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(502, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(516, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "66dd6d176d5f4b259fafb1020f5933f2", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(575, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(589, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "565a4a01924c4eaaa8e52a7d9992295d", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(640, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(673, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(683, 273, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-tools", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3b3bf89eca84792a01880361502a477", async() => {
                        BeginContext(697, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(711, 220, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-custom-tools", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "56587eeae8b448269847323927036346", async() => {
                            BeginContext(732, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(750, 145, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-custom-tool", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a951567c2b041839270c81f9377aef4", async() => {
                                BeginContext(856, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomTool>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomTool);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Name = (string)__tagHelperAttribute_3.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Tooltip = (string)__tagHelperAttribute_4.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Css = (string)__tagHelperAttribute_5.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Action = (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(895, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_FileCustomToolSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileCustomToolSettings>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileCustomToolSettings);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(931, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_FileExplorerTools = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerTools>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerTools);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(956, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.Tile;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.ToolsList = new List <string>()
                {
                    "creation", "navigation", "addressBar", "copyPaste", "searchBar", "customTool"
                };

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("tools-list", __Syncfusion_JavaScript_Models_FileExplorerProperties.ToolsList, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(981, 8, true);
                WriteLiteral("\r\n\r\n    ");
                EndContext();
                BeginContext(989, 728, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6c96bb3a9c2541e582123d661ce1fadb", async() => {
                    BeginContext(1141, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1151, 548, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "93f4092112844a08819c0f07da7cc373", async() => {
                        BeginContext(1171, 507, true);
                        WriteLiteral(@"
            <div class=""text-content"">
                <div class=""header-content"">Need assistance?</div>
                <div class=""header-content"">Our help document assists you to know more about FileExplorer control.</div>
                <div class=""header-content"">
                    Please refer -> <a href=""//help.syncfusion.com/aspnet-core/fileexplorer/overview""
                                       target=""_blank"">Help Document</a>
                </div>
            </div>
        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1699, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableResize = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-resize", __Syncfusion_JavaScript_Models_DialogProperties.EnableResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableModal = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-modal", __Syncfusion_JavaScript_Models_DialogProperties.EnableModal, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.ShowOnInit = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-on-init", __Syncfusion_JavaScript_Models_DialogProperties.ShowOnInit, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.Width = 350;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_DialogProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.CssClass = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1717, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1745, 122, true);
                WriteLiteral("\r\n    <script>\r\n        function dialogOpen() {\r\n            $(\'#helpDialog\').ejDialog(\'open\')\r\n        }\r\n    </script>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1892, 376, true);
                WriteLiteral(@"
<style type=""text/css"">
    /*Specify the custom tool icon*/
    .e-fileExplorer-toolbar-icon {
        height: 22px;
        width: 22px;
        font-family: 'ej-webfont';
        font-size: 18px;
        margin-top: 2px;
        text-align: center;
    }

        .e-fileExplorer-toolbar-icon.Help:before {
            content: ""\e72b"";
        }
</style>
");
                EndContext();
            }
                          );
        }
示例#9
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 47, true);
                WriteLiteral(" <span class=\"sampleName\">Dialog / Icons</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(91, 192, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates the close, maximize, minimize, pin, unpin, collapse, and expand behaviors in the Syncfusion ASP.NET Core Dialog component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(311, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Icons.cshtml"
                List <string> icon = new List <string>()
                {
                    "close", "collapsible", "maximize", "minimize", "pin"
                };

#line default
#line hidden
                BeginContext(420, 4, true);
                WriteLiteral("    ");
                EndContext();
                BeginContext(424, 70, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "588017ff00dc403091c22a4cb661a310", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(494, 37, true);
                WriteLiteral("\r\n    <div class=\"control\">\r\n        ");
                EndContext();
                BeginContext(531, 668, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "946b5240c8074f7cb22efd5d0e3946fe", async() => {
                    BeginContext(696, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(710, 467, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4f96e7d35aab4a29bae37a6a631ca5ae", async() => {
                        BeginContext(730, 49, true);
                        WriteLiteral("\r\n                <div>\r\n                    <img");
                        EndContext();
                        BeginWriteAttribute("src", " src=\"", 779, "\"", 829, 1);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Icons.cshtml"
                        WriteAttributeValue("", 785, Url.Content("~/images/dialog/r8-coupe.png"), 785, 44, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(830, 326, true);
                        WriteLiteral(@" />
                    The Audi R8 was initially equipped with a 4.2 litre V8 engine. Specifically, it is an all-aluminum alloy 32-valve (four valves per cylinder) petrol engine, utilising Fuel Stratified Injection (FSI), and has a displacement of 4,163 cubic centimetres (254.0 cu in).
                </div>
            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1177, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_DialogProperties.Containment = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Icons.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.Width = 295;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_DialogProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Icons.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableResize = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-resize", __Syncfusion_JavaScript_Models_DialogProperties.EnableResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Icons.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.Close = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Icons.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.ActionButtons = icon;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("action-buttons", __Syncfusion_JavaScript_Models_DialogProperties.ActionButtons, 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(1199, 21, true);
                WriteLiteral("       \r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1246, 272, true);
                WriteLiteral(@"
    <script>
        $(""#btnOpen"").hide();
        function onclick() {
            $(""#dialogIcon"").ejDialog(""open"");
            $(""#btnOpen"").hide();
        }
        function onDialogClose(args) {
            $(""#btnOpen"").show();
        }
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1543, 383, true);
                WriteLiteral(@"
    <style class=""cssStyles"">

        .control {
            height: 450px;            
            z-index: 99999;
        }
        .row .cols-sample-area {
            padding: 0px;
            margin-bottom: 50px;
            position: relative;
            overflow: hidden;
        }
        #dialogIcon {
            padding: 10px;
        }
    </style>

");
                EndContext();
            }
                          );
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 53, true);
                WriteLiteral(" <span class=\"sampleName\">Dialog / AjaxContent</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(97, 169, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates loading the Syncfusion ASP.NET Core Dialog content from another page’s content using Ajax requests.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(294, 8, true);
                WriteLiteral("\r\n\r\n    ");
                EndContext();
                BeginContext(302, 70, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3fbc94003292414d999fca965229ac0f", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(372, 42, true);
                WriteLiteral("\r\n   \r\n    <div class=\"control\">\r\n        ");
                EndContext();
                BeginContext(414, 211, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2abed7ce95164d37861a85b3db2d8af5", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DialogProperties.ContentType = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\AjaxContent.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.Width = 500;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_DialogProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.Containment = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                BeginWriteTagHelperAttribute();
#line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\AjaxContent.cshtml"
                WriteLiteral(Url.Content("~/dialog/twitter").ToString());

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_DialogProperties.ContentUrl = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("content-url", __Syncfusion_JavaScript_Models_DialogProperties.ContentUrl, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.Close = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
#line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\AjaxContent.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive, 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(625, 22, true);
                WriteLiteral("        \r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(673, 272, true);
                WriteLiteral(@"
    <script>
        $(""#btnOpen"").hide();
        function onclick() {
            $(""#ajaxDialog"").ejDialog(""open"");
            $(""#btnOpen"").hide();
        }
        function onDialogClose(args) {
            $(""#btnOpen"").show();
        }
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(970, 203, true);
                WriteLiteral("\r\n    <style class=\"cssStyles\">\r\n        .control {\r\n            height: 500px;\r\n            position: relative;\r\n        }\r\n\r\n        #ajaxDialog {\r\n            padding: 10px;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 45, true);
                WriteLiteral(" <span class=\"sampleName\">Dialog / Rtl</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(89, 168, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates how to display dialog contents from right to left in the Syncfusion ASP.NET Core Dialog component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(285, 7, true);
                WriteLiteral("\r\n\r\n   ");
                EndContext();
                BeginContext(292, 70, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "88bbccfd28db45c2863bff94d2c8261d", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(362, 37, true);
                WriteLiteral("\r\n    <div class=\"control\">\r\n        ");
                EndContext();
                BeginContext(399, 1411, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "efabaaee7762470088154b6936fc95be", async() => {
                    BeginContext(552, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(566, 1222, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "895ef96d22cb4dbbb24579c67dd6c4e1", async() => {
                        BeginContext(586, 150, true);
                        WriteLiteral("\r\n                <div>\r\n                    <h1>الاستماع Q3</h1>\r\n                    <div class=\"audi-q3\">\r\n                        <img class=\"img\"");
                        EndContext();
                        BeginWriteAttribute("src", " src=\"", 736, "\"", 786, 1);
#line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Rtl.cshtml"
                        WriteAttributeValue("", 742, Url.Content("~/Images/dialog/audiq3-1.png"), 742, 44, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(787, 77, true);
                        WriteLiteral(" />\r\n                        <br />\r\n                        <img class=\"img\"");
                        EndContext();
                        BeginWriteAttribute("src", " src=\"", 864, "\"", 914, 1);
#line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Rtl.cshtml"
                        WriteAttributeValue("", 870, Url.Content("~/Images/dialog/audiq3-2.png"), 870, 44, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(915, 852, true);
                        WriteLiteral(@" />
                    </div>
                    <div class=""cnt"">
                        بل هو مفهوم السيارة مع السائل فضة لون الجسم، وعجلات 20 بوصة، سقف قابلة للطي النسيج، وغطاء محرك السيارة التي تسيطر عليها كهربائيا، 4 أسطوانات محرك 2.0 TDI تصنيف 204 حصانا (150 كيلوواط؛ 201 حصان)
                        و 400 نيوتن متر (295.02 باوند · قدم)، الديزل جسيمات مرشح وبلوتك نظام التحكم في الانبعاثات، كواترو دائم نظام الدفع الرباعي مع HALDEX القابض،
                        أودي S ترونيك علبة التروس ذات القابض المزدوج، ماكفرسون-تبختر المحور الأمامي والمحور الخلفي أربعة الارتباط، أودي محرك أقراص النظام SELECT مع 3 طرق (الديناميكية، والرياضة، والكفاءة)،
                        MMI لوحة التحكم مع لوحة اللمس والرؤية المزدوجة والتكنولوجيا، ونظام الصوت مع مكبرات الصوت تمديد بارز.
                    </div>
                </div>
            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1788, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableRTL = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-rtl", __Syncfusion_JavaScript_Models_DialogProperties.EnableRTL, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.Width = 550;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_DialogProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.Target = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_DialogProperties.Close = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1810, 20, true);
                WriteLiteral("      \r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1856, 271, true);
                WriteLiteral(@"
    <script>
        $(""#btnOpen"").hide();
        function onclick() {
            $(""#rtlDialog"").ejDialog(""open"");
            $(""#btnOpen"").hide();
        }
        function onDialogClose(args) {
            $(""#btnOpen"").show();
        }
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2152, 599, true);
                WriteLiteral(@"
    <style class=""cssStyles"">
        .audi-q3 {
            float: left;
            margin: 0px;
            height: 360px;
            width: 267px;
            margin-right: 17px;
        }

        .control {
            height: 550px;
            position: relative;
        }
       
        .cnt {
            min-height: 356px;
        }

        .img {
            margin-bottom: 8px;
        }

        h1 {
            margin: 0 0 10px 0;
        }

        #rtlDialog {
            text-align: justify;
            padding: 15px;
        }
    </style>
");
                EndContext();
            }
                          );
        }
示例#12
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 56, true);
                WriteLiteral(" <span class=\"sampleName\">Dialog / MultipleDialog</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(100, 193, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates multiple Syncfusion ASP.NET Core Dialog widgets in the same web page with different contents and different functionalities.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(321, 39, true);
                WriteLiteral("\r\n\r\n    <div class=\"control\">\r\n        ");
                EndContext();
                BeginContext(360, 643, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0999097143b4e3d8506425c65f1c60f", async() => {
                    BeginContext(417, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(431, 50, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dialog-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8c802bbbf6a247509ebd6561b07551de", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_Position = CreateTagHelper <global::Syncfusion.JavaScript.Models.Position>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Position);
                    __Syncfusion_JavaScript_Models_Position.XValue = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __Syncfusion_JavaScript_Models_Position.YValue = (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(481, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(495, 486, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e8103a5e313046399d6ae93c77fed8d5", async() => {
                        BeginContext(515, 445, true);
                        WriteLiteral(@"
                <div>
                    <p>
                        London  one of the most popular tourist destinations in the world for a reason. A cultural and historical hub, London has an excellent public transportation system that allows visitors to see all the fantastic sights without spending a ton of money on a rental car.London contains four World Heritage Sites.
                    </p>
                </div>
            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(981, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DialogProperties.Target = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1003, 10, true);
                WriteLiteral("\r\n        ");
                EndContext();
                BeginContext(1013, 670, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2626c3c9ae22405889af814bdf61dd9c", async() => {
                    BeginContext(1069, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(1083, 49, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dialog-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "d466aab045e2495f98a933da690dc06b", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_Position = CreateTagHelper <global::Syncfusion.JavaScript.Models.Position>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Position);
                    __Syncfusion_JavaScript_Models_Position.XValue = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    __Syncfusion_JavaScript_Models_Position.YValue = (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(1132, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(1146, 515, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d9f54c7b62e242d6a76b10138be79984", async() => {
                        BeginContext(1166, 474, true);
                        WriteLiteral(@"
                <div>
                    <p>
                        Paris, the city of lights and love - this short guide is full of ideas for how to make the most of the romanticism that oozes from every one of its beautiful corners.You couldn't possibly visit Paris without seeing the Eiffel Tower. Even if you do not want to visit this world famous structure, you will see its top from all over Paris.
                    </p>
                </div>
            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1661, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_DialogProperties.Target = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1683, 10, true);
                WriteLiteral("\r\n        ");
                EndContext();
                BeginContext(1693, 642, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "574df028c97048e8b59541778f6eca31", async() => {
                    BeginContext(1748, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(1762, 47, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dialog-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "96dabdbf999a42af82986665e47e1c7e", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_Position = CreateTagHelper <global::Syncfusion.JavaScript.Models.Position>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Position);
                    __Syncfusion_JavaScript_Models_Position.XValue = (string)__tagHelperAttribute_8.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                    __Syncfusion_JavaScript_Models_Position.YValue = (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(1809, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(1823, 490, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "73cbb71b8e104dcbb958dccc2a846249", async() => {
                        BeginContext(1843, 449, true);
                        WriteLiteral(@"
                <div>
                    <p>
                        Rome is one of the world's most fascinating cities. The old adage that Rome was not built in a day — and that you won't see it in one or even in three — is true. For the intrepid traveler who can keep pace, here is a list of must-sees. But remember what the Romans say: Even a lifetime isn't enough to see Rome.
                    </p>
                </div>
            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2313, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_DialogProperties.Target = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2335, 14, true);
                WriteLiteral("\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2374, 921, true);
                WriteLiteral(@"
    <style class=""cssStyles"">
        .control {
            height: 500px;
            position: relative;
        }

        p {
            margin: 0px;
            text-align: justify;
        }

        #Dialog1, #Dialog2, #Dialog3 {
            padding: 10px;
        }

        div#Dialog2_wrapper {
            z-index: 1000000009;
            width: 400px;
            min-width: 200px;
            height: auto;
            min-height: 120px;
            position: absolute;
            left: 291px;
            top: 201px;
            display: block;
        }

        div#Dialog3_wrapper {
            z-index: 1000000005;
            width: 400px;
            min-width: 200px;
            height: auto;
            min-height: 120px;
            position: absolute;
            left: 551px;
            top: -3px;
            display: block;
        }
    </style>
");
                EndContext();
            }
                          );
            BeginContext(3298, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 49, true);
                WriteLiteral(" <span class=\"sampleName\">Dialog / Methods</span>");
                EndContext();
            }
                          );
            DefineSection("MetaTags", async() => {
                BeginContext(93, 182, true);
                WriteLiteral("\r\n    <meta name=\"description\" content=\"This example demonstrates how to open or close, minimize or maximize, and collapse or expand the Syncfusion ASP.NET Core Dialog component.\">\r\n");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(303, 37, true);
                WriteLiteral("\r\n    <div class=\"control\">\r\n        ");
                EndContext();
                BeginContext(340, 1040, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "be0825de09cb4638a3bad47554a7f457", async() => {
                    BeginContext(467, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(481, 877, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "eebd2ccd516d4084b6e0fb82786f7001", async() => {
                        BeginContext(501, 836, true);
                        WriteLiteral(@"
                <div>
                    <p>
                        Northwind is a privately held company that develops property management systems, as well as GDS/web based booking solutions for the hospitality industry.
                        Maestro Enterprise Suite,<span> the company's flagship product, includes a variety of modules</span> which can be coordinated to comply with a hotel or hotel chain's requirements.
                    </p>
                    <p> Maestro is a multi-platform system,<span> with over 10,000 users, allowing for optimized adaptibility </span> to single or multi-property businesses. </p>
                    <p> Northwind's headquarters are based in Markham, Ontario, with sales and support offices located worldwide.</p>
                    <p>
                </div>
            ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1358, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dialog\Methods.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_DialogProperties.Containment = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_DialogProperties.Close = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DialogProperties.Open = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1380, 21, true);
                WriteLiteral("       \r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(1431, 70, true);
                WriteLiteral("\r\n    <div class=\"row\">\r\n        <div class=\"col-md-12\">\r\n            ");
                EndContext();
                BeginContext(1501, 73, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6fda4ddfa7184ec8945a6894920553e7", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1574, 110, true);
                WriteLiteral("            \r\n        </div>\r\n    </div>\r\n    <div class=\"row\">\r\n        <div class=\"col-md-12\">\r\n            ");
                EndContext();
                BeginContext(1684, 76, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "845d54a996494da381f35ef08063109f", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1760, 110, true);
                WriteLiteral("            \r\n        </div>\r\n    </div>\r\n    <div class=\"row\">\r\n        <div class=\"col-md-12\">\r\n            ");
                EndContext();
                BeginContext(1870, 123, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "f4e0d38c1f2847fca00200f245e24e36", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.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(1993, 110, true);
                WriteLiteral("            \r\n        </div>\r\n    </div>\r\n    <div class=\"row\">\r\n        <div class=\"col-md-12\">\r\n            ");
                EndContext();
                BeginContext(2103, 123, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "da91fca7a76d4c9da57af45964fd62b5", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.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(2226, 110, true);
                WriteLiteral("            \r\n        </div>\r\n    </div>\r\n    <div class=\"row\">\r\n        <div class=\"col-md-12\">\r\n            ");
                EndContext();
                BeginContext(2336, 122, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3f517b5a142b4fe18d3868eee08a84c1", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_19);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_20.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_21.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21);
                __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_22.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_22);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2458, 54, true);
                WriteLiteral("                        \r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(2538, 3041, true);
                WriteLiteral(@"
    <script>
        var eDialog;
        $(document).ready(function () {
            eDialog = $(""#dialogAPI"").data(""ejDialog"");
        });
        function onDialogClose(args) {
            $(""#btnDialogMinimize"").ejToggleButton(""disable"");
            $(""#btnDialogMaximize"").ejToggleButton(""disable"");
            $(""#btnDialogCollapse"").ejToggleButton(""disable"");
        }
        function onclick() {
            if (eDialog.model) {
                $(""#dialogAPI"").ejDialog(""open"");
            }
        }
        function onOpen() {
            if (eDialog.model) {
                eDialog.open();
            }
        }
        function onClose() {
            eDialog.close();
			$(""#btnDialogOpen"").ejButton(""enable"");
        }
        function onMinimize(args) {
            if (args.isChecked) {
                if ($(""#btnDialogMaximize"").ejToggleButton(""model.toggleState"") == true)
                    $(""#btnDialogMaximize"").ejToggleButton(""model.toggleState"", false);
   ");
                WriteLiteral(@"             eDialog.minimize();
                $(""#btnDialogMinimize"").ejToggleButton(""model.toggleState"", true)
                $(""#btnDialogCollapse"").ejToggleButton(""disable"");
            }
            else {
                eDialog.restore();
                $(""#btnDialogCollapse"").ejToggleButton(""enable"");
                if ($(""#btnDialogCollapse"").ejToggleButton(""model.toggleState"") == true)
                    $(""#btnDialogCollapse"").ejToggleButton(""model.toggleState"", false);
            }
        }
        function onMaximize(args) {
            if (args.isChecked) {
                if ($(""#btnDialogMinimize"").ejToggleButton(""model.toggleState"") == true)
                    $(""#btnDialogMinimize"").ejToggleButton(""model.toggleState"", false);
                eDialog.maximize();
                if ($(""#btnDialogCollapse"").ejToggleButton(""model.toggleState"") == true)
                    $(""#btnDialogCollapse"").ejToggleButton(""model.toggleState"", false);
            }
            el");
                WriteLiteral(@"se {
                eDialog.restore();
                if ($(""#btnDialogMinimize"").ejToggleButton(""model.toggleState"") == true)
                    $(""#btnDialogMinimize"").ejToggleButton(""model.toggleState"", false);
                if ($(""#btnDialogCollapse"").ejToggleButton(""model.toggleState"") == true)
                    $(""#btnDialogCollapse"").ejToggleButton(""model.toggleState"", false);
            }
            $(""#btnDialogCollapse"").ejToggleButton(""enable"");
        }
        function onCollapse(args) {
            (args.isChecked) ? eDialog.collapse() : eDialog.expand();
        }
        function enableBtn(args) {
            $(""#btnDialogMinimize"").ejToggleButton(""enable"");
            $(""#btnDialogMaximize"").ejToggleButton(""enable"");
            $(""#btnDialogCollapse"").ejToggleButton(""enable"");
			$(""#btnDialogOpen"").ejButton(""disable"");
        }
        $(document).ready(function () { $(""#sampleProperties"").ejPropertiesPanel(); });
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(5604, 380, true);
                WriteLiteral(@"
    <style class=""cssStyles"">
        #dialogAPI span {
            font-weight: 600;
        }

        .control {
            height: 515px;
            position: relative;
        }

        .row .cols-prop-area {
            height: 520px;
        }

        #dialogAPI {
            text-align: justify;
            padding: 10px;
        }
    </style>
");
                EndContext();
            }
                          );
        }
示例#14
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(55, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"

            ViewData["Title"] = "Clients";

#line default
#line hidden
            BeginContext(100, 33, true);
            WriteLiteral("\r\n<h2>Clients</h2>\r\n\r\n<div>\r\n    ");
            EndContext();
            BeginContext(133, 140, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae11933", async() => {
                BeginContext(241, 28, true);
                WriteLiteral("\r\n        + Add Client\r\n    ");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
            {
                throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-payeeclassId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
            }
            BeginWriteTagHelperAttribute();
#line 11 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
            WriteLiteral(Model.PayeeClassID);

#line default
#line hidden
            __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
            __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["payeeclassId"] = __tagHelperStringValueBuffer;
            __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-payeeclassId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["payeeclassId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(273, 8, true);
            WriteLiteral(" |\r\n    ");
            EndContext();
            BeginContext(281, 78, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae14387", async() => {
            }
                                                                        );
            __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_3.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
            __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_4.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(359, 39, true);
            WriteLiteral("\r\n</div>\r\n\r\n<div class=\"control\">\r\n    ");
            EndContext();
            BeginContext(398, 250, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae15941", async() => {
                BeginContext(504, 10, true);
                WriteLiteral("\r\n        ");
                EndContext();
                BeginContext(514, 116, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae16338", async() => {
                    BeginContext(534, 75, true);
                    WriteLiteral("\r\n            Please select Grid row before clicking this button.\r\n        ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(630, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
            }
                                                                        );
            __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
            __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_6.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
#line 19 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
            __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive = true;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_DialogProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            __Syncfusion_JavaScript_Models_DialogProperties.Close = (string)__tagHelperAttribute_7.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
#line 19 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
            __Syncfusion_JavaScript_Models_DialogProperties.ShowOnInit = false;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("show-on-init", __Syncfusion_JavaScript_Models_DialogProperties.ShowOnInit, 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(648, 67, true);
            WriteLiteral("\r\n</div>\r\n\r\n<span style=\"color:royalblue\">Grid / Default</span>\r\n\r\n");
            EndContext();
            BeginContext(715, 1292, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae19757", async() => {
                BeginContext(954, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(960, 193, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-toolbar-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae20147", async() => {
                    BeginContext(1126, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_ToolbarSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToolbarSettings>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToolbarSettings);
#line 31 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarSettings.ShowToolbar = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-toolbar", __Syncfusion_JavaScript_Models_ToolbarSettings.ShowToolbar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 32 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
                __Syncfusion_JavaScript_Models_ToolbarSettings.ToolbarItems = (new List <string>()
                {
                    "Edit", "excelExport", "wordExport", "pdfExport", "PrintGrid"
                });

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("toolbar-items", __Syncfusion_JavaScript_Models_ToolbarSettings.ToolbarItems, 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(1153, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(1159, 75, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-edit-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae22282", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_EditSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditSettings>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditSettings);
#line 34 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
                __Syncfusion_JavaScript_Models_EditSettings.AllowEditing = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("allow-editing", __Syncfusion_JavaScript_Models_EditSettings.AllowEditing, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 34 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
                __Syncfusion_JavaScript_Models_EditSettings.EditMode = global::Syncfusion.JavaScript.EditMode.Dialog;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("edit-mode", __Syncfusion_JavaScript_Models_EditSettings.EditMode, 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(1234, 12, true);
                WriteLiteral("\r\n    \r\n    ");
                EndContext();
                BeginContext(1246, 749, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae24224", async() => {
                    BeginContext(1257, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1267, 70, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae24642", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_Column = CreateTagHelper <global::Syncfusion.JavaScript.Models.Column>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Column);
                    __Syncfusion_JavaScript_Models_Column.Field = (string)__tagHelperAttribute_8.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 37 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
                    __Syncfusion_JavaScript_Models_Column.IsPrimaryKey = true;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("is-primary-key", __Syncfusion_JavaScript_Models_Column.IsPrimaryKey, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 37 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
                    __Syncfusion_JavaScript_Models_Column.Visible = false;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_JavaScript_Models_Column.Visible, 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(1337, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1347, 62, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae26764", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_Column = CreateTagHelper <global::Syncfusion.JavaScript.Models.Column>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Column);
                    __Syncfusion_JavaScript_Models_Column.Field = (string)__tagHelperAttribute_9.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                    __Syncfusion_JavaScript_Models_Column.HeaderText = (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(1409, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1419, 64, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae28330", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_Column = CreateTagHelper <global::Syncfusion.JavaScript.Models.Column>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Column);
                    __Syncfusion_JavaScript_Models_Column.Field = (string)__tagHelperAttribute_11.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                    __Syncfusion_JavaScript_Models_Column.HeaderText = (string)__tagHelperAttribute_12.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1483, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1493, 57, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae29898", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_Column = CreateTagHelper <global::Syncfusion.JavaScript.Models.Column>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Column);
                    __Syncfusion_JavaScript_Models_Column.Field = (string)__tagHelperAttribute_13.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                    __Syncfusion_JavaScript_Models_Column.HeaderText = (string)__tagHelperAttribute_14.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1550, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1560, 62, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae31466", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_Column = CreateTagHelper <global::Syncfusion.JavaScript.Models.Column>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Column);
                    __Syncfusion_JavaScript_Models_Column.Field = (string)__tagHelperAttribute_15.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
                    __Syncfusion_JavaScript_Models_Column.HeaderText = (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(1622, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                    BeginContext(1718, 8, true);
                    WriteLiteral("        ");
                    EndContext();
                    BeginContext(1726, 88, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae33157", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_Column = CreateTagHelper <global::Syncfusion.JavaScript.Models.Column>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Column);
                    __Syncfusion_JavaScript_Models_Column.Field = (string)__tagHelperAttribute_17.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                    __Syncfusion_JavaScript_Models_Column.HeaderText = (string)__tagHelperAttribute_18.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
                    __Syncfusion_JavaScript_Models_Column.Format = (string)__tagHelperAttribute_19.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1814, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                    BeginContext(1916, 8, true);
                    WriteLiteral("        ");
                    EndContext();
                    BeginContext(1924, 53, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ae57e3f9e35a7fa8bc432b18caf9aa1d3b4e59ae35052", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_Column = CreateTagHelper <global::Syncfusion.JavaScript.Models.Column>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Column);
                    __Syncfusion_JavaScript_Models_Column.Field = (string)__tagHelperAttribute_20.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20);
#line 45 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
                    __Syncfusion_JavaScript_Models_Column.Visible = false;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_JavaScript_Models_Column.Visible, 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(1977, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_GridCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.GridCollectionTag>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_GridCollectionTag);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1995, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                                                                        );
            __Syncfusion_JavaScript_Models_GridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.GridProperties>();
            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GridProperties);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_21);
#line 28 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
            __Syncfusion_JavaScript_Models_GridProperties.AllowPaging = true;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("allow-paging", __Syncfusion_JavaScript_Models_GridProperties.AllowPaging, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 28 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
            __Syncfusion_JavaScript_Models_GridProperties.AllowSorting = true;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("allow-sorting", __Syncfusion_JavaScript_Models_GridProperties.AllowSorting, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 28 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
            __Syncfusion_JavaScript_Models_GridProperties.DataSource = Model.Clients;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_GridProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 29 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
            __Syncfusion_JavaScript_Models_GridProperties.AllowFiltering = true;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("allow-filtering", __Syncfusion_JavaScript_Models_GridProperties.AllowFiltering, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 29 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
            __Syncfusion_JavaScript_Models_GridProperties.AllowResizing = true;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("allow-resizing", __Syncfusion_JavaScript_Models_GridProperties.AllowResizing, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            __Syncfusion_JavaScript_Models_GridProperties.QueryCellInfo = (string)__tagHelperAttribute_22.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_22);
#line 30 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
            __Syncfusion_JavaScript_Models_GridProperties.GridLines = global::Syncfusion.JavaScript.GridLines.Horizontal;

#line default
#line hidden
            __tagHelperExecutionContext.AddTagHelperAttribute("grid-lines", __Syncfusion_JavaScript_Models_GridProperties.GridLines, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            __Syncfusion_JavaScript_Models_GridProperties.RowSelected = (string)__tagHelperAttribute_23.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_23);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(2007, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            DefineSection("Scripts", async() => {
                BeginContext(2029, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 50 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
                await Html.RenderPartialAsync("_ValidationScriptsPartial");

#line default
#line hidden
                BeginContext(2101, 569, true);
                WriteLiteral(@"
    <script>
        function querycellinfo(args) {
            if (args.column.field == ""Payable"" && args.data.Payable == true)
                $($(args.cell).parent()).css(""color"", ""blue"");      //  css(""backgroundColor"", ""blue"")

            if (args.column.field == ""Payable"" && args.data.Payable == false)
                $($(args.cell).parent()).css(""color"", ""black"");
            }
    </script>

    <style>
        .Bold:before {
            content: ""\e636"";
        }
    </style>

    <script id=""Refresh"" type=""text/x-jsrender"">
        ");
                EndContext();
                BeginContext(2671, 155, false);
#line 69 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
                Write(Html.ActionLink("Make Payee", "Create", "Payees", new {
                    payeeclassId = Model.PayeeClassID, payeeitemId = 3, payeeName = ""
                }));

#line default
#line hidden
                EndContext();
                BeginContext(2826, 1430, true);
                WriteLiteral(@"
    </script>

    <script type=""text/x-jsrender"" id=""Details"">
        <button class=""details"">Add</button>
    </script>

    <script id=""dialog"" type=""text/x-jsrender"">
        <div>
            <table>
                <tr><td>Last Name</td><td>{{:LastName}}</td></tr>
                <tr><td>First Name</td><td>{{:FirstName}}</td></tr>
                <tr><td>Gender</td><td>{{:Gender}}</td></tr>
                <tr><td>ID NUmber</td><td>{{:IDNumber}}</td></tr>
            </table>
        </div>
    </script>

    <script>
        function clicked(sender) {
            $target = $(sender.target);
            var gridObj = $(""#FlatGrid"").data(""ejGrid"");
            var rowIndex = gridObj.model.selectedRowIndex;
            var tr = grodObj.getRows()[rowIndex];
            if ($target.hasClass(""Bold"")) {
                if ($(tr).hasClass(""bolded""))
                    $(tr).css(""font-weight"", ""normal"").removeClass(""bolded"");
                else
                    $(tr).css(""fon");
                WriteLiteral(@"t-weight"", ""bold"").addClass(""bolded"");
            }

        }

        function onclick() {
            //$(""#basicDialog"").ejDialog(""open"");
            //$(""#btnOpen"").hide();

            var gridObj = $(""#FlatGrid"").data(""ejGrid"");
            //var rowIndex = gridObj.model.selectedRowIndex;


            if (gridObj.getSelectedRecords().length != 0) {
                var classId = """);
                EndContext();
                BeginContext(4258, 18, false);
#line 112 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
                Write(Model.PayeeClassID);

#line default
#line hidden
                EndContext();
                BeginContext(4277, 364, true);
                WriteLiteral(@""";
                var currentRowData = gridObj.getSelectedRecords()[0];
                var ID = currentRowData.ID;
                var FullName = (currentRowData.FirstName == null) ?
                    currentRowData.LastName : currentRowData.FirstName + ' ' + currentRowData.LastName;
                
                $.ajax({
                    url: """);
                EndContext();
                BeginContext(4643, 30, false);
#line 119 "C:\Users\levin_m\source\repos\isas\Views\Clients\Grid.cshtml"
                Write(Url.Action("Create", "Payees"));

#line default
#line hidden
                EndContext();
                BeginContext(4674, 2495, true);
                WriteLiteral(@""",
                    type: ""POST"",
                    dataType: ""json"",
                    data: { payeeclassId: classId, payeeitemId: ID, payeeName: FullName },
                    success: function (data) {
                        alert(data);
                    }
                })
            }
            else {
                $(""#basicDialog"").ejDialog(""open"");
            }
        }

        function onDialogClose(args) {
            $(""#btnOpen"").show();
        }

        function rowSelected(args) {
            var selectedrowindex = this.selectedRowsIndexes;  // get selected row indexes
            //alert(selectedrowindex);

            var selectedrecords = this.getSelectedRecords();  // get selected records
            id = selectedrecords[0].ID;
            fn = selectedrecords[0].FirstName;
            ln = selectedrecords[0].LastName;

            //alert(id);
            //alert(fn);
            //alert(ln);
        }

        $(function LoadData (data)");
                WriteLiteral(@" {
            $(""#Grid"").ejGrid({
                dataSource: data,
                actionComplete: ""complete"",
                allowPaging: true,
                allowSorting: true,
                actionBegin: ""actionbegin"",
                actionFailure: ""FailureEvent"",
                toolbarSettings: { showToolbar: true, toolbarItems: [ej.Grid.ToolBarItems.Add, ej.Grid.ToolBarItems.Edit, ej.Grid.ToolBarItems.Delete, ej.Grid.ToolBarItems.Update, ej.Grid.ToolBarItems.Cancel] },
                columns: [
                        { field: ""ID"", isPrimaryKey: true, headerText: ""Order ID"", textAlign: ej.TextAlign.Right, validationRules: { required: true, number: true }, width: 90 },
                        { field: ""LastName"", headerText: 'Customer ID', validationRules: { required: true, minlength: 3 }, width: 90 },
                        { field: ""FirstName"", headerText: 'Employee ID', textAlign: ej.TextAlign.Right, width: 80, validationRules: { number: true } },
                        { field");
                WriteLiteral(@": ""Gender"", headerText: 'Freight', textAlign: ej.TextAlign.Right, editType: ej.Grid.EditingType.Numeric, editParams: { decimalPlaces: 2 }, validationRules: { range: [0, 1000] }, width: 80, format: ""{0:C}"" },
                        { field: ""IDNumber"", headerText: 'Ship Name', width: 150 },
                        { field: ""Country"", headerText: 'Ship Country', width: 90 }
                ]
            });
        });
    </script>
    ");
                EndContext();
            }
                          );
            BeginContext(7172, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }