#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, 213, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates the default functionalities of the GroupButton and its various property like height, width, showroundedcorner, groupbuttonmode in a ASP.NET Core\">\r\n"); EndContext(); } ); BeginContext(234, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(259, 60, true); WriteLiteral("\r\n <span class=\"sampleName\">Button / Group Buttons</span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(347, 58, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\">\r\n"); EndContext(); BeginContext(454, 51, true); WriteLiteral(" <div class=\"element\">\r\n "); EndContext(); BeginContext(505, 506, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-group-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a62685333e5f4aff92a177c56bbff339", async() => { BeginContext(643, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(665, 310, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b75a9b6e60284bc9b262ca88a691ce3b", async() => { BeginContext(687, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(713, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "88037527143f41fe917af437c054f03c", async() => { } ); __Syncfusion_JavaScript_Models_GroupButtonBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonBaseItem>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonBaseItem); __Syncfusion_JavaScript_Models_GroupButtonBaseItem.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(767, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(793, 55, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5b3cbc54715d44058f3758afeec6ad30", 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(848, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(874, 56, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "95be68f6bea64c409f4ae5c8dcb36cfc", async() => { } ); __Syncfusion_JavaScript_Models_GroupButtonBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonBaseItem>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonBaseItem); __Syncfusion_JavaScript_Models_GroupButtonBaseItem.Text = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(930, 22, 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(975, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_GroupButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_GroupButtonProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\groupbuttons.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_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\groupbuttons.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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1011, 50, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(1064, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("StyleSection", async() => { BeginContext(1088, 273, true); WriteLiteral(@" <style> .frame, .control { width: 50%; } .frame .control, label { display: table; margin: 0 auto; } .element { width: 100%; } </style> "); 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() { DefineSection("MetaTags", async() => { BeginContext(18, 213, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates the default functionalities of the GroupButton and its various property like height, width, showroundedcorner, groupbuttonmode in a ASP.NET Core\">\r\n"); EndContext(); } ); BeginContext(234, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(259, 60, true); WriteLiteral("\r\n <span class=\"sampleName\">Button / Group Buttons</span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(347, 58, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\">\r\n"); EndContext(); BeginContext(454, 51, true); WriteLiteral(" <div class=\"element\">\r\n "); EndContext(); BeginContext(505, 506, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-group-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fc66c81142ca4ecb832ae7673db58ac6", async() => { BeginContext(643, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(665, 310, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "de6088560d6f41a6b7d3ee0d83857dcc", async() => { BeginContext(687, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(713, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "786e1b66e5ac4cce8a85ead7e7c0b64e", async() => { } ); __Syncfusion_JavaScript_Models_GroupButtonBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonBaseItem>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonBaseItem); __Syncfusion_JavaScript_Models_GroupButtonBaseItem.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(767, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(793, 55, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "edf8910a69254332b4b60dd61de6a9a7", 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(848, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(874, 56, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group-button-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7ff35c7a450f45a7973ef1195ba917b7", async() => { } ); __Syncfusion_JavaScript_Models_GroupButtonBaseItem = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonBaseItem>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonBaseItem); __Syncfusion_JavaScript_Models_GroupButtonBaseItem.Text = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(930, 22, 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(975, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_GroupButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.GroupButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_GroupButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_GroupButtonProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\groupbuttons.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_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Button\groupbuttons.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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1011, 50, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(1064, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("StyleSection", async() => { BeginContext(1088, 273, true); WriteLiteral(@" <style> .frame, .control { width: 50%; } .frame .control, label { display: table; margin: 0 auto; } .element { width: 100%; } </style> "); 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, "284b6dcb13474f00b0d85858867e8606", 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, "039fe2b3519c4b30bf67c24c8bbbad20", 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, "56179d0279a3475c8318e6f4136840f3", 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, "de43e25fe114454d8e3292f14a4322b5", 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, "c5fb1ba1471d45ebb5761dcf6ea9c85c", 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, "1b28f3a415bd4e69848191e3bb269a83", 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, "3ac69b9ece8241d2a830a8564c2e24c0", 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, "7f97bea89a8c45b4a77d8a67df6c1745", 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() { 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, "552104c2ff664c7884d451a04c06bf6a", 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, "6ce508e007334cdfa548a72a7be3174e", 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, "bba130db96e7485790e8fcaf749aab55", 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, "20fbc27539aa4848aab7cfafeb49b135", 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, "5dd2d58109024fb1b697e5a477b1cf28", 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, "953285ce1e8b499bb290703ea24cede3", 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, "9ed7923abf7f483bb30078e1153bc8ca", 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, "81072d6a3bab40898a23e6f9d0ea7180", 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, "4420ce4b617f48438f66c51727598bd1", 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(); } ); }