#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 167, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates the various methods like show, hide, enable, getValue and disable in a ASP.NET Core DateTimePicker\">\r\n"); EndContext(); } ); BeginContext(188, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); DefineSection("ScriptReferenceSection", async() => { BeginContext(224, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 237, "\"", 301, 1); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DateTimePicker\Methods.cshtml" WriteAttributeValue("", 243, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 243, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(302, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(340, 57, true); WriteLiteral("<span class=\"sampleName\">DateTimePicker / Methods </span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(425, 70, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\">\r\n "); EndContext(); BeginContext(495, 79, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-time-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "56020b58ca6446bf9abba4f2f177505f", async() => { } ); __Syncfusion_JavaScript_Models_DateTimePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DateTimePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DateTimePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DateTimePicker\Methods.cshtml" __Syncfusion_JavaScript_Models_DateTimePickerProperties.Value = DateTime.Now; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DateTimePickerProperties.Value, 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(574, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(607, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(636, 70, true); WriteLiteral("\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(706, 108, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "fda0e9f06e744ec2a202839372a5972d", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Click = (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(814, 98, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(912, 95, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "563d10722f614548959c3c84ab01d529", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); #line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DateTimePicker\Methods.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __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(1007, 98, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(1105, 110, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3268829c148d469aa39fc44878cfd6a5", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ToggleButtonProperties.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(1215, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1271, 784, true); WriteLiteral(@" <script type=""text/javascript""> function changeState(args) { var dateTimeObj = $('#dateTime').data(""ejDateTimePicker""); if (args.isChecked) dateTimeObj.disable(); else dateTimeObj.enable(); } function changeVisible(args) { var dateTimeObj = $('#dateTime').data(""ejDateTimePicker""); if (args.isChecked) dateTimeObj.show(); else dateTimeObj.hide(); } function getTime(args) { var dateTimeObj = $('#dateTime').data(""ejDateTimePicker""); alert(""Selected time is : "" + dateTimeObj.getValue()); } $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(2080, 164, true); WriteLiteral("\r\n <style>\r\n .control {\r\n width: 210px;\r\n }\r\n\r\n .control .e-datetime-wrap {\r\n width: 175px;\r\n }\r\n </style>\r\n"); 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> <p><b>Description:</b></p> <p>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. </p> <p><b>Functional Specifications/Requirements:</b></p> <ol><li><p>Provide the tool bar support, it’s also customizable.</p></li><li><p>Options to get the HTML elements with styles.</p></li><li><p>Support to insert image from a defined path"); WriteLiteral(@".</p></li><li><p>Footer elements and styles(tag / Element information , Action button (Upload, Cancel))</p></li><li><p>Re-size the editor support. </p></li><li><p>Provide efficient public methods and client side events.</p></li><li><p>Keyboard navigation support.</p></li></ol> </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(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 178, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates the various methods like show, hide, enable,setCurrentTime, getValue and disable in a ASP.NET Core TimePicker\">\r\n"); EndContext(); } ); BeginContext(199, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); DefineSection("ScriptReferenceSection", async() => { BeginContext(235, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 248, "\"", 312, 1); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Methods.cshtml" WriteAttributeValue("", 254, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 254, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(313, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); BeginContext(328, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(353, 53, true); WriteLiteral("<span class=\"sampleName\">TimePicker / Methods </span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(434, 95, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\" style=\"margin-left:30px;\">\r\n "); EndContext(); BeginContext(529, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-time-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "876f79ac38664f19b952a7abc9a2b0ae", async() => { } ); __Syncfusion_JavaScript_Models_TimePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TimePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TimePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_TimePickerProperties.Close = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_TimePickerProperties.Open = (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(591, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(624, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(653, 70, true); WriteLiteral("\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(723, 109, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1d2b521a2a03479daebb0ad023a46ca0", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Click = (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(832, 98, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(930, 96, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "2018b371fb4e48ddb7d9f1aef81d6bbd", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 27 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Methods.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(1026, 98, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(1124, 102, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9621a0d853e7461fb0b11ab38c3cd142", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 32 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Methods.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(1226, 98, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(1324, 103, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "0a2596f1d5414e2a9de1716895352c47", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Click = (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(1427, 35, true); WriteLiteral("\r\n </div>\r\n </div>\r\n \r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1488, 1196, true); WriteLiteral(@" <script type=""text/javascript""> var timeObj, tgleBtn; $(function () { $(""#sampleProperties"").ejPropertiesPanel(); timeObj = $('#TimePick').data(""ejTimePicker""); tgleBtn = $(""#showHide"").data('ejToggleButton'); $("".e-togglebutton"").mousedown(function (e) { e.stopPropagation(); }); }); function onClose(e) { tgleBtn.option('toggleState', false); } function onOpen(e) { tgleBtn.option('toggleState', true); } function changeState(args) { if (args.isChecked){ timeObj.disable(); tgleBtn.disable(); } else{ timeObj.enable(); tgleBtn.enable(); } } function gettime(args) { alert(""Selected time is : "" + timeObj.getValue()); } function updatetime(args) { t"); WriteLiteral("imeObj.setCurrentTime();\r\n }\r\n function showhide(args) {\r\n (args.isChecked) ? timeObj.show() : timeObj.hide();\r\n }\r\n \r\n </script>\r\n"); EndContext(); } ); }
#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, 54, true); WriteLiteral(" <span class=\"sampleName\">ProgressBar / Methods</span>"); EndContext(); } ); BeginContext(80, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(107, 86, true); WriteLiteral("\r\n\r\n <div class=\"frame\">\r\n <div class=\"control\">\r\n \r\n "); EndContext(); BeginContext(193, 63, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-progress-bar", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "13304f42529d4e63a59d05859ab89d16", async() => { } ); __Syncfusion_JavaScript_Models_ProgressBarProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ProgressBarProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ProgressBarProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Progressbar\Methods.cshtml" __Syncfusion_JavaScript_Models_ProgressBarProperties.Percentage = 75; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("percentage", __Syncfusion_JavaScript_Models_ProgressBarProperties.Percentage, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ProgressBarProperties.Height = (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(256, 63, true); WriteLiteral("\r\n </div>\r\n <div class=\"txt\"></div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(349, 84, true); WriteLiteral("\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-12\"> \r\n "); EndContext(); BeginContext(433, 112, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "4269ea71be654d3185bd0f12818ee595", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Click = (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(545, 109, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\"> \r\n "); EndContext(); BeginContext(654, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b06d9f1402704cc8a282e5c8745c95f8", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(742, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(798, 601, true); WriteLiteral(@" <script> var progressBar; $(document).ready(function () { progressBar = $(""#sampleBar"").data(""ejProgressBar""); $('.txt').html(progressBar.getPercentage() + "" %""); }); function changeState(args) { if (args.isChecked) progressBar.disable(); else progressBar.enable(); } function onGetPercentage() { alert(""Progress percentage : "" + progressBar.getPercentage()); } $(document).ready(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(1424, 242, true); WriteLiteral("\r\n <style type=\"text/css\" class=\"cssStyles\">\r\n .frame {\r\n width: 330px;\r\n }\r\n\r\n .txt {\r\n font-size: 18px;\r\n margin-top: 12px;\r\n text-align: center;\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, 77, true); WriteLiteral("\r\n <span class=\"sampleName\">SpellCheck / Default Functionalities </span>\r\n"); EndContext(); } ); BeginContext(103, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(130, 619, true); WriteLiteral(@" <div id=""TextArea"" contenteditable=""true""> Facebook is a social networking service headquartered in Menlo Park, California. Its website was launched on February 4, 2004, by Mark Zuckerberg with his Harvard College roommates and fellow students Eduardo, Andrew McCollum, Dustin and Chris Hughes. The fouders had initially limited the websites membrship to Harvard students, but later expanded it to collges in the Boston area, the Ivy League, and Stanford Univrsity. It graually added support for students at various other universities and later to high-school students. </div><br /> "); EndContext(); BeginContext(749, 423, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-spell-check", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "59fb30bbbe704a46872b845d2f871ff2", async() => { BeginContext(845, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(855, 217, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dictionary-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0fc382064f3a405aa1a530a28e999235", async() => { BeginContext(1038, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellCheckDictionarySettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellCheckDictionarySettings); __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings.CustomDictionaryUrl = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings.DictionaryUrl = (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(1072, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1082, 67, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-context-menu-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5c51264a774c452a803eebebf700ab75", async() => { BeginContext(1122, 1, true); WriteLiteral(" "); EndContext(); } ); __Syncfusion_JavaScript_Models_SpellContextSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellContextSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellContextSettings); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\SpellCheck\Default.cshtml" __Syncfusion_JavaScript_Models_SpellContextSettings.Enable = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_SpellContextSettings.Enable, 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(1149, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_SpellCheckProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellCheckProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellCheckProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_SpellCheckProperties.ControlsToValidate = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\SpellCheck\Default.cshtml" __Syncfusion_JavaScript_Models_SpellCheckProperties.MaxSuggestionCount = 2; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("max-suggestion-count", __Syncfusion_JavaScript_Models_SpellCheckProperties.MaxSuggestionCount, 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(1172, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1178, 108, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "533fc8ffd2204fb690b1d81325eb5887", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ButtonProperties.Height = (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(1286, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(1291, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(1316, 209, true); WriteLiteral("\r\n <script type=\"text/javascript\">\r\n function showDialog() {\r\n var spellObj = $(\"#SpellCheckDialog\").data(\"ejSpellCheck\");\r\n spellObj.showInDialog();\r\n }\r\n </script>\r\n"); EndContext(); } ); BeginContext(1528, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 229, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates the default functionalities of the RepeatButton and its various property and events like size, text, showroundedcorner, repeatbutton and click in a ASP.NET Core\">\r\n"); EndContext(); } ); BeginContext(250, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(275, 60, true); WriteLiteral("\r\n <span class=\"sampleName\">Button / Repeat Button</span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(363, 229, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\">\r\n <table>\r\n <tr>\r\n <td style=\"padding-left:40px\">\r\n Repeat Button <br /> <br/>\r\n "); EndContext(); BeginContext(592, 135, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "d00d55991a8144f6aa10b57b77844164", 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); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\repeatbutton.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Large; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\repeatbutton.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\repeatbutton.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.RepeatButton = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("repeat-button", __Syncfusion_JavaScript_Models_ButtonProperties.RepeatButton, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __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(727, 102, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n </table>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("EventsDropDown", async() => { BeginContext(856, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(884, 390, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { var btnObj = $(""#buttonnormal"").data(""ejButton""); }); function btnClick(e, ui) { jQuery.addEventLog(""Repeat Button click<span class='eventTitle'> triggered. </span>""); } function onClear() { jQuery.clearEventLog(); } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 176, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates the various methods like show, hide, enable, getSelectedRange and disable in a ASP.NET Core DateRangePicker\">\r\n"); EndContext(); } ); BeginContext(197, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptReferenceSection", async() => { BeginContext(231, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 244, "\"", 308, 1); #line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DateRangePicker\Methods.cshtml" WriteAttributeValue("", 250, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 250, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(309, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(347, 56, true); WriteLiteral("<span class=\"sampleName\">DateRangePicker/Methods</span> "); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(431, 70, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\">\r\n "); EndContext(); BeginContext(501, 74, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-range-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "42bd8cbbd3b24210afd0bec26fb011d3", async() => { } ); __Syncfusion_JavaScript_Models_DateRangePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DateRangePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DateRangePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_DateRangePickerProperties.Width = (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, 34, true); WriteLiteral("\r\n </div>\r\n </div>\r\n "); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(639, 70, true); WriteLiteral("\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(709, 109, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "42bfccd0fa7448eaba8718dac6f97155", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Click = (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(818, 98, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(916, 97, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b176710f00bd401c8d9984fe039f5cd3", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DateRangePicker\Methods.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(1013, 98, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(1111, 110, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e424e00e2d3445618e02d8c8cb7a7b1b", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Click = (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(1221, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1277, 1081, true); WriteLiteral(@" <script type=""text/javascript""> function changeState(args) { var dateRangeObj = $('#dateRange').data(""ejDateRangePicker""); var toggleObj = $(""#togvisible"").data(""ejToggleButton""); if (args.isChecked) { dateRangeObj.disable(); toggleObj.disable(); } else { dateRangeObj.enable(); toggleObj.enable(); } } function changeVisible(args) { var dateRangeObj = $('#dateRange').data(""ejDateRangePicker""); if (args.isChecked) dateRangeObj.popupShow(); else dateRangeObj.popupHide(); } function getTime(args) { var dateRangeObj = $('#dateRange').data(""ejDateRangePicker""); alert(""StartDate :"" + dateRangeObj.getSelectedRange().startDate +"" - "" + ""endDate :""+ dateRangeObj.getSelectedRange().endDate); } $(function () { $(""#samplePr"); WriteLiteral("operties\").ejPropertiesPanel();\r\n });\r\n</script>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(2383, 248, true); WriteLiteral("\r\n <style>\r\n .control {\r\n width: 100%;\r\n }\r\n\r\n .frame {\r\n width: 50%;\r\n }\r\n\r\n .control .e-daterangewidget {\r\n width: 225px;\r\n margin: auto;\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, 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, 58, true); WriteLiteral("\r\n <span class=\"sampleName\">SpellCheck / API\'s</span>\r\n"); EndContext(); } ); BeginContext(84, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(111, 1136, true); WriteLiteral(@" <div id=""TextArea"" contenteditable=""true""> Amazon.com, Inc., often refered to as simply Amazon, is an American electronic commerce and cloud computing company with headquarters in Seattle, Washington. It is the largest web-based retailer in the United States. Amazon.com started as bookstore on the web, later diversifying to sell DVDs, Blu-rays, CDs, video downloads/streaming, MP3 downloads/streaming, audiobook downloads/streaming, software, video games, electronics, apparel, furniture, food, toys and jewelry. The company also produces consumer electronics—notably, Amazon Kindle e-book readers, Fire tablets, Fire TV and Fire Phone—and is the world's largest provider of cloud infrastructure services (IaaS). Amazon also sells certain low-end products like USB cables under its in-house brand AmazonBasics. Amazon has separate retail websites for United States, United Kingdom and Ireland, France, Canada, Germany, Italy, Spain, Netherlands, Australia, Brazil, Japan, China, India and Mexico. A"); WriteLiteral("mazon also offers international shipping to cetain other countries for some of its products.\r\n </div>\r\n\r\n "); EndContext(); BeginContext(1247, 412, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-spell-check", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "928f9b159f8642a0bccf43b518bfef61", async() => { BeginContext(1343, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1353, 207, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-dictionary-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ac05583efcca47448cae1112616db0e4", async() => { } ); __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellCheckDictionarySettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellCheckDictionarySettings); __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings.CustomDictionaryUrl = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_SpellCheckDictionarySettings.DictionaryUrl = (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(1560, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1570, 66, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-context-menu-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a8fe60e9e4954f939cdaa78847fbd4ce", async() => { BeginContext(1609, 1, true); WriteLiteral(" "); EndContext(); } ); __Syncfusion_JavaScript_Models_SpellContextSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellContextSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellContextSettings); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\SpellCheck\API.cshtml" __Syncfusion_JavaScript_Models_SpellContextSettings.Enable = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_SpellContextSettings.Enable, 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(1636, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_SpellCheckProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpellCheckProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpellCheckProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_SpellCheckProperties.ControlsToValidate = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\SpellCheck\API.cshtml" __Syncfusion_JavaScript_Models_SpellCheckProperties.MaxSuggestionCount = 2; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("max-suggestion-count", __Syncfusion_JavaScript_Models_SpellCheckProperties.MaxSuggestionCount, 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(1659, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1665, 102, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "201c61b680694bc6a394d15bbde7a581", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ButtonProperties.Height = (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(1767, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(1772, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(1801, 317, true); WriteLiteral(@" <div id=""sampleProperties""> <div class=""prop-grid""> <div class=""row""> <div class=""col-md-3 aligntop"">MisspellWordCss</div> <div class=""col-md-3""> <select name=""selectIndex"" class=""e-ddl"" id=""misspellWordCss""> "); EndContext(); BeginContext(2118, 45, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2b26d16b63f4444d94973221e5300d4b", async() => { BeginContext(2144, 10, true); WriteLiteral("Highlight1"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (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(2163, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2189, 47, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6506f7c309694d168021bd03721f86b9", async() => { BeginContext(2217, 10, true); WriteLiteral("Highlight2"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2236, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2262, 47, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1417e4ddfd8f43839b86d5006cac3989", async() => { BeginContext(2290, 10, true); WriteLiteral("Highlight3"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (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(2309, 2273, true); WriteLiteral(@" </select> </div> </div> <div class=""row""> <div class=""col-md-3"">Ignore AlphaNumeric Words</div> <div class=""col-md-3""> <input type=""checkbox"" class=""nodetext"" id=""ignoreAlphaNumericWords"" /> </div> </div> <br /> <div class=""row""> <div class=""col-md-3"">Ignore UpperCase</div> <div class=""col-md-3""> <input type=""checkbox"" class=""nodetext"" id=""ignoreUpperCase"" /> </div> </div> <div class=""row""> <div class=""col-md-3"">Ignore MixedCase Words</div> <div class=""col-md-3""> <input type=""checkbox"" class=""nodetext"" id=""ignoreMixedCaseWords"" /> </div> </div><br /> <div class=""row""> <div class=""col-md-3"">Ignore Url</div> <div"); WriteLiteral(@" class=""col-md-3""> <input type=""checkbox"" class=""nodetext"" id=""ignoreUrl"" /> </div> </div> <div class=""row""> <div class=""col-md-3"">Ignore FileNames</div> <div class=""col-md-3""> <input type=""checkbox"" class=""nodetext"" id=""ignoreFileNames"" /> </div> </div> <div class=""row""> <div class=""col-md-3"">Ignore Email Address</div> <div class=""col-md-3""> <input type=""checkbox"" class=""nodetext"" id=""ignoreEmailAddress"" /> </div> </div> <div class=""row""> <div class=""col-md-3"">Maximum Suggestion Count</div> <div class=""col-md-3""> <input type=""text"" id=""maxSuggestionCount"" value=""maxSuggestionCount"" /> </div> </div><br /> <div class=""row""> <div class=""col-md"); WriteLiteral("-3\">Ignore Words</div>\r\n <div class=\"col-md-12\">\r\n <input type=\"text\" id=\"ignoreWordsDropDown\" class=\"e-togglebtn\" />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(4607, 219, true); WriteLiteral("\r\n <style>\r\n .errorword {\r\n color: red;\r\n }\r\n\r\n .highlighter {\r\n color: blue;\r\n }\r\n\r\n #TextArea {\r\n padding-bottom: 15px;\r\n }\r\n </style>\r\n"); EndContext(); } ); BeginContext(4829, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(4854, 3286, true); WriteLiteral(@" <script type=""text/javascript""> var target; var ignoreWordsData = [ { word: ""audiobook"" }, { word: ""Blu"" }, { word: ""DVDs"" } ]; $(function () { $(""#sampleProperties"").ejPropertiesPanel(); var spellObj = $(""#SpellCheckDialog"").data(""ejSpellCheck""); spellObj.validate(); }); $(""#misspellWordCss"").ejDropDownList({ selectedItemIndex: 2, select: ""changeErrorHighlight"", change: ""showInContextMenu"", width: ""110px"" }); $(""#ignoreAlphaNumericWords"").ejCheckBox({ change: ""ignoreAlphaNumericWords"", checked: true }); $(""#ignoreUpperCase"").ejCheckBox({ change: ""ignoreUpperCase"", checked: true }); $(""#ignoreUrl"").ejCheckBox({ change: ""ignoreUrl"", checked: true }); $(""#ignoreMixedCaseWords"").ejCheckBox({ change: ""ignoreMixedCaseWords"", checked: true }); $(""#ignoreFileNames"").ejCheckBox({ change: ""ignoreFileNames"", checked: true }); $(""#ignoreEmailAddress"); WriteLiteral(@""").ejCheckBox({ change: ""ignoreEmailAddress"", checked: true }); $(""#maxSuggestionCount"").ejNumericTextbox({ name: ""maxSuggestionCount"", value: 6, width: 110, change: ""maxSuggestionChange"" }); $(""#ignoreWordsDropDown"").ejDropDownList({ dataSource: ignoreWordsData, fields: { text: ""word"" }, watermarkText: ""Select your ignore words"", showCheckbox: true, width: ""100%"", change: ""addIgnoreWords"" }); if (ej.browserInfo().name === ""msie"") document.execCommand(""AutoUrlDetect"", false, false); function changeErrorHighlight(args) { $(""#SpellCheckDialog"").ejSpellCheck({ misspellWordCss: args.value }); } function ignoreAlphaNumericWords(args) { $(""#SpellCheckDialog"").ejSpellCheck({ ignoreSettings: { ignoreAlphaNumericWords: args.isChecked } }); } function ignoreUrl(args) { $(""#SpellCheckDialog"").ejSpellC"); WriteLiteral(@"heck({ ignoreSettings: { ignoreUrl: args.isChecked } }); } function ignoreUpperCase(args) { $(""#SpellCheckDialog"").ejSpellCheck({ ignoreSettings: { ignoreUpperCase: args.isChecked } }); } function ignoreMixedCaseWords(args) { $(""#SpellCheckDialog"").ejSpellCheck({ ignoreSettings: { ignoreMixedCaseWords: args.isChecked } }); } function ignoreFileNames(args) { $(""#SpellCheckDialog"").ejSpellCheck({ ignoreSettings: { ignoreFileNames: args.isChecked } }); } function ignoreEmailAddress(args) { $(""#SpellCheckDialog"").ejSpellCheck({ ignoreSettings: { ignoreEmailAddress: args.isChecked } }); } function addIgnoreWords(args) { $(""#SpellCheckDialog"").ejSpellCheck({ ignoreWords: !ej.isNullOrUndefined(args.model.value) ? args.model.value.split("","") : [] }); } function maxSuggestionChange(args) { $(""#SpellCheckDialog"").ejSpellCheck({ maxSugge"); WriteLiteral("stionCount: args.value });\r\n }\r\n function showInContextMenu() {\r\n var spellObj = $(\"#SpellCheckDialog\").data(\"ejSpellCheck\");\r\n spellObj.validate();\r\n }\r\n </script>\r\n\r\n"); EndContext(); } ); BeginContext(8143, 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\">Slider / Methods</span>"); EndContext(); } ); BeginContext(75, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(102, 37, true); WriteLiteral("\r\n\r\n <div class=\"frame\">\r\n "); EndContext(); BeginContext(139, 90, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-slider", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "34f855f5e78e4a5f95ec7d916ed436ee", async() => { } ); __Syncfusion_JavaScript_Models_SliderProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SliderProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SliderProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); #line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Slider\Methods.cshtml" __Syncfusion_JavaScript_Models_SliderProperties.SliderType = SlideType.Range; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("slider-type", __Syncfusion_JavaScript_Models_SliderProperties.SliderType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_SliderProperties.Values = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_SliderProperties.Width = (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(229, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(273, 72, true); WriteLiteral("\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(345, 110, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9abca467155e498880aaaf6eea841937", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Click = (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(455, 98, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(553, 61, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "da074db38e9746e98f253c02ec51ff80", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(614, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(670, 439, true); WriteLiteral(@" <script> var target; $(document).ready(function () { $(""#sampleProperties"").ejPropertiesPanel(); target = $(""#rangeSlider"").data(""ejSlider""); }); function changeState(args) { if (args.isChecked) target.disable(); else target.enable(); } function getValue() { alert(target.getValue()); } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(1134, 101, true); WriteLiteral("\r\n <style>\r\n .cols-sample-area .frame {\r\n width: 50%;\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, 60, true); WriteLiteral("\r\n <span class=\"sampleName\">Dropdownlist / Methods</span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(111, 70, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\">\r\n "); EndContext(); BeginContext(181, 245, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "68bb1bcc914641809c4aa1c3fbf5da5d", async() => { BeginContext(314, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(332, 60, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-drop-down-list-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "f810fb36d5694477ad30503a5b0e31e5", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListFields); __Syncfusion_JavaScript_Models_DropDownListFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_DropDownListFields.Value = (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(392, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dropdownlist\Methods.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = (IEnumerable <Books>)ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.WatermarkText = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (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(426, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(486, 154, true); WriteLiteral("\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Select an item by index\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(640, 260, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3930e4d4f62142a3bd5e2cd4e7bc91ce", async() => { BeginContext(801, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(819, 47, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-drop-down-list-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3f6b35636f304773b37d410a0ad6a9a3", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListFields); __Syncfusion_JavaScript_Models_DropDownListFields.Text = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_DropDownListFields.Id = (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(866, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dropdownlist\Methods.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = (IEnumerable <Books>)ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_DropDownListProperties.WatermarkText = (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(900, 147, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\">\r\n Select an item by value\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(1047, 273, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6f47c2a8729c4434b466b164bd47985e", async() => { BeginContext(1208, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1226, 60, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-drop-down-list-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "eaccc4fa9fd943d1aaac5859207ad553", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListFields); __Syncfusion_JavaScript_Models_DropDownListFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_DropDownListFields.Value = (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(1286, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dropdownlist\Methods.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = (IEnumerable <Books>)ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_DropDownListProperties.WatermarkText = (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(1320, 181, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Select an item by text\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(1501, 271, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "774d46a6c87d49ac913c39d8bf7d1f73", async() => { BeginContext(1660, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1678, 60, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-drop-down-list-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "cce7b998a2604355b22eb87c17624910", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListFields); __Syncfusion_JavaScript_Models_DropDownListFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_DropDownListFields.Value = (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(1738, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 36 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dropdownlist\Methods.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = (IEnumerable <Books>)ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_DropDownListProperties.WatermarkText = (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(1772, 137, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\">\r\n TextBox Value\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(1909, 69, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "850c7863457e48fab4084ffc5e07fd6d", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(1978, 173, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Disable\\Enable\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(2151, 124, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "556215ba93914a82a689c4255c692be8", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_18); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_19.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_21.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2275, 137, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\">\r\n Filter Search\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(2412, 128, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1e2007b0d01d4abebb1ad1c6b7f67f21", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_22); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_19.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (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(2540, 145, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\">\r\n Case-Sensitive Search\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(2685, 132, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "bdf809fe976a496387cf1c772e40b602", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_24); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_19.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_25.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_25); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2817, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(2873, 1873, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); var target; function onActiveIndexChange(args) { target = $('#bokSelect').data(""ejDropDownList""); $(""#optionValueChange"").ejDropDownList(""clearText""); $(""#optionTextChange"").ejDropDownList(""clearText""); target.option({ selectedIndex: args.itemId }); } function onActiveValueChange(args) { target = $('#bokSelect').data(""ejDropDownList""); $(""#optionIndexChange"").ejDropDownList(""clearText""); $(""#optionTextChange"").ejDropDownList(""clearText""); target.selectItemByValue(args.selectedValue); } function onActiveTextChange(args) { target = $('#bokSelect').data(""ejDropDownList""); $(""#optionIndexChange"").ejDropDownList(""clearText""); $(""#optionValueChange"").ejDropDownList(""clearText""); "); WriteLiteral(@" target.selectItemByText(args.selectedValue); } function onCheckUncheckAll(args) { target = $('#bokSelect').data(""ejDropDownList""); (args.isChecked) ? target.disable() : target.enable(); } function incrementalchange(args) { target = $('#bokSelect').data(""ejDropDownList""); (args.isChecked) ? target.option(""enableFilterSearch"", true) : target.option(""enableFilterSearch"", false); } function casesensitivechange(args) { target = $('#bokSelect').data(""ejDropDownList""); (args.isChecked) ? target.option(""caseSensitiveSearch"", true) : target.option(""caseSensitiveSearch"", false); } function valuetext(e, ui) { alert(""Selected Item is "" + target.getValue()); } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(54, 54, true); WriteLiteral("<span class=\"sampleName\">PivotGrid / Exporting</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(129, 165, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo for Syncfusion Essential JS1 for ASP.NET Core Pivot Grid control demos on export to Excel, CSV and PDF formats.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(322, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(324, 639, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-pivot-grid", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e33a5148da8147ac97504f1b33c210ff", async() => { BeginContext(421, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(427, 518, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-data-source", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2812d7c64974409e95294e19e3ea2717", async() => { BeginContext(442, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(452, 148, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-rows", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4accfbc4f9b6424da1adeaebef81b6e4", async() => { BeginContext(466, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(480, 95, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-row-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3e0c65ab07846f3b7a401a3d9d57f66", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_Field.ShowSubTotal = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-sub-total", __Syncfusion_JavaScript_Models_Field.ShowSubTotal, 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(575, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(600, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(610, 154, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-columns", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0c10c19e964b4ba6942836e0296f1029", async() => { BeginContext(627, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(641, 95, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-column-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "da30494926274b9c9fa153ea34bf20b8", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_Field.ShowSubTotal = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-sub-total", __Syncfusion_JavaScript_Models_Field.ShowSubTotal, 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(736, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(764, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(774, 149, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-pivot-values", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6bf10da8d51c4e56af7e541a3dd49d5d", async() => { BeginContext(790, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(804, 92, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-value-field", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "290e18612f664f57b9f21f1e367edc98", async() => { } ); __Syncfusion_JavaScript_Models_Field = CreateTagHelper <global::Syncfusion.JavaScript.Models.Field>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Field); __Syncfusion_JavaScript_Models_Field.FieldName = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_Field.FieldCaption = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_Field.Format = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(896, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_PivotGridTagHelperMocks = CreateTagHelper <global::Syncfusion.JavaScript.PivotGridTagHelperMocks>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_PivotGridTagHelperMocks); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(923, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotDataSource = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotDataSource>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotDataSource); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(945, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_PivotGridProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.PivotGridProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_PivotGridProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_PivotGridProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_PivotGridProperties.Load = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_PivotGridProperties.EnableRowGrandTotal = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-row-grand-total", __Syncfusion_JavaScript_Models_PivotGridProperties.EnableRowGrandTotal, 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(963, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(991, 4400, true); WriteLiteral(@" <script type=""text/javascript""> function onload(args) { args.model.dataSource.data = [ { Amount: 100, Country: ""Canada"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Alberta"" }, { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""British Columbia"" }, { Amount: 300, Country: ""Canada"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Brunswick"" }, { Amount: 150, Country: ""Canada"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 3, State: ""Manitoba"" }, { Amount: 200, Country: ""Canada"", Date: ""FY 2006"", Product: ""Car"", Quantity: 4, State: ""Ontario"" }, { Amount: 100, Country: ""Canada"", Date: ""FY 2007"", Product: ""Van"", Quantity: 1, State: ""Quebec"" }, { Amount:"); WriteLiteral(@" 200, Country: ""France"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Charente-Maritime"" }, { Amount: 250, Country: ""France"", Date: ""FY 2006"", Product: ""Van"", Quantity: 4, State: ""Essonne"" }, { Amount: 300, Country: ""France"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Garonne (Haute)"" }, { Amount: 150, Country: ""France"", Date: ""FY 2008"", Product: ""Van"", Quantity: 2, State: ""Gers"" }, { Amount: 200, Country: ""Germany"", Date: ""FY 2006"", Product: ""Van"", Quantity: 3, State: ""Bayern"" }, { Amount: 250, Country: ""Germany"", Date: ""FY 2007"", Product: ""Car"", Quantity: 3, State: ""Brandenburg"" }, { Amount: 150, Country: ""Germany"", Date: ""FY 2008"", Product: ""Car"", Quantity: 4, State: ""Hamburg"" }, { Amount: 200, Country: "); WriteLiteral(@"""Germany"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 4, State: ""Hessen"" }, { Amount: 150, Country: ""Germany"", Date: ""FY 2007"", Product: ""Van"", Quantity: 3, State: ""Nordrhein-Westfalen"" }, { Amount: 100, Country: ""Germany"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 2, State: ""Saarland"" }, { Amount: 150, Country: ""United Kingdom"", Date: ""FY 2008"", Product: ""Bike"", Quantity: 5, State: ""England"" }, { Amount: 250, Country: ""United States"", Date: ""FY 2007"", Product: ""Car"", Quantity: 4, State: ""Alabama"" }, { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Van"", Quantity: 4, State: ""California"" }, { Amount: 100, Country: ""United States"", Date: ""FY 2006"", Product: ""Bike"", Quantity: 2, State: ""Colorado"" }, { Amount:"); WriteLiteral(@" 150, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""New Mexico"" }, { Amount: 200, Country: ""United States"", Date: ""FY 2005"", Product: ""Bike"", Quantity: 4, State: ""New York"" }, { Amount: 250, Country: ""United States"", Date: ""FY 2008"", Product: ""Car"", Quantity: 3, State: ""North Carolina"" }, { Amount: 300, Country: ""United States"", Date: ""FY 2007"", Product: ""Van"", Quantity: 4, State: ""South Carolina"" } ]; } function exportPivotGrid(args) { var dropDownObj = $('#GridExporting').data(""ejDropDownList""); var pGridObj = $('#PivotGrid1').data(""ejPivotGrid""); var exportOption = dropDownObj.model.value; if (exportOption == ""Excel"") pGridObj.exportPivotGrid(""ExcelExport"", ""Sample""); else if (exportOption == ""Word"") "); WriteLiteral(@" pGridObj.exportPivotGrid(""WordExport"", ""Sample""); else if (exportOption == ""PDF"") pGridObj.exportPivotGrid(""PDFExport"", ""Sample""); } $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(5416, 478, true); WriteLiteral(@" <style> #PivotGrid1 { width: 100%; height: 350px; overflow: auto; } #ExportBtn { margin-left: 80px; } .cols-prop-area { width: 300px !important; min-height: 93px !important; } .col-md-3 { height: 45px !important; } .cols-sample-area { width: 100% !important; } </style> "); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(5924, 421, true); WriteLiteral(@" <ul id=""Exporting""> <li>Excel</li> <li>PDF</li> <li>Word</li> </ul> <br /> <div id=""sampleProperties""> <div class=""prop-grid""> <div class=""row"" style=""float:left;margin-left:30px !important; padding-top: 8px;""> Export Option : </div> <div class=""row"" style=""margin-right:20px;""> <div class=""col-md-3""> "); EndContext(); BeginContext(6345, 118, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f8879e9702d34d9ba662683445c75ecd", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); #line 104 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 0; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(6463, 69, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n <div>\r\n "); EndContext(); BeginContext(6532, 108, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "16bef36b2a024eabbf84225cc95ec4e5", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ButtonProperties.Height = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); #line 109 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\PivotGrid\Exporting.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Type = global::Syncfusion.JavaScript.ButtonType.Button; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_Models_ButtonProperties.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(6640, 22, true); WriteLiteral("\r\n </div>\r\n</div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 164, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates the various methods like enable and disable in a ASP.NET Core Button, ToggleButton, SplitButton\">\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(208, 54, true); WriteLiteral("\r\n <span class=\"sampleName\">Button / Methods</span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(290, 266, true); WriteLiteral(@" <div class=""frame""> <div class=""control""> <table> <tr> <td class=""btnsht""> Button </td> <td class=""btnsht""> "); EndContext(); BeginContext(556, 97, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ae4192a32fa944949d9334fbc8f355d9", 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); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\methods.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Large; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\methods.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, 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(653, 246, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n <tr>\r\n <td class=\"btnsht\">\r\n Toggle Button\r\n </td>\r\n <td class=\"btnsht\">\r\n "); EndContext(); BeginContext(899, 125, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "acbff3bb19aa4435836f602197a7bcd9", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\methods.cshtml" __Syncfusion_JavaScript_Models_ToggleButtonProperties.Size = ButtonSize.Large; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ToggleButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\methods.cshtml" __Syncfusion_JavaScript_Models_ToggleButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ToggleButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (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(1024, 252, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n <tr>\r\n <td class=\"btnsht\">\r\n Split Button\r\n </td>\r\n <td class=\"splttd btnsht\">\r\n "); EndContext(); BeginContext(1276, 123, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-split-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6f29b0506a3d4f75a9893d44968f2b3e", async() => { } ); __Syncfusion_JavaScript_Models_SplitButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_SplitButtonProperties.Text = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 31 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\methods.cshtml" __Syncfusion_JavaScript_Models_SplitButtonProperties.Size = ButtonSize.Large; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_SplitButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 31 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\methods.cshtml" __Syncfusion_JavaScript_Models_SplitButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_SplitButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_SplitButtonProperties.TargetID = (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(1399, 500, true); WriteLiteral(@" <ul id=""menu1""> <li><span>Open...</span></li> <li><span>Save</span></li> <li><span>Delete</span></li> </ul> </td> </tr> <tr> <td class=""btnsht""> Dropdown Button </td> <td class=""splttd btnsht""> "); EndContext(); BeginContext(1899, 154, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-split-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "26fb832188224a749bbbc20639d9d425", async() => { } ); __Syncfusion_JavaScript_Models_SplitButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_SplitButtonProperties.Text = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 44 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\methods.cshtml" __Syncfusion_JavaScript_Models_SplitButtonProperties.Size = ButtonSize.Large; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_SplitButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 44 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\methods.cshtml" __Syncfusion_JavaScript_Models_SplitButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_SplitButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_SplitButtonProperties.TargetID = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 44 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\methods.cshtml" __Syncfusion_JavaScript_Models_SplitButtonProperties.ButtonMode = ButtonMode.Dropdown; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("button-mode", __Syncfusion_JavaScript_Models_SplitButtonProperties.ButtonMode, 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(2053, 347, true); WriteLiteral(@" <ul id=""menu2""> <li><span>Open...</span></li> <li><span>Save</span></li> <li><span>Delete</span></li> </ul> </td> </tr> </table> </div> </div> "); EndContext(); } ); BeginContext(2403, 201, true); WriteLiteral("<div id=\"arrowTarget\">\r\n <ul>\r\n <li value=\"right\">Right</li>\r\n <li value=\"left\">Left</li>\r\n <li value=\"top\">Top</li>\r\n <li value=\"bottom\">Bottom</li>\r\n </ul>\r\n</div>\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(2631, 145, true); WriteLiteral("\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Disable\\Enable\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(2776, 149, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "fa4a2b029bcb4cd59bd146cc350f5a9b", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_ToggleButtonProperties.CssClass = (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(2925, 148, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">ArrowPosition</div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(3073, 141, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b3a6768aa8aa4ed8900a0a189b160b69", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); #line 76 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\methods.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 0; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_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(3214, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(3270, 1263, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); var btnobject1, btnobject2, btnobject3, btnobject4; function onCheckUncheckAll(args) { btnobject1 = $(""#buttonnormal"").data(""ejButton""); btnobject2 = $(""#TextOnly"").data(""ejToggleButton""); btnobject3 = $(""#splitbuttonnormal"").data(""ejSplitButton""); btnobject4 = $(""#dropbtnlarge"").data(""ejSplitButton""); if (args.isChecked) { btnobject1.disable(); btnobject2.disable(); btnobject3.disable(); btnobject4.disable(); } else { btnobject1.enable(); btnobject2.enable(); btnobject3.enable(); btnobject4.enable(); } } function onArrowChange(args) { if (args.value == ""top"" || args.value == ""bottom"") "); WriteLiteral(" $(\".splttd\").css(\"padding\", \"6px 0 6px 1px\");\r\n else\r\n $(\".splttd\").css(\"padding\", \"0 0 0 1px\");\r\n $(\".e-splitbutton\").ejSplitButton({ \"arrowPosition\": args.value });\r\n }\r\n </script>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(4558, 83, true); WriteLiteral("\r\n <style>\r\n .frame {\r\n width: 50%;\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, 56, true); WriteLiteral("\r\n <span class=\"sampleName\">Tooltip / Target</span>\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(107, 45, true); WriteLiteral("\r\n <div id=\"form\" class=\"frame\">\r\n "); EndContext(); BeginContext(152, 1400, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d675a00a74264a13bd67f50e8b1a5353", async() => { BeginContext(183, 1052, true); WriteLiteral(@" <fieldset> <div class=""form-group""> <label for=""name"">User Name:</label> <input class=""form-control"" type=""text"" id=""name"" name=""firstname"" title=""Please enter your name""> </div> <div class=""form-group""> <label for=""email"">Email Address:</label> <input class=""form-control"" id=""email"" type=""text"" name=""email"" title=""Enter a valid email address""> </div> <div class=""form-group""> <label for=""pwd"">Password:</label> <input class=""form-control"" id=""pwd"" type=""password"" name=""pwd"" title=""Be at least 8 characters length""> </div> <div class=""form-group""> <label for=""Cpwd"">Confirm Password:</label> <input class=""form-control"" type=""password"" id=""Cpwd"" name=""Cpwd"" title=""Re-enter your password""> </div> "); WriteLiteral(" \r\n "); EndContext(); BeginContext(1235, 122, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e26a2782b5ff4ec19a5e939a766b21dc", 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); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "typeof", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml" AddHtmlAttributeValue("", 1280, ButtonType.Submit, 1280, 18, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); #line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.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); #line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, 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(1357, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1375, 117, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6e9629c6752045a5aa69c387bdcf4863", 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); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "typeof", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml" AddHtmlAttributeValue("", 1418, ButtonType.Reset, 1418, 17, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); #line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.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); #line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, 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(1492, 53, true); WriteLiteral("\r\n \r\n </fieldset>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1552, 18, true); WriteLiteral("\r\n </div>\r\n\r\n\r\n"); EndContext(); BeginContext(1570, 298, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c1b81f2a3b0e400ba0eac348d5907f3c", async() => { BeginContext(1685, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1691, 162, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip-position", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d584cd19a5fe46f1b6a606b4a40aaff3", async() => { BeginContext(1711, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1721, 47, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-stem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "60f90b20bc2d4afb931bc6463bab1efd", async() => { } ); __Syncfusion_JavaScript_Models_Stem = CreateTagHelper <global::Syncfusion.JavaScript.Models.Stem>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Stem); __Syncfusion_JavaScript_Models_Stem.Horizontal = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_Stem.Vertical = (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(1768, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1778, 48, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "bb40a9898c4b49f392df2ae4f93049e0", async() => { } ); __Syncfusion_JavaScript_Models_Target = CreateTagHelper <global::Syncfusion.JavaScript.Models.Target>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Target); __Syncfusion_JavaScript_Models_Target.Horizontal = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_Target.Vertical = (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(1826, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_TipPosition = CreateTagHelper <global::Syncfusion.JavaScript.Models.TipPosition>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TipPosition); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1853, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_TooltipProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TooltipProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TooltipProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_TooltipProperties.Target = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_TooltipProperties.Height = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_TooltipProperties.Width = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_TooltipProperties.Create = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_TooltipProperties.BeforeOpen = (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(1868, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(1873, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(1902, 241, true); WriteLiteral("\r\n <div id=\"sampleProperties\">\r\n <div class=\"prop-grid\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n Trigger\r\n </div>\r\n <div class=\"col-md-6\">\r\n \r\n "); EndContext(); BeginContext(2143, 124, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3b8338d7178a4343b7e80bd92f075a60", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); #line 50 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Tooltip\Target.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 0; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (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(2267, 356, true); WriteLiteral(@" <div id=""list""> <ul> <li value=""focus"" selected=""selected""> Focus </li> <li value=""click""> Click </li> <li value=""hover""> Hover </li> </ul> </div> </div> </div> </div> </div> "); EndContext(); } ); BeginContext(2626, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(2651, 763, true); WriteLiteral(@" <script type=""text/javascript""> var target; function onCreate() { target = $(""#details"").data(""ejTooltip""); } $(""#sampleProperties"").ejPropertiesPanel(); function selectChange(args) { target.option(""trigger"", args.value) } function onOpen(args) { var currentElement = args.event.currentTarget, content = $(currentElement).attr(""data-content""); if (content == ""Enter a valid email address"") target.setModel({ cssClass: ""info"" }); //$(target.tooltip).removeClass(""warning"").addClass(""info""); else target.setModel({ cssClass: ""warning"" }); //$(target.tooltip).removeClass(""info"").addClass(""warning""); } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3439, 855, true); WriteLiteral(@" <style> .info { background-color: #f9ce9b; color: #b29b7f; } .warning { background-color: #e56161; color: #ffffff; } .cols-sample-area { height: 500px; } .frame { width: 500px; box-sizing: border-box; border: none; } .form-control { box-sizing: border-box; } .form-group { margin-bottom: 10px; } fieldset { border: 1px solid #D9DEDD; padding: 15px; width: 100%; box-sizing: border-box; } #sample { margin-right: 50px; } .e-button { margin: 10px; } </style> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("ScriptReferenceSection", async() => { BeginContext(32, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 45, "\"", 109, 1); #line 2 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Default.cshtml" WriteAttributeValue("", 51, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 51, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(110, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(148, 49, true); WriteLiteral("<span class=\"sampleName\">Editor / Default </span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(225, 167, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"row\">\r\n <div class=\"column\"><span>Kilometers</span></div>\r\n <div class=\"column\">\r\n "); EndContext(); BeginContext(392, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-numeric-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "7c82199219bf40349c7515abdbdbf494", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Default.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.Value = 1000; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_EditorProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.Width = (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(454, 211, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"column\">\r\n <span>Service Tax</span>\r\n </div>\r\n <div class=\"column\">\r\n "); EndContext(); BeginContext(665, 63, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-percentage-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9a6781372acc45e39b07ac40e3cdfed8", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Default.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.Value = 100; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_EditorProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.Width = (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(728, 204, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"column\">\r\n <span>Fare</span>\r\n </div>\r\n <div class=\"column\">\r\n "); EndContext(); BeginContext(932, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-currency-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b44cb3aec8db45dda7b539c9007b42bd", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); #line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Default.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.Value = 50; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_EditorProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.Width = (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(994, 209, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"column\">\r\n <span>Mobile No</span>\r\n </div>\r\n <div class=\"column\">\r\n "); EndContext(); BeginContext(1203, 129, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-mask-edit", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "eeeb9328c6304c45aae38e23d23e999b", async() => { } ); __Syncfusion_JavaScript_Models_MaskEditProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.MaskEditProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MaskEditProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_MaskEditProperties.MaskFormat = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); #line 34 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Default.cshtml" __Syncfusion_JavaScript_Models_MaskEditProperties.InputMode = InputMode.Text; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("input-mode", __Syncfusion_JavaScript_Models_MaskEditProperties.InputMode, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_MaskEditProperties.WatermarkText = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_MaskEditProperties.Width = (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(1332, 137, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"column\" style=\"float:right\">\r\n "); EndContext(); BeginContext(1469, 63, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b73dc9ebe83b4ec7bff447ef5697f29d", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); #line 39 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Default.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (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(1532, 50, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(1607, 170, true); WriteLiteral("\r\n\r\n <style>\r\n .frame {\r\n width: 38%;\r\n padding: 30px;\r\n }\r\n .column {\r\n padding: 5px;\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, 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(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 180, true); WriteLiteral("\r\n <meta name=\"description\" content=\"DatePicker for ASP.NET Core with the strongly typed extension support. Value is set from the code behind by invoking DatePickerFor helper\">\r\n"); EndContext(); } ); BeginContext(201, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptReferenceSection", async() => { BeginContext(235, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 248, "\"", 312, 1); #line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml" WriteAttributeValue("", 254, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 254, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(313, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(351, 59, true); WriteLiteral("<span class=\"sampleName\">DatePicker / DatePickerFor</span> "); EndContext(); } ); BeginContext(413, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(480, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(509, 2, true); WriteLiteral("\r\n"); EndContext(); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml" using (Html.BeginForm()) { #line default #line hidden BeginContext(558, 28, false); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml" Write(Html.ValidationSummary(true)); #line default #line hidden EndContext(); BeginContext(588, 68, true); WriteLiteral(" <div class=\"frame\">\r\n <div class=\"control\">\r\n "); EndContext(); BeginContext(656, 285, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "d7584f6cd93344a9868c5d7c1e2a6023", async() => { } ); __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml" __Syncfusion_JavaScript_Models_DatePickerProperties.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => Model.Value); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("ej-for", __Syncfusion_JavaScript_Models_DatePickerProperties.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml" __Syncfusion_JavaScript_Models_DatePickerProperties.ValidationRules = new Dictionary <string, object>() { { "required", true } }; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("validation-rules", __Syncfusion_JavaScript_Models_DatePickerProperties.ValidationRules, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml" __Syncfusion_JavaScript_Models_DatePickerProperties.ValidationMessages = new Dictionary <string, object>() { { "required", "Date value is required" } }; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("validation-messages", __Syncfusion_JavaScript_Models_DatePickerProperties.ValidationMessages, 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(941, 15, true); WriteLiteral("\r\n "); EndContext(); BeginContext(957, 45, false); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml" Write(Html.ValidationMessageFor(model => model.Value)); #line default #line hidden EndContext(); BeginContext(1002, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1016, 50, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "74a96f102de94c8e9fb76122432266b0", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Type = global::Syncfusion.JavaScript.ButtonType.Submit; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_Models_ButtonProperties.Type, 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(1066, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); #line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml" } #line default #line hidden BeginContext(1099, 4, true); WriteLiteral(" "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(1128, 122, true); WriteLiteral("\r\n <style>\r\n #button {\r\n margin-left: 30px;\r\n margin-top: 20px;\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, 57, true); WriteLiteral("\r\n <span class=\"sampleName\">Signature / Methods</span>"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(101, 162, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates how to dynamically customize the Syncfusion ASP.NET Core Essential JS 1 Signature component.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(291, 95, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\">\r\n\t\t\t<div>Sign here</div>\r\n "); EndContext(); BeginContext(386, 163, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-signature", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "fc6b42c6a3f54f9d8ce6807a7c11aa3e", async() => { } ); __Syncfusion_JavaScript_Models_SignatureProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SignatureProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SignatureProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_SignatureProperties.Height = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Signature\Methods.cshtml" __Syncfusion_JavaScript_Models_SignatureProperties.StrokeWidth = 3; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("stroke-width", __Syncfusion_JavaScript_Models_SignatureProperties.StrokeWidth, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Signature\Methods.cshtml" __Syncfusion_JavaScript_Models_SignatureProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SignatureProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Signature\Methods.cshtml" __Syncfusion_JavaScript_Models_SignatureProperties.SaveWithBackground = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("save-with-background", __Syncfusion_JavaScript_Models_SignatureProperties.SaveWithBackground, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_SignatureProperties.BackgroundImage = (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(549, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(582, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(611, 338, true); WriteLiteral(@" <div id=""sampleProperties""> <div class=""prop-grid""> <div class=""row-fluid""> <div class=""row""> <div class=""col-md-3 col-xs-4""> Stroke Color </div> <div class=""col-md-3 col-xs-4""> "); EndContext(); BeginContext(949, 96, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-color-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2a231ce21deb46209886b52430f07ab6", async() => { } ); __Syncfusion_JavaScript_Models_ColorPickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ColorPickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ColorPickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_ColorPickerProperties.Value = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ColorPickerProperties.Change = (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(1045, 285, true); WriteLiteral(@" </div> </div> <div class=""row""> <div class=""col-md-3 col-xs-4""> Stroke Width </div> <div class=""col-md-3 col-xs-4""> "); EndContext(); BeginContext(1330, 157, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ac9bb362df344e1583084e50bb566f21", async() => { BeginContext(1441, 26, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (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(1487, 682, true); WriteLiteral(@" <div id=""numList""> <ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> <li>6</li> <li>7</li> </ul> </div> </div> </div> <div class=""row""> <div class=""col-md-3 col-xs-4"">Undo</div> <div class=""col-md-3 col-xs-4""> "); EndContext(); BeginContext(2169, 80, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "aee80b955cda489ba0774189e1b097aa", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); #line 51 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Signature\Methods.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(2249, 229, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">Redo</div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n "); EndContext(); BeginContext(2478, 80, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a5763a1daf39463da8dce7fac7332930", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); #line 57 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Signature\Methods.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(2558, 232, true); WriteLiteral("\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">Clear</div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n "); EndContext(); BeginContext(2790, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "7b0671637a8b4612a8115027de8cc8c5", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); #line 64 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Signature\Methods.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(2873, 229, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">Save</div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n "); EndContext(); BeginContext(3102, 81, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b68c81ccdf2540eb9a11c0023e392ad7", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_20); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_21.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21); #line 70 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Signature\Methods.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(3183, 234, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">Hide/Show</div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n "); EndContext(); BeginContext(3417, 123, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3e7298353b5f45f9a8e27a3f9e555cf0", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_23); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_24.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_24); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_25.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_25); #line 76 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Signature\Methods.cshtml" __Syncfusion_JavaScript_Models_ToggleButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ToggleButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_26.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_26); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3540, 126, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <br />\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(3692, 1175, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function onstrokecolorchange(args) { var sign = $(""#signature"").ejSignature(""instance""); sign.model.strokeColor = args.value; } function onchange(args) { var sign = $(""#signature"").ejSignature(""instance""); sign.model.strokeWidth = parseInt(args.value); } function onclear() { var sign = $(""#signature"").ejSignature(""instance""); sign.clear(); } function onundo() { var sign = $(""#signature"").ejSignature(""instance""); sign.undo(); } function onredo() { var sign = $(""#signature"").ejSignature(""instance""); sign.redo(); } function onsave() { var sign = $(""#signature"").ejSignature(""instance""); sign.save(""MySignature""); "); WriteLiteral(" }\r\n\r\n function signshowChange(args) {\r\n $(\"#signature\").ejSignature(args.isChecked ? \"hide\" : \"show\");\r\n\r\n }\r\n </script>\r\n"); EndContext(); } ); BeginContext(4870, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("StyleSection", async() => { BeginContext(4894, 117, true); WriteLiteral("\r\n <style type=\"text/css\" class=\"cssStyles\">\r\n .frame {\r\n width: 80%;\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, 58, true); WriteLiteral("\r\n <span class=\"sampleName\">ListBox / Reordering</span>"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(102, 167, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates how to move the Syncfusion ASP.NET Core ListBox component items up or down into another position.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(297, 120, true); WriteLiteral("\r\n <div class=\"control frame\">\r\n <div class=\"ctrllabel\">\r\n Reorder skills\r\n </div>\r\n "); EndContext(); BeginContext(417, 131, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-list-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c91ddc2fe6eb4547b9f6a98fe960c462", async() => { BeginContext(477, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(491, 33, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-box-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4d1776e60ddf4c7fa8579d80159b3a7d", async() => { } ); __Syncfusion_JavaScript_Models_ListBoxFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListBoxFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListBoxFields); __Syncfusion_JavaScript_Models_ListBoxFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(524, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ListBoxProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListBoxProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListBoxProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListBox\Reordering.cshtml" __Syncfusion_JavaScript_Models_ListBoxProperties.DataSource = ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ListBoxProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(548, 24, true); WriteLiteral("\r\n \r\n </div>\r\n"); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(602, 70, true); WriteLiteral("\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(672, 69, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a79fd15fd46c41f9b4a3bc5c5b069405", 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.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(741, 98, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(839, 75, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "90296a24e5154c6fae68c40139ab8d05", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __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(914, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(970, 440, true); WriteLiteral(@" <script type=""text/javascript""> var target; $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function Moveup(e) { var target = $('#skillsets').data(""ejListBox""); target.moveUp(); } function Movedown(e) { var target = $('#skillsets').data(""ejListBox""); target.moveDown(); } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(1435, 235, true); WriteLiteral("\r\n <style type=\"text/css\" class=\"cssStyles\">\r\n .ctrllabel {\r\n padding: 0px 0px 12px 3px;\r\n font-weight: 600;\r\n }\r\n\r\n .e-ddl-popup {\r\n margin: 0 auto;\r\n }\r\n\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 199, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates the various events like clicked, open, change and select in a ASP.NET Core Button, ToggleButton, SplitButton, GroupButton controls\">\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(243, 53, true); WriteLiteral("\r\n <span class=\"sampleName\">Button / Events</span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(324, 266, true); WriteLiteral(@" <div class=""frame""> <div class=""control""> <table> <tr> <td class=""btnsht""> Button </td> <td class=""btnsht""> "); EndContext(); BeginContext(590, 128, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c7af431a3552448eb0ff3670a9b571e0", 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); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\events.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Large; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\events.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Create = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(718, 246, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n <tr>\r\n <td class=\"btnsht\">\r\n Toggle Button\r\n </td>\r\n <td class=\"btnsht\">\r\n "); EndContext(); BeginContext(964, 192, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "45eb93b483b04ce1ba9f17a53cedc547", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\events.cshtml" __Syncfusion_JavaScript_Models_ToggleButtonProperties.Size = ButtonSize.Large; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ToggleButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\events.cshtml" __Syncfusion_JavaScript_Models_ToggleButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ToggleButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Create = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Click = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ToggleButtonProperties.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(1156, 252, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n <tr>\r\n <td class=\"btnsht\">\r\n Split Button\r\n </td>\r\n <td class=\"splttd btnsht\">\r\n "); EndContext(); BeginContext(1408, 333, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-split-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "98ca893ee2e74a049543cb773f66911c", async() => { } ); __Syncfusion_JavaScript_Models_SplitButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_SplitButtonProperties.Text = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); #line 31 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\events.cshtml" __Syncfusion_JavaScript_Models_SplitButtonProperties.Size = ButtonSize.Large; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_SplitButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 31 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\events.cshtml" __Syncfusion_JavaScript_Models_SplitButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_SplitButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_SplitButtonProperties.TargetID = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_SplitButtonProperties.Create = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_SplitButtonProperties.BeforeOpen = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_SplitButtonProperties.Click = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_SplitButtonProperties.ItemMouseOver = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_SplitButtonProperties.ItemMouseOut = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_SplitButtonProperties.ItemSelected = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_SplitButtonProperties.Open = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); __Syncfusion_JavaScript_Models_SplitButtonProperties.Close = (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(1741, 487, true); WriteLiteral(@" <ul id=""menu1""> <li><span>Open</span></li> <li><span>Save</span></li> <li><span>Delete</span></li> </ul> </td> </tr> <tr> <td class=""btnsht""> Group Button </td> <td class=""btnsht""> "); EndContext(); BeginContext(2228, 663, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-group-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cef166ac774c41a0952092aca91bc179", async() => { BeginContext(2470, 30, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2500, 347, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "18760d7d2b6744d2b17381a610f297cc", async() => { BeginContext(2522, 34, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2556, 56, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f6a7f42119bc49e98aea0410e8ab0a56", async() => { } ); __Syncfusion_JavaScript_Models_GroupButtonBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonBaseItem>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonBaseItem); __Syncfusion_JavaScript_Models_GroupButtonBaseItem.Text = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2612, 34, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2646, 56, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a4c1976bb8e14f7ba5bed63969921aaa", async() => { } ); __Syncfusion_JavaScript_Models_GroupButtonBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonBaseItem>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonBaseItem); __Syncfusion_JavaScript_Models_GroupButtonBaseItem.Text = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2702, 34, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2736, 58, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0205c16c1d094349a5c0ec5229a369cc", async() => { } ); __Syncfusion_JavaScript_Models_GroupButtonBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonBaseItem>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonBaseItem); __Syncfusion_JavaScript_Models_GroupButtonBaseItem.Text = (string)__tagHelperAttribute_21.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2794, 30, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_GroupButtonBase = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonBase>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonBase); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2847, 26, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_GroupButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_22); __Syncfusion_JavaScript_Models_GroupButtonProperties.Width = (string)__tagHelperAttribute_23.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_23); #line 44 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\events.cshtml" __Syncfusion_JavaScript_Models_GroupButtonProperties.GroupButtonMode = GroupButtonMode.RadioButton; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("group-button-mode", __Syncfusion_JavaScript_Models_GroupButtonProperties.GroupButtonMode, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_GroupButtonProperties.Height = (string)__tagHelperAttribute_24.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_24); #line 44 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\events.cshtml" __Syncfusion_JavaScript_Models_GroupButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_GroupButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_GroupButtonProperties.Select = (string)__tagHelperAttribute_25.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_25); __Syncfusion_JavaScript_Models_GroupButtonProperties.BeforeSelect = (string)__tagHelperAttribute_26.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_26); __Syncfusion_JavaScript_Models_GroupButtonProperties.Create = (string)__tagHelperAttribute_27.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_27); __Syncfusion_JavaScript_Models_GroupButtonProperties.KeyPress = (string)__tagHelperAttribute_28.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_28); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2891, 102, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n </table>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("EventsDropdown", async() => { BeginContext(3020, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(3026, 156, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d5e5f43dc70a44e2ae92350611379921", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_29); #line 58 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\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 58 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\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.TargetID = (string)__tagHelperAttribute_30.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_30); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_31.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_31); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3182, 451, true); WriteLiteral(@" <div id=""evntname""> <ul> <li>create</li> <li>beforeOpen</li> <li>beforeSelect</li> <li>click</li> <li>open</li> <li>change</li> <li>select</li> <li>keyPress</li> <li>itemMouseOver</li> <li>itemMouseOut</li> <li>itemSelected</li> <li>close</li> </ul> </div> "); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(3659, 5205, true); WriteLiteral(@" <script type=""text/javascript""> var btnObj, tglbtnObj, spltbtnObj, grpbtnObj; function btnLoad(e) { jQuery.addEventLog(""Button has been <span class='eventTitle'>created</span>.""); } function btnClick(e) { jQuery.addEventLog(""Button has been <span class='eventTitle'>clicked</span>.""); } function tglebtnLoad(e) { jQuery.addEventLog(""ToggleButton has been <span class='eventTitle'>created</span>.""); } function grpbtnLoad(e) { jQuery.addEventLog(""Group Button has been <span class='eventTitle'>created</span>.""); } function tglebtnClick(e) { jQuery.addEventLog(""ToggleButton has been <span class='eventTitle'>clicked</span>.""); } function tglebtnChange(e) { jQuery.addEventLog(""ToggleButton value has been <span class='eventTitle'>changed</span> to "" + e.isChecked + "".""); } function spltbtnLoad(e) { j"); WriteLiteral(@"Query.addEventLog(""SplitButton has been <span class='eventTitle'>created</span>.""); } function spltbtnClick(e) { jQuery.addEventLog(""SplitButton has been <span class='eventTitle'>clicked</span>.""); } function spltbtnOpened(e) { jQuery.addEventLog(""SplitButton popup has been <span class='eventTitle'>Opened</span>.""); } function onFocusIn(e) { jQuery.addEventLog(""SplitButton popup has been <span class='eventTitle'>BeforeOpened</span>. ""); } function spltbtnitmHover(e) { jQuery.addEventLog(""SplitButton item <span class='eventTitle'>hovered-in</span>.""); } function spltbtnitmOut(e) { jQuery.addEventLog(""SplitButton item <span class='eventTitle'>hovered-out</span>.""); } function spltbtnClosed(e) { jQuery.addEventLog(""SplitButton popup has been <span class='eventTitle'>Closed</span>.""); } function spltbtnitmSelecte"); WriteLiteral(@"d(e) { jQuery.addEventLog(e.text + "" item has been <span class='eventTitle'>selected</span>.""); } function grpbtnBeforeSelect(args) { jQuery.addEventLog(""Group Button <span class='eventTitle'>BeforeActive</span> event is fired for Index "" + args.index + "".""); } function grpbtnSelect(args) { jQuery.addEventLog(""Group Button <span class='eventTitle'>Active</span> event is fired for Index "" + args.index + "".""); } function grpbtnKeyPress(args) { jQuery.addEventLog(""Group Button <span class='eventTitle'>Focus</span> Changed to the index"" + args.index + "".""); } function onClear() { jQuery.clearEventLog(); } function evtpropscheckedevent(args) { btnObj = $(""#buttonnormal"").data(""ejButton""); tglbtnObj = $(""#TextOnly"").data(""ejToggleButton""); spltbtnObj = $(""#splitbuttonnormal"").data(""ejSplitButton""); grpbtnObj ="); WriteLiteral(@" $(""#GroupButton"").data(""ejGroupButton""); if (args.isChecked) { switch (args.selectedText) { case ""create"": btnObj.option(args.selectedText, ""btnLoad""); tglbtnObj.option(args.selectedText, ""tglebtnLoad""); spltbtnObj.option(args.selectedText, ""spltbtnLoad""); grpbtnObj.option(args.selectedText, ""grpbtnLoad""); break; case ""click"": btnObj.option(args.selectedText, ""btnClick""); tglbtnObj.option(args.selectedText, ""tglebtnClick""); spltbtnObj.option(args.selectedText, ""spltbtnClick""); break; case ""beforeOpen"": spltbtnObj.option(args.selectedText, ""onFocusIn""); break; case ""open"": spltbtnObj.option(args.selectedText, ""spltbtnOpened""); break; case ""change"": tglbtnO"); WriteLiteral(@"bj.option(args.selectedText, ""tglebtnChange""); break; case ""itemMouseOver"": spltbtnObj.option(args.selectedText, ""spltbtnitmHover""); break; case ""itemMouseOut"": spltbtnObj.option(args.selectedText, ""spltbtnitmOut""); break; case ""itemSelected"": spltbtnObj.option(args.selectedText, ""spltbtnitmSelected""); break; case ""close"": spltbtnObj.option(args.selectedText, ""spltbtnClosed""); break; case ""select"": grpbtnObj.option(args.selectedText, ""grpbtnSelect""); break; case ""beforeSelect"": grpbtnObj.option(args.selectedText, ""grpbtnBeforeSelect""); break; case ""keyPress"": grpbtnObj.option(args.selectedText, ""grpbtnKeyPress""); break; } } else { btnObj.option(args.selectedText, null); tglbtnObj.option(args.selectedText, null); spltbtnObj.option(args.selectedText, null); "); WriteLiteral("grpbtnObj.option(args.selectedText, null);\r\n }\r\n }\r\n </script>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(8889, 83, true); WriteLiteral("\r\n <style>\r\n .frame {\r\n width: 50%;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 165, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates how to enable the rtl property in a ASP.NET Core Button, ToggleButton, GroupButton, SplitButton.\">\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(209, 56, true); WriteLiteral("\r\n <span class=\"sampleName\">GroupButtons / RTL</span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(293, 166, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\">\r\n <table>\r\n <tr>\r\n <td class=\"btnsht\">\r\n "); EndContext(); BeginContext(459, 232, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1730352aedeb44f9a9b4cdde5d4bad41", 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); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Large; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.ContentType = ContentType.TextAndImage; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("content-type", __Syncfusion_JavaScript_Models_ButtonProperties.ContentType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.ImagePosition = ImagePosition.ImageLeft; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("image-position", __Syncfusion_JavaScript_Models_ButtonProperties.ImagePosition, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.PrefixIcon = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.EnableRTL = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-rtl", __Syncfusion_JavaScript_Models_ButtonProperties.EnableRTL, 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(691, 246, true); WriteLiteral("\r\n\r\n </td>\r\n <td class=\"btnsht brtl\">\r\n Button\r\n </td>\r\n </tr>\r\n <tr>\r\n <td class=\"btnsht\">\r\n "); EndContext(); BeginContext(937, 265, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "7537bbe7cb1c471db5cf3fea9bd8115f", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_ToggleButtonProperties.Size = ButtonSize.Large; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ToggleButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_ToggleButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_ToggleButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_ToggleButtonProperties.ContentType = ContentType.TextAndImage; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("content-type", __Syncfusion_JavaScript_Models_ToggleButtonProperties.ContentType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultPrefixIcon = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActivePrefixIcon = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_ToggleButtonProperties.EnableRTL = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-rtl", __Syncfusion_JavaScript_Models_ToggleButtonProperties.EnableRTL, 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(1202, 253, true); WriteLiteral("\r\n\r\n </td>\r\n <td class=\"btnsht brtl\">\r\n Toggle Button\r\n </td>\r\n </tr>\r\n <tr>\r\n <td class=\"btnsht\">\r\n "); EndContext(); BeginContext(1455, 263, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-split-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3acfe9cc526841028f096eed1008abc9", async() => { } ); __Syncfusion_JavaScript_Models_SplitButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SplitButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SplitButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_SplitButtonProperties.Text = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_SplitButtonProperties.Size = ButtonSize.Large; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_SplitButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_SplitButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_SplitButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_SplitButtonProperties.ContentType = ContentType.TextAndImage; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("content-type", __Syncfusion_JavaScript_Models_SplitButtonProperties.ContentType, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_SplitButtonProperties.ImagePosition = ImagePosition.ImageLeft; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("image-position", __Syncfusion_JavaScript_Models_SplitButtonProperties.ImagePosition, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_SplitButtonProperties.PrefixIcon = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_SplitButtonProperties.TargetID = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_SplitButtonProperties.EnableRTL = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-rtl", __Syncfusion_JavaScript_Models_SplitButtonProperties.EnableRTL, 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(1718, 508, true); WriteLiteral(@" </td> <td class=""splttd btnsht brtl""> Split Button <ul id=""adminmenu""> <li><span>Pause</span></li> <li><span>Next</span></li> <li><span>Previous</span></li> </ul> </td> </tr> <tr> <td class=""btnsht""> "); EndContext(); BeginContext(2226, 564, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-group-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d586c3d587f14f55b1ab81f3750f52e6", async() => { BeginContext(2369, 30, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2399, 347, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "61377094fa3e42448acced252e91ff60", async() => { BeginContext(2422, 34, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2456, 55, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e01f067fdc2349d18d1a2fa42cdc04e3", async() => { } ); __Syncfusion_JavaScript_Models_GroupButtonBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonBaseItem>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonBaseItem); __Syncfusion_JavaScript_Models_GroupButtonBaseItem.Text = (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(2511, 34, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2545, 55, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5cf110da6ba24528ad94cf09aded7172", async() => { } ); __Syncfusion_JavaScript_Models_GroupButtonBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonBaseItem>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonBaseItem); __Syncfusion_JavaScript_Models_GroupButtonBaseItem.Text = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2600, 34, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2634, 59, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a99ff1f56eab446f8af684fc6cf216b1", async() => { } ); __Syncfusion_JavaScript_Models_GroupButtonBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonBaseItem>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonBaseItem); __Syncfusion_JavaScript_Models_GroupButtonBaseItem.Text = (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(2693, 30, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_GroupButtonBase = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonBase>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonBase); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2746, 26, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_GroupButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_GroupButtonProperties.Width = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); #line 44 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_GroupButtonProperties.GroupButtonMode = GroupButtonMode.RadioButton; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("group-button-mode", __Syncfusion_JavaScript_Models_GroupButtonProperties.GroupButtonMode, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 44 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_GroupButtonProperties.ShowRoundedCorner = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-rounded-corner", __Syncfusion_JavaScript_Models_GroupButtonProperties.ShowRoundedCorner, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 44 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\rtl.cshtml" __Syncfusion_JavaScript_Models_GroupButtonProperties.EnableRTL = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-rtl", __Syncfusion_JavaScript_Models_GroupButtonProperties.EnableRTL, 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(2790, 213, true); WriteLiteral("\r\n </td>\r\n <td class=\"btnsht brtl\">\r\n Group Button\r\n </td>\r\n </tr>\r\n </table>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3028, 145, true); WriteLiteral("\r\n <style>\r\n .frame {\r\n width: 35%;\r\n }\r\n\r\n .brtl {\r\n text-align: right;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 52, true); WriteLiteral("\r\n <span class=\"sampleName\">Excel Export</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(129, 132, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how the ASP.NET Core Scheduler exports appointments to an Excel file.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(289, 15, true); WriteLiteral("\r\n <div>\r\n\t\t"); EndContext(); BeginContext(304, 87, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "049e854b5de3430387cc3eebcf8a69d4", 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.Height = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(391, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(401, 364, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1125b00d7faf4a15abbe429b8dd8f8dd", async() => { BeginContext(497, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(511, 230, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7c2d056f94144eaba5bb3dca3c30017a", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, 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(741, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, 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(765, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); BeginContext(782, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(807, 363, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#Schedule1"").find(""tr.e-scheduleheader td"").first().append($(""#btnExport"")); }); function onExportClick(args) { var proxy = $(""#Schedule1"").data(""ejSchedule""); proxy.exportToExcel(""ExportAsExcel"", null, false); } </script> "); EndContext(); } ); BeginContext(1173, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("StyleSection", async() => { BeginContext(1197, 169, true); WriteLiteral("\r\n <style type=\"text/css\">\r\n .e-schedule #btnExport {\r\n position: absolute;\r\n left: 49%;\r\n top: 2%;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("ScriptReferenceSection", async() => { BeginContext(32, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 45, "\"", 109, 1); #line 2 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RTE\Methods.cshtml" WriteAttributeValue("", 51, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 51, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(110, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(148, 84, true); WriteLiteral("<span class=\"sampleName\">Essential Studio for JavaScript : RTE\r\n / Methods</span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(260, 5, true); WriteLiteral("\r\n "); EndContext(); BeginContext(265, 1542, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rte", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8b3c4b6747334f77872bd3da85a097d6", async() => { BeginContext(352, 9, true); WriteLiteral("\r\n "); EndContext(); BeginContext(361, 1431, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6e58af77e28a43b3ab907cc11dd8dbc8", async() => { BeginContext(381, 1390, true); WriteLiteral(@" <div> <p><b>Description:</b></p> <p>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. </p> <p><b>Functional Specifications/Requirements:</b></p> <ol><li><p>Provide the tool bar support, it’s also customizable.</p></li><li><p>Options to get the HTML elements with styles.</p></li><li><p>Support to insert image from a defined path.</p></li><li><p>Footer elements and styles(tag / Element information , Actio"); WriteLiteral(@"n button (Upload, Cancel))</p></li><li><p>Re-size the editor support. </p></li><li><p>Provide efficient public methods and client side events.</p></li><li><p>Keyboard navigation support.</p></li></ol> </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(1792, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_RTEproperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RTEproperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RTEproperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_RTEproperties.Width = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_RTEproperties.Height = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RTE\Methods.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_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1807, 8, true); WriteLiteral("\r\n \r\n"); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(1845, 144, true); WriteLiteral("\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Get Html Text\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(1989, 83, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c46113caee754b8ca4017aa70c58e2b8", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(2072, 168, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Get Text\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(2240, 74, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "13e78bb1eb9c448a9d7b395c363cde05", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(2314, 172, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Execute Bold\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(2486, 76, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "dafe5ff0c0834709846d4a1b01819d88", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(2562, 174, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Command Status\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(2736, 85, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e608d796f2434fa0a1cdaea800a4a5cf", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(2821, 149, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n\r\n<div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Select all \r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(2970, 80, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ded0a7b5f846437da1261656a6df2746", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(3050, 140, true); WriteLiteral(" \r\n </div>\r\n</div>\r\n<div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Select Range\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(3190, 86, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1ec5732fc54e4190bfab86dc1c98b1e6", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_20); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_21.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(3276, 141, true); WriteLiteral(" \r\n </div>\r\n</div>\r\n<div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Paste Content\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(3417, 82, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e00ac0cc2ecf49268d3b8ad0fc9c27fb", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_23); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_24.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_24); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_25.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_25); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3499, 143, true); WriteLiteral(" \r\n </div>\r\n</div>\r\n<div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Destroy/Restore\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(3642, 103, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a4ff1deba9cc449e8d989c7e031723ad", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_26); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_27.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_27); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_28.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_28); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_29.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_29); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3745, 23, true); WriteLiteral(" \r\n </div>\r\n</div>\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(3794, 1895, true); WriteLiteral(@" <script> var rte; $(function () { rte = $(""#rteSample"").data(""ejRTE""); }); function ongetHtmlString() { if (rte) alert(rte.getHtml()); } function ongetText() { if (rte) alert(rte.getText()); } function onexec() { if (rte) rte.executeCommand(""bold"", true); } function oncmdStatus() { alert(rte.getCommandStatus(""bold"")); } function onSelectAll() { if(!ej.isNullOrUndefined(rte)) rte.selectAll(); } function onSeletcRange() { if(!ej.isNullOrUndefined(rte)){ var range = rte.createRange(); var liTag = rte.getDocument().getElementsByTagName(""li""); if (!rte._isIE8()) { range.setStart(liTag[2], 1); range.setEnd(liTag[4], 0); } else { range = rt"); WriteLiteral(@"e.getDocument().body.createTextRange() range.moveToElementText(liTag[3]); } rte.selectRange(range); } } function onPasteContent() { if(!ej.isNullOrUndefined(rte)){ select = rte.getSelectedHtml(); rte.pasteContent(""<p style='background-color:yellow;color:skyblue'> "" + select + "" </p>""); } } function onDestroyRestore(args) { if (args.isChecked) { rte.destroy(); rte = null; } else { $(""#rteSample"").ejRTE({ width: ""100%"", height: ""350"", minWidth: ""20px"",isResponsive:true }); rte = $(""#rteSample"").data(""ejRTE""); } } $(document).ready(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); </script> "); 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("SampleHeading", async() => { BeginContext(23, 60, true); WriteLiteral("\r\n <span class=\"sampleName\">Dropdownlist / Methods</span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(111, 70, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\">\r\n "); EndContext(); BeginContext(181, 245, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "aa789899acb84d589eeabe458487beae", async() => { BeginContext(314, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(332, 60, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-drop-down-list-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "dc76338cd0e64b43a50a5ef58e7444e1", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListFields); __Syncfusion_JavaScript_Models_DropDownListFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_DropDownListFields.Value = (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(392, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dropdownlist\Methods.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = (IEnumerable <Books>)ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.WatermarkText = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (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(426, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(486, 154, true); WriteLiteral("\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Select an item by index\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(640, 260, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "098116dcc20c46958adfa6b89a6660de", async() => { BeginContext(801, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(819, 47, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-drop-down-list-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "7dbbd39375e341bea4c664cf8b24a179", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListFields); __Syncfusion_JavaScript_Models_DropDownListFields.Text = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_DropDownListFields.Id = (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(866, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dropdownlist\Methods.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = (IEnumerable <Books>)ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_DropDownListProperties.WatermarkText = (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(900, 147, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\">\r\n Select an item by value\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(1047, 273, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d7d9944a51fe4f67acde082b37fa159e", async() => { BeginContext(1208, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1226, 60, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-drop-down-list-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b34c9689899347efbf6f08a1f5c00c06", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListFields); __Syncfusion_JavaScript_Models_DropDownListFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_DropDownListFields.Value = (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(1286, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dropdownlist\Methods.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = (IEnumerable <Books>)ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_DropDownListProperties.WatermarkText = (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(1320, 181, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Select an item by text\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(1501, 271, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cb0e91215d7b452593fd9dcd937d26b6", async() => { BeginContext(1660, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1678, 60, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-drop-down-list-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "cc1cf0340cf34904a0c68e9ff3f9b004", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListFields); __Syncfusion_JavaScript_Models_DropDownListFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_DropDownListFields.Value = (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(1738, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 36 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Dropdownlist\Methods.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = (IEnumerable <Books>)ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_DropDownListProperties.WatermarkText = (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(1772, 137, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\">\r\n TextBox Value\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(1909, 69, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3ba5085ee8d34209b6b3d542f59c589b", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(1978, 173, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Disable\\Enable\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(2151, 124, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c22b3e9de82845149b83a465638897db", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_18); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_19.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_21.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2275, 137, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\">\r\n Filter Search\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(2412, 128, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3bb59a5d774d41d79caacb978d155026", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_22); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_19.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (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(2540, 145, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-3\">\r\n Case-Sensitive Search\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(2685, 132, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "27363f67e3b548aaa303552e54e679cd", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_24); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_19.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_25.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_25); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2817, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(2873, 1873, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); var target; function onActiveIndexChange(args) { target = $('#bokSelect').data(""ejDropDownList""); $(""#optionValueChange"").ejDropDownList(""clearText""); $(""#optionTextChange"").ejDropDownList(""clearText""); target.option({ selectedIndex: args.itemId }); } function onActiveValueChange(args) { target = $('#bokSelect').data(""ejDropDownList""); $(""#optionIndexChange"").ejDropDownList(""clearText""); $(""#optionTextChange"").ejDropDownList(""clearText""); target.selectItemByValue(args.selectedValue); } function onActiveTextChange(args) { target = $('#bokSelect').data(""ejDropDownList""); $(""#optionIndexChange"").ejDropDownList(""clearText""); $(""#optionValueChange"").ejDropDownList(""clearText""); "); WriteLiteral(@" target.selectItemByText(args.selectedValue); } function onCheckUncheckAll(args) { target = $('#bokSelect').data(""ejDropDownList""); (args.isChecked) ? target.disable() : target.enable(); } function incrementalchange(args) { target = $('#bokSelect').data(""ejDropDownList""); (args.isChecked) ? target.option(""enableFilterSearch"", true) : target.option(""enableFilterSearch"", false); } function casesensitivechange(args) { target = $('#bokSelect').data(""ejDropDownList""); (args.isChecked) ? target.option(""caseSensitiveSearch"", true) : target.option(""caseSensitiveSearch"", false); } function valuetext(e, ui) { alert(""Selected Item is "" + target.getValue()); } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("ScriptReferenceSection", async() => { BeginContext(32, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 45, "\"", 109, 1); #line 2 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" WriteAttributeValue("", 51, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 51, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(110, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(148, 49, true); WriteLiteral("<span class=\"sampleName\">Editor / Methods</span> "); EndContext(); } ); BeginContext(200, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(227, 222, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"row\">\r\n <div class=\"column\">\r\n <span>Numeric TextBox</span>\r\n </div>\r\n <div class=\"column\">\r\n \r\n "); EndContext(); BeginContext(449, 61, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-numeric-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "efacb7d7326a4ccd8bef1c96e9116aa9", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.Value = 1000; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_EditorProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.Width = (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(510, 236, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"column\">\r\n <span>Percentage Textbox</span>\r\n </div>\r\n <div class=\"column\">\r\n \r\n "); EndContext(); BeginContext(746, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-percentage-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "b67a94b7ad7249919f81b8b6ccb2c166", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.Value = 100; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_EditorProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.Width = (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(808, 245, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"column\">\r\n <span>Currency Textbox</span>\r\n </div>\r\n <div class=\"column\">\r\n \r\n "); EndContext(); BeginContext(1053, 61, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-currency-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "450008858a354c8795aa0cab2ed9f519", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); #line 32 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.Value = 50; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_EditorProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.Width = (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(1114, 239, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"column\">\r\n <span>Mask Edit</span>\r\n </div>\r\n <div class=\"column\">\r\n \r\n "); EndContext(); BeginContext(1353, 152, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-mask-edit", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4af0bdac84a345cf8d4d6345f8be059b", async() => { } ); __Syncfusion_JavaScript_Models_MaskEditProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.MaskEditProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MaskEditProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); #line 41 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_MaskEditProperties.InputMode = InputMode.Text; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("input-mode", __Syncfusion_JavaScript_Models_MaskEditProperties.InputMode, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_MaskEditProperties.MaskFormat = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_MaskEditProperties.CustomCharacter = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_MaskEditProperties.WatermarkText = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_MaskEditProperties.Width = (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(1505, 54, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n\r\n"); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(1589, 179, true); WriteLiteral("\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">\r\n Enable / Disable\r\n </div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n \r\n "); EndContext(); BeginContext(1768, 109, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "5715bae1c417420a903edc64fbb3a2ed", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ToggleButtonProperties.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(1877, 204, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">\r\n IncrementStep\r\n </div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n \r\n "); EndContext(); BeginContext(2081, 111, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-numeric-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1cb4ee0504274406b2a8f05f41528f31", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_EditorProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 63 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-spin-button", __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.WatermarkText = (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(2192, 200, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">\r\n Min Value\r\n </div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n \r\n "); EndContext(); BeginContext(2392, 102, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-numeric-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1b581b7bc1034383a74a760b12e46ffe", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_EditorProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 72 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-spin-button", __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.WatermarkText = (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(2494, 188, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">\r\n Max Value\r\n </div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n\r\n "); EndContext(); BeginContext(2682, 102, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-numeric-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3cd61abe5b0943319936a12bcc90e9a0", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_EditorProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 81 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-spin-button", __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.WatermarkText = (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(2784, 222, true); WriteLiteral("\r\n \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">\r\n Decimal Value\r\n </div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n \r\n "); EndContext(); BeginContext(3006, 110, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-numeric-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4a36e488feab4f358b9ed0a70dfbd9a7", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_19); __Syncfusion_JavaScript_Models_EditorProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 91 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-spin-button", __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.WatermarkText = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3116, 211, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">\r\n Apply Values\r\n </div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n \r\n "); EndContext(); BeginContext(3327, 100, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "eb7de7399086488e977f527809c0e690", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_21); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_22.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_22); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 100 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.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); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(3427, 414, true); WriteLiteral(@" </div> </div> <div class=""row""> <span id=""error"" style=""color: red""></span> </div> <div class=""row""> <div class=""col-md-3 col-xs-4""> <b>MaskEdit:</b> </div> </div> <div class=""row""> <div class=""col-md-3 col-xs-4""> Mask </div> <div class=""col-md-3 col-xs-4""> "); EndContext(); BeginContext(3841, 227, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f30f5ac653d34da28c541e70614d3c52", async() => { BeginContext(3963, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(3981, 52, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-drop-down-list-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "844d65852b0e4a9a9b6b934fd74748a7", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListFields); __Syncfusion_JavaScript_Models_DropDownListFields.Text = (string)__tagHelperAttribute_24.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_24); __Syncfusion_JavaScript_Models_DropDownListFields.Value = (string)__tagHelperAttribute_25.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_25); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4033, 15, true); WriteLiteral(" \r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_26); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("dataSource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 0; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_27.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_27); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4068, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(4101, 2928, true); WriteLiteral(@" <script> var numobject, percentobject, currencyobject, maskobject; $(function () { objectcreation(); $(""#sampleProperties"").ejPropertiesPanel(); }); function objectcreation() { numobject = $(""#numeric"").data(""ejNumericTextbox""); percentobject = $(""#percent"").data(""ejPercentageTextbox""); currencyobject = $(""#currency"").data(""ejCurrencyTextbox""); maskobject = $(""#maskedit"").data(""ejMaskEdit""); } function changeState(args) { objectcreation(); if (args.isChecked) { numobject.disable(); percentobject.disable(); currencyobject.disable(); maskobject.disable(); $(""#incrementStep"").ejNumericTextbox(""disable""); $(""#minValue"").ejNumericTextbox(""disable""); $(""#maxValue"").ejNumericTextbox(""disable""); $(""#decimalValue"").ejNumericTextbox(""disable""); } else { numobject.enable(); "); WriteLiteral(@" percentobject.enable(); currencyobject.enable(); maskobject.enable(); $(""#incrementStep"").ejNumericTextbox(""enable""); $(""#minValue"").ejNumericTextbox(""enable""); $(""#maxValue"").ejNumericTextbox(""enable""); $(""#decimalValue"").ejNumericTextbox(""enable""); } } function applyChanges(args) { objectcreation(); var val = parseFloat($(""#incrementStep"").val()); var minVal = parseFloat($(""#minValue"").val()); var maxVal = parseFloat($(""#maxValue"").val()); var decVal = parseInt($(""#decimalValue"").val()); if (!isNaN(val)) { numobject.option(""incrementStep"", val); percentobject.option(""incrementStep"", val); currencyobject.option(""incrementStep"", val); } if (!isNaN(decVal)) { numobject.option(""decimalPlaces"", decVal); percentobject.option(""decimalPlaces"", decVal); currencyobje"); WriteLiteral(@"ct.option(""decimalPlaces"", decVal); } if ((!isNaN(minVal)) && (!isNaN(maxVal)) && (maxVal < minVal)) $(""#error"").html(""Min value exceeds Max value""); else { if (!isNaN(minVal)) { numobject.option(""minValue"", minVal); percentobject.option(""minValue"", minVal); currencyobject.option(""minValue"", minVal); $(""#error"").html(""""); } if (!isNaN(maxVal)) { numobject.option(""maxValue"", maxVal); percentobject.option(""maxValue"", maxVal); currencyobject.option(""maxValue"", maxVal); $(""#error"").html(""""); } } } function onMaskChange(args) { objectcreation(); maskobject.option(""maskFormat"", args.value); } </script> "); EndContext(); DefineSection("StyleSection", async() => { BeginContext(7051, 435, true); WriteLiteral(@" <style type=""text/css"" class=""cssStyles""> .frame { width: 38%; padding: 30px; } .input { width: 110px; height: 22px; text-indent: 10px; } .inputBtn, .e-togglebutton { width: 114px; } .column { padding-bottom: 5px; padding-top: 5px; } </style> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("ScriptReferenceSection", async() => { BeginContext(32, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 45, "\"", 109, 1); #line 2 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" WriteAttributeValue("", 51, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 51, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(110, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(148, 49, true); WriteLiteral("<span class=\"sampleName\">Editor / Methods</span> "); EndContext(); } ); BeginContext(200, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(227, 222, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"row\">\r\n <div class=\"column\">\r\n <span>Numeric TextBox</span>\r\n </div>\r\n <div class=\"column\">\r\n \r\n "); EndContext(); BeginContext(449, 61, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-numeric-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "15ab40e8bc0d4854b035059fbbeead04", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.Value = 1000; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_EditorProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.Width = (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(510, 236, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"column\">\r\n <span>Percentage Textbox</span>\r\n </div>\r\n <div class=\"column\">\r\n \r\n "); EndContext(); BeginContext(746, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-percentage-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "45cd21ebedc24b0c8e4906bb9c0a464b", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.Value = 100; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_EditorProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.Width = (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(808, 245, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"column\">\r\n <span>Currency Textbox</span>\r\n </div>\r\n <div class=\"column\">\r\n \r\n "); EndContext(); BeginContext(1053, 61, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-currency-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4ff97193e7a34e8890c81bb44484224d", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); #line 32 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.Value = 50; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_EditorProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.Width = (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(1114, 239, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"column\">\r\n <span>Mask Edit</span>\r\n </div>\r\n <div class=\"column\">\r\n \r\n "); EndContext(); BeginContext(1353, 152, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-mask-edit", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3f5bb69e4bac475bad883a8d9576339d", async() => { } ); __Syncfusion_JavaScript_Models_MaskEditProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.MaskEditProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MaskEditProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); #line 41 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_MaskEditProperties.InputMode = InputMode.Text; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("input-mode", __Syncfusion_JavaScript_Models_MaskEditProperties.InputMode, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_MaskEditProperties.MaskFormat = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_MaskEditProperties.CustomCharacter = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_MaskEditProperties.WatermarkText = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_MaskEditProperties.Width = (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(1505, 54, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n\r\n"); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(1589, 179, true); WriteLiteral("\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">\r\n Enable / Disable\r\n </div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n \r\n "); EndContext(); BeginContext(1768, 109, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1bd0aaae98ae4c79ba0029e0edef24be", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ToggleButtonProperties.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(1877, 204, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">\r\n IncrementStep\r\n </div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n \r\n "); EndContext(); BeginContext(2081, 111, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-numeric-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b98fac529ebd461aa068778ac593f7cd", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_EditorProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 63 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-spin-button", __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.WatermarkText = (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(2192, 200, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">\r\n Min Value\r\n </div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n \r\n "); EndContext(); BeginContext(2392, 102, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-numeric-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "0b6ed36331c74c80983bad14a42c6a6d", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_EditorProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 72 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-spin-button", __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.WatermarkText = (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(2494, 188, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">\r\n Max Value\r\n </div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n\r\n "); EndContext(); BeginContext(2682, 102, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-numeric-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "69b41d2517ac43e1be1570006b3fc64c", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_17); __Syncfusion_JavaScript_Models_EditorProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 81 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-spin-button", __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.WatermarkText = (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(2784, 222, true); WriteLiteral("\r\n \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">\r\n Decimal Value\r\n </div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n \r\n "); EndContext(); BeginContext(3006, 110, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-numeric-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "da40f24cddd74f41b18ab37d0bcf36d3", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_19); __Syncfusion_JavaScript_Models_EditorProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 91 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-spin-button", __Syncfusion_JavaScript_Models_EditorProperties.ShowSpinButton, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.WatermarkText = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3116, 211, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3 col-xs-4\">\r\n Apply Values\r\n </div>\r\n <div class=\"col-md-3 col-xs-4\">\r\n \r\n "); EndContext(); BeginContext(3327, 100, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c88f8e78906846a89737dbe29b5eae1b", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_21); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_22.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_22); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 100 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.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); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(3427, 414, true); WriteLiteral(@" </div> </div> <div class=""row""> <span id=""error"" style=""color: red""></span> </div> <div class=""row""> <div class=""col-md-3 col-xs-4""> <b>MaskEdit:</b> </div> </div> <div class=""row""> <div class=""col-md-3 col-xs-4""> Mask </div> <div class=""col-md-3 col-xs-4""> "); EndContext(); BeginContext(3841, 227, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "357e26bbcc4746dcb74145d882df8556", async() => { BeginContext(3963, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(3981, 52, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-drop-down-list-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "63696d43ca9245c395c8314b38a471b2", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListFields); __Syncfusion_JavaScript_Models_DropDownListFields.Text = (string)__tagHelperAttribute_24.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_24); __Syncfusion_JavaScript_Models_DropDownListFields.Value = (string)__tagHelperAttribute_25.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_25); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4033, 15, true); WriteLiteral(" \r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_26); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("dataSource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 119 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Editor\Methods.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 0; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_27.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_27); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4068, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(4101, 2928, true); WriteLiteral(@" <script> var numobject, percentobject, currencyobject, maskobject; $(function () { objectcreation(); $(""#sampleProperties"").ejPropertiesPanel(); }); function objectcreation() { numobject = $(""#numeric"").data(""ejNumericTextbox""); percentobject = $(""#percent"").data(""ejPercentageTextbox""); currencyobject = $(""#currency"").data(""ejCurrencyTextbox""); maskobject = $(""#maskedit"").data(""ejMaskEdit""); } function changeState(args) { objectcreation(); if (args.isChecked) { numobject.disable(); percentobject.disable(); currencyobject.disable(); maskobject.disable(); $(""#incrementStep"").ejNumericTextbox(""disable""); $(""#minValue"").ejNumericTextbox(""disable""); $(""#maxValue"").ejNumericTextbox(""disable""); $(""#decimalValue"").ejNumericTextbox(""disable""); } else { numobject.enable(); "); WriteLiteral(@" percentobject.enable(); currencyobject.enable(); maskobject.enable(); $(""#incrementStep"").ejNumericTextbox(""enable""); $(""#minValue"").ejNumericTextbox(""enable""); $(""#maxValue"").ejNumericTextbox(""enable""); $(""#decimalValue"").ejNumericTextbox(""enable""); } } function applyChanges(args) { objectcreation(); var val = parseFloat($(""#incrementStep"").val()); var minVal = parseFloat($(""#minValue"").val()); var maxVal = parseFloat($(""#maxValue"").val()); var decVal = parseInt($(""#decimalValue"").val()); if (!isNaN(val)) { numobject.option(""incrementStep"", val); percentobject.option(""incrementStep"", val); currencyobject.option(""incrementStep"", val); } if (!isNaN(decVal)) { numobject.option(""decimalPlaces"", decVal); percentobject.option(""decimalPlaces"", decVal); currencyobje"); WriteLiteral(@"ct.option(""decimalPlaces"", decVal); } if ((!isNaN(minVal)) && (!isNaN(maxVal)) && (maxVal < minVal)) $(""#error"").html(""Min value exceeds Max value""); else { if (!isNaN(minVal)) { numobject.option(""minValue"", minVal); percentobject.option(""minValue"", minVal); currencyobject.option(""minValue"", minVal); $(""#error"").html(""""); } if (!isNaN(maxVal)) { numobject.option(""maxValue"", maxVal); percentobject.option(""maxValue"", maxVal); currencyobject.option(""maxValue"", maxVal); $(""#error"").html(""""); } } } function onMaskChange(args) { objectcreation(); maskobject.option(""maskFormat"", args.value); } </script> "); EndContext(); DefineSection("StyleSection", async() => { BeginContext(7051, 435, true); WriteLiteral(@" <style type=""text/css"" class=""cssStyles""> .frame { width: 38%; padding: 30px; } .input { width: 110px; height: 22px; text-indent: 10px; } .inputBtn, .e-togglebutton { width: 114px; } .column { padding-bottom: 5px; padding-top: 5px; } </style> "); 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 / 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, 55, true); WriteLiteral("\r\n <span class=\"sampleName\">ListBox / Methods</span>"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(99, 186, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates how to enable or disable, add or remove, and select or unselect the Syncfusion ASP.NET Core ListBox component items.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(313, 120, true); WriteLiteral("\r\n <div class=\"control frame\">\r\n <div class=\"ctrllabel\">\r\n Select a skill\r\n </div>\r\n "); EndContext(); BeginContext(433, 175, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-list-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3c1086147d08490c9b9fc6efdf1066a1", async() => { BeginContext(524, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(538, 46, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-list-box-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "0f6e080893724e57b7acbe39154b8e8e", async() => { } ); __Syncfusion_JavaScript_Models_ListBoxFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListBoxFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListBoxFields); __Syncfusion_JavaScript_Models_ListBoxFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ListBoxFields.Value = (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(584, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ListBoxProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ListBoxProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ListBoxProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListBox\Methods.cshtml" __Syncfusion_JavaScript_Models_ListBoxProperties.DataSource = ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ListBoxProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListBox\Methods.cshtml" __Syncfusion_JavaScript_Models_ListBoxProperties.AllowMultiSelection = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-multi-selection", __Syncfusion_JavaScript_Models_ListBoxProperties.AllowMultiSelection, 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(608, 22, true); WriteLiteral(" \r\n </div>\r\n"); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(660, 125, true); WriteLiteral("\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">Enable/Disable All</div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(785, 118, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "70037ea8f0e14f838425a35960981005", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Click = (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(903, 158, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">Remove Item</div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(1061, 76, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "959e88f6ec114f149c30d02584b1a280", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __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(1137, 260, true); WriteLiteral(@" </div> </div> <div class=""row""> <div class=""col-md-3""> <input id=""additem"" style=""width: 95px"" class=""ejinputtext"" type=""text"" value=""Java"" /> </div> <div class=""col-md-3""> "); EndContext(); BeginContext(1397, 67, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ef5c26853b1944588068d6f732bcd068", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(1464, 263, true); WriteLiteral(@" </div> </div> <div class=""row""> <div class=""col-md-3""> <input id=""selects"" style=""width: 95px"" class=""ejinputtext"" type=""text"" value=""3,4"" /> </div> <div class=""col-md-3""> "); EndContext(); BeginContext(1727, 91, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "82267d0f3e65472eb29ad87f9ab59964", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (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(1818, 271, true); WriteLiteral(@" </div> </div> <br /> <div class=""row""> <div class=""col-md-3""> <input id=""unselects"" style=""width: 95px"" class=""ejinputtext"" type=""text"" value=""3,4"" /> </div> <div class=""col-md-3""> "); EndContext(); BeginContext(2089, 97, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "cd18bd5ed2414dc7ba9d78ff0dec42bd", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_18); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_19.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_20.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2186, 175, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n <br>\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">CheckBox Visibility</div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(2361, 133, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "701ba174e1474be6a54e7590471c6059", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_21); #line 62 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\ListBox\Methods.cshtml" __Syncfusion_JavaScript_Models_ToggleButtonProperties.Size = ButtonSize.Normal; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ToggleButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_22.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_22); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_23.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_23); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Click = (string)__tagHelperAttribute_24.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_24); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2494, 257, true); WriteLiteral(@" </div> </div> <div class=""row""> <div class=""col-md-3""> <input id=""checks"" style=""width: 95px"" class=""ejinputtext"" type=""text"" value=""3,4"" disabled /></div> <div class=""col-md-3""> "); EndContext(); BeginContext(2751, 84, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "bc6905f9315f4f969e281a2b1f954a77", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_25); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_26.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_26); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_27.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_27); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2835, 257, true); WriteLiteral(@" </div> </div> <br /> <div class=""row""> <div class=""col-md-3""> <input id=""unchecks"" style=""width: 95px"" class=""ejinputtext"" type=""text"" value=""3,4"" disabled /></div> <div class=""col-md-3""> "); EndContext(); BeginContext(3092, 90, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ee1241d26c5d480a8c2fbfc5808d2b4b", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_28); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_29.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_29); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_30.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_30); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3182, 247, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n <input id=\"disable\" style=\"width: 95px\" class=\"ejinputtext\" type=\"text\" value=\"2,4,6\" />\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(3429, 93, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "19e6042804ce4ee19fa142689b3c1010", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_31); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_32.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_32); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_33.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_33); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3522, 256, true); WriteLiteral(@" </div> </div> <br /> <div class=""row""> <div class=""col-md-3""> <input id=""enable"" style=""width: 95px"" class=""ejinputtext"" type=""text"" value=""2,4"" /> </div> <div class=""col-md-3""> "); EndContext(); BeginContext(3778, 90, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "71fe3d07b1b648798b0dedf227e09b53", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_34); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_35.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_35); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_36.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_36); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3868, 42, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(3936, 4043, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { ListboxObj = $('#SkillSelect').data(""ejListBox""); CheckedObj = $(""#Checks"").data(""ejButton""); UnCheckObj = $('#Unchecks').data(""ejButton""); $(""#sampleProperties"").ejPropertiesPanel(); if (!ListboxObj.option('showCheckbox')) { CheckedObj.disable(); UnCheckObj.disable(); } }); function add(e) { var target = $('#SkillSelect').data(""ejListBox""); var value = $(""#additem"").val() ; target.addItem(value); } function remove(e) { var target = $('#SkillSelect').data(""ejListBox""); target.removeSelectedItems(); } function onEnableDiasableAll(args) { var target = $('#SkillSelect').data(""ejListBox""); if (args.isChecked){ target.disable(); $("".ctrllabel"").css(""opacity"",0.5); } "); WriteLiteral(@" else{ target.enable(); $("".ctrllabel"").css(""opacity"",1); } } function selects(e) { var target = $('#SkillSelect').data(""ejListBox""); var value = $(""#selects"").val(); target.selectItemsByIndex(value); } function unselects(e) { var target = $('#SkillSelect').data(""ejListBox""); var value = $(""#unselects"").val(); target.unselectItemsByIndex(value); } function disable(e) { var target = $('#SkillSelect').data(""ejListBox""); var value = $(""#disable"").val(); if (value != """") target.disableItemsByIndices(value); else alert(""Please enter the item index""); } function enable(e) { var target = $('#SkillSelect').data(""ejListBox""); var value = $(""#enable"").val(); if (value != """") target.enableItemsByIndices(value); "); WriteLiteral(@" else alert(""Please enter the item index""); } function onShowHide(args) { ListboxObj = $('#SkillSelect').data(""ejListBox""); CheckedObj = $(""#Checks"").data(""ejButton""); UnCheckObj = $('#Unchecks').data(""ejButton""); SelectObj = $(""#selectitems"").data(""ejButton""); UnSelectObj = $('#unselectitems').data(""ejButton""); if (args.isChecked) { ListboxObj.option(""showCheckbox"", true); CheckedObj.enable(); UnCheckObj.enable(); SelectObj.disable(); UnSelectObj.disable(); $(""#unselects"").attr(""disabled"", ""true""); $(""#selects"").attr(""disabled"", ""true""); $(""#checks"").removeAttr(""disabled""); $(""#unchecks"").removeAttr(""disabled""); } else { ListboxObj.option(""showCheckbox"", false); CheckedObj.disable(); U"); WriteLiteral(@"nCheckObj.disable(); SelectObj.enable(); UnSelectObj.enable(); $(""#unselects"").removeAttr(""disabled""); $(""#selects"").removeAttr(""disabled""); $(""#checks"").attr(""disabled"", ""true""); $(""#unchecks"").attr(""disabled"", ""true""); } } function checks(e) { var target = $('#SkillSelect').data(""ejListBox""); value = $(""#checks"").val(); if (value != """") { target.checkItemsByIndices(value); } else alert(""Please enter the item index""); } function unchecks(e) { var target = $('#SkillSelect').data(""ejListBox""); value = $(""#unchecks"").val(); if (value != """") { target.uncheckItemsByIndices(value); } else alert(""Please enter the item index""); } </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(8004, 235, true); WriteLiteral("\r\n <style type=\"text/css\" class=\"cssStyles\">\r\n .ctrllabel {\r\n padding: 0px 0px 12px 3px;\r\n font-weight: 600;\r\n }\r\n\r\n .e-ddl-popup {\r\n margin: 0 auto;\r\n }\r\n\r\n </style>\r\n"); EndContext(); } ); }