예제 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 67, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / Custom Context Menu </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(118, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(124, 1695, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e2d370c2134e495fb02c2f4d467a89cf", async() => {
                    BeginContext(362, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(372, 264, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b2d47b30251148ccb5140a169732e7c0", async() => {
                        BeginContext(394, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(408, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7285e33f4cac4ed48bc52728f66912b4", 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(465, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(479, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9026f7943cc147c19a1088211e52587f", 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(538, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(552, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "48dcdf21f57243708982cb824cedb026", 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(603, 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(636, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(646, 1148, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-context-menu-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "304c4a674eee4b8fa36498cd9db16856", async() => {
                        BeginContext(676, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(690, 469, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1c7133f7b9c64738851f2f2f746a1a47", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_FileExplorerItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerItems>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerItems);
#line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                        __Syncfusion_JavaScript_Models_FileExplorerItems.Navbar = new List <string>()
                        {
                            "Upload", "|", "Delete", "Rename", "|", "Cut", "Copy", "Paste", "|", "Getinfo"
                        };

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("navbar", __Syncfusion_JavaScript_Models_FileExplorerItems.Navbar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
#line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                        __Syncfusion_JavaScript_Models_FileExplorerItems.Cwd = new List <string>()
                        {
                            "Refresh", "Paste", "|", "SortBy", "View", "|", "NewFolder", "Upload", "|", "Getinfo"
                        };

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("cwd", __Syncfusion_JavaScript_Models_FileExplorerItems.Cwd, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                        __Syncfusion_JavaScript_Models_FileExplorerItems.Files = new List <string>()
                        {
                            "Open", "Download", "|", "Delete", "Rename", "|", "Cut", "Copy", "Paste", "|",
                            "OpenFolderLocation", "Getinfo"
                        };

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("files", __Syncfusion_JavaScript_Models_FileExplorerItems.Files, 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(1159, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(1173, 580, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-custom-menu-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d261882a0d9a4a438e20e73fb9f6ff31", async() => {
                            BeginContext(1200, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1218, 493, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-menu-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d271f99e08534d7593b8d68242c79ded", async() => {
                                BeginContext(1289, 22, true);
                                WriteLiteral("\r\n                    ");
                                EndContext();
                                BeginContext(1311, 366, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f67faf7fb1ec4252b50cf3256547dd72", async() => {
                                    BeginContext(1326, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                    BeginContext(1352, 74, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f07342fbd13d4221b93c01f4d6d97ef2", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_3.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_4.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Action = (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(1426, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                    BeginContext(1452, 74, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5dfaace4bb1d42e1a9de354f088a8f03", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_6.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_7.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Action = (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(1526, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                    BeginContext(1552, 87, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "87c0eb9b6034465ab9dc1b2015aabc08", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_8.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_9.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Action = (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(1639, 22, true);
                                    WriteLiteral("\r\n                    ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_customMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.customMenuFields>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_customMenuFields);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1677, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_10.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_11.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.SpriteCssClass = (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(1711, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_customMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.customMenuFields>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_customMenuFields);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1753, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_FileExplorerContextMenuSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerContextMenuSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerContextMenuSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1794, 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_13);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.LargeIcons;

#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\CustomContextMenu.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_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.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);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.MenuOpen = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.LayoutChange = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1819, 209, true);
                WriteLiteral("\r\n\r\n<h6>\r\n    <span style=\"font-style:italic; margin-top: 5px;margin-left: 20%;\">\r\n        Note: A new custom ContextMenu item (\"View\") is added to Current Working Directory\'s ContextMenu\r\n    </span>\r\n</h6>\r\n");
                EndContext();
            }
                          );
            BeginContext(2031, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            DefineSection("ScriptSection", async() => {
                BeginContext(2058, 678, true);
                WriteLiteral(@"

<script>
    function onLayout(args) {
        var feObj = $('#fileExplorer').data(""ejFileExplorer"");
        feObj && feObj.option(""layout"", args.ID);
    }
    function onMenuOpen(args) {
        if (args.contextMenu == ""cwd"") {
            $("".fe-context-menu"").find("".e-fe-activeicon"").removeClass(""e-fe-activeicon"");
            $("".fe-context-menu"").find(""."" + this.model.layout).addClass(""e-fe-activeicon"");
        }
    }
    function onLayoutChange(args) {
        $("".fe-context-menu .View"").removeClass(""custom-grid custom-tile custom-largeicons"");
        $("".fe-context-menu .View"").addClass(""custom-"" + this.model.layout);
    }
</script>


");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2761, 268, true);
                WriteLiteral(@"
   <style>
    .fe-context-menu .custom-grid:before {
        content: ""\e7b9"";
    }

    .fe-context-menu .custom-largeicons:before {
        content: ""\e7bb"";
    }

    .fe-context-menu .custom-tile:before {
        content: ""\e7be"";
    }
</style>
");
                EndContext();
            }
                          );
            BeginContext(3032, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
예제 #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 67, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / Custom Context Menu </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(118, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(124, 1695, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0dee20176fc94f8fb713a46f2c39d85b", async() => {
                    BeginContext(362, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(372, 264, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "982bb1fbb58b4449b5eeb3ef4474350c", async() => {
                        BeginContext(394, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(408, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2beec25eacb448edac0b6fff3a544177", 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(465, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(479, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c15b639712464299a1545c9189fc28ce", 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(538, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(552, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0e1d51b6fde84aa7a68dd7439308df39", 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(603, 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(636, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(646, 1148, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-context-menu-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ff31d3ce80054b849ef8b98966d740b2", async() => {
                        BeginContext(676, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(690, 469, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ed99fd7088184a88a28424a0341d7182", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_FileExplorerItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerItems>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerItems);
#line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                        __Syncfusion_JavaScript_Models_FileExplorerItems.Navbar = new List <string>()
                        {
                            "Upload", "|", "Delete", "Rename", "|", "Cut", "Copy", "Paste", "|", "Getinfo"
                        };

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("navbar", __Syncfusion_JavaScript_Models_FileExplorerItems.Navbar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
#line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                        __Syncfusion_JavaScript_Models_FileExplorerItems.Cwd = new List <string>()
                        {
                            "Refresh", "Paste", "|", "SortBy", "View", "|", "NewFolder", "Upload", "|", "Getinfo"
                        };

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("cwd", __Syncfusion_JavaScript_Models_FileExplorerItems.Cwd, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                        __Syncfusion_JavaScript_Models_FileExplorerItems.Files = new List <string>()
                        {
                            "Open", "Download", "|", "Delete", "Rename", "|", "Cut", "Copy", "Paste", "|",
                            "OpenFolderLocation", "Getinfo"
                        };

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("files", __Syncfusion_JavaScript_Models_FileExplorerItems.Files, 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(1159, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(1173, 580, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-custom-menu-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "490cc4a350774cbd8d995b08c87e9c8b", async() => {
                            BeginContext(1200, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1218, 493, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-menu-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "99f9faf02bf047869230e1296c5a0880", async() => {
                                BeginContext(1289, 22, true);
                                WriteLiteral("\r\n                    ");
                                EndContext();
                                BeginContext(1311, 366, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bf2af43a4c644e62869df8b5520326bf", async() => {
                                    BeginContext(1326, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                    BeginContext(1352, 74, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3170926a492a4c7f880e39d5276fc05c", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_3.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_4.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Action = (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(1426, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                    BeginContext(1452, 74, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "52b398bad5204686b848c4397cf347a1", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_6.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_7.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Action = (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(1526, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                    BeginContext(1552, 87, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ea0e407a5f9d43918bdae870d424c5df", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_8.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_9.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Action = (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(1639, 22, true);
                                    WriteLiteral("\r\n                    ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_customMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.customMenuFields>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_customMenuFields);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1677, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_10.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_11.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.SpriteCssClass = (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(1711, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_customMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.customMenuFields>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_customMenuFields);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1753, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_FileExplorerContextMenuSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerContextMenuSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerContextMenuSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1794, 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_13);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.LargeIcons;

#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\CustomContextMenu.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_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.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);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.MenuOpen = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.LayoutChange = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1819, 209, true);
                WriteLiteral("\r\n\r\n<h6>\r\n    <span style=\"font-style:italic; margin-top: 5px;margin-left: 20%;\">\r\n        Note: A new custom ContextMenu item (\"View\") is added to Current Working Directory\'s ContextMenu\r\n    </span>\r\n</h6>\r\n");
                EndContext();
            }
                          );
            BeginContext(2031, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            DefineSection("ScriptSection", async() => {
                BeginContext(2058, 678, true);
                WriteLiteral(@"

<script>
    function onLayout(args) {
        var feObj = $('#fileExplorer').data(""ejFileExplorer"");
        feObj && feObj.option(""layout"", args.ID);
    }
    function onMenuOpen(args) {
        if (args.contextMenu == ""cwd"") {
            $("".fe-context-menu"").find("".e-fe-activeicon"").removeClass(""e-fe-activeicon"");
            $("".fe-context-menu"").find(""."" + this.model.layout).addClass(""e-fe-activeicon"");
        }
    }
    function onLayoutChange(args) {
        $("".fe-context-menu .View"").removeClass(""custom-grid custom-tile custom-largeicons"");
        $("".fe-context-menu .View"").addClass(""custom-"" + this.model.layout);
    }
</script>


");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2761, 268, true);
                WriteLiteral(@"
   <style>
    .fe-context-menu .custom-grid:before {
        content: ""\e7b9"";
    }

    .fe-context-menu .custom-largeicons:before {
        content: ""\e7bb"";
    }

    .fe-context-menu .custom-tile:before {
        content: ""\e7be"";
    }
</style>
");
                EndContext();
            }
                          );
            BeginContext(3032, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }