#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(23, 71, true); WriteLiteral(" <span class=\"sampleName\">RadialSlider / Default Functionalities</span>"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(115, 193, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates how to select a value or range of values in a circular interface using the Syncfusion ASP.NET Core Radial slider component.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(336, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(338, 119, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radial-slider", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b85b36f4d05b4e99876e6e67b297fec7", async() => { } ); __Syncfusion_JavaScript_Models_RadialSliderProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadialSliderProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadialSliderProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); BeginWriteTagHelperAttribute(); #line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RadialSlider\Default.cshtml" WriteLiteral(Url.Content("~/images/radialslider/chevron-right.png")); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Syncfusion_JavaScript_Models_RadialSliderProperties.InnerCircleImageUrl = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("inner-circle-image-url", __Syncfusion_JavaScript_Models_RadialSliderProperties.InnerCircleImageUrl, 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(457, 6, true); WriteLiteral("\r\n "); EndContext(); } ); BeginContext(466, 116, true); WriteLiteral("<style>\r\n .cols-sample-area {\r\n overflow-x: auto;\r\n overflow-y: hidden; \r\n } \r\n</style>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(23, 71, true); WriteLiteral(" <span class=\"sampleName\">RadialSlider / Default Functionalities</span>"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(115, 194, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates how to change the stroke width, color, start angle, and ending angle of the Syncfusion ASP.NET Core Radial Slider component.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(337, 6, true); WriteLiteral(" \r\n"); EndContext(); BeginContext(343, 122, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-radial-slider", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "5625ff6bce1243a1b004291f095a09de", async() => { } ); __Syncfusion_JavaScript_Models_RadialSliderProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RadialSliderProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RadialSliderProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); BeginWriteTagHelperAttribute(); #line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RadialSlider\API.cshtml" WriteLiteral(Url.Content("~/images/radialslider/chevron-right.png")); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Syncfusion_JavaScript_Models_RadialSliderProperties.InnerCircleImageUrl = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("inner-circle-image-url", __Syncfusion_JavaScript_Models_RadialSliderProperties.InnerCircleImageUrl, 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(465, 6, true); WriteLiteral("\r\n "); EndContext(); } ); DefineSection("PropertiesSection", async() => { BeginContext(501, 343, true); WriteLiteral(@" <div class=""prop-grid""> <div class=""row-fluid""> <div class=""row""> <div class=""col-md-12"" style=""text-align: left""> Start Angle (0-360) </div> </div> </div> <div class=""row""> <div class=""col-md-3""> "); EndContext(); BeginContext(844, 143, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-slider", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "52dac52dc5e24c6db401ed386f3b1d11", async() => { } ); __Syncfusion_JavaScript_Models_SliderProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SliderProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SliderProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_SliderProperties.Height = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_SliderProperties.Width = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_SliderProperties.Value = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RadialSlider\API.cshtml" __Syncfusion_JavaScript_Models_SliderProperties.MinValue = 0; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("min-value", __Syncfusion_JavaScript_Models_SliderProperties.MinValue, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RadialSlider\API.cshtml" __Syncfusion_JavaScript_Models_SliderProperties.MaxValue = 360; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("max-value", __Syncfusion_JavaScript_Models_SliderProperties.MaxValue, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RadialSlider\API.cshtml" __Syncfusion_JavaScript_Models_SliderProperties.IncrementStep = 10; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("increment-step", __Syncfusion_JavaScript_Models_SliderProperties.IncrementStep, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_SliderProperties.Change = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(987, 368, true); WriteLiteral(@" </div> </div> <div class=""row-fluid""> <div class=""row""> <div class=""col-md-12"" style=""text-align: left""> End Angle (360-0) </div> </div> </div> <div class=""row""> <div class=""col-md-3""> "); EndContext(); BeginContext(1355, 140, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-slider", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ba1d72727111453b9b47cafb6d02db29", async() => { } ); __Syncfusion_JavaScript_Models_SliderProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.SliderProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SliderProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_SliderProperties.Height = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_SliderProperties.Width = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_SliderProperties.Value = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); #line 31 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RadialSlider\API.cshtml" __Syncfusion_JavaScript_Models_SliderProperties.MinValue = 360; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("min-value", __Syncfusion_JavaScript_Models_SliderProperties.MinValue, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 31 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RadialSlider\API.cshtml" __Syncfusion_JavaScript_Models_SliderProperties.MaxValue = 0; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("max-value", __Syncfusion_JavaScript_Models_SliderProperties.MaxValue, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 31 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RadialSlider\API.cshtml" __Syncfusion_JavaScript_Models_SliderProperties.IncrementStep = 10; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("increment-step", __Syncfusion_JavaScript_Models_SliderProperties.IncrementStep, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_SliderProperties.Change = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1495, 219, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Stroke width\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(1714, 123, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-numeric-text-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e212a5a7ae37460b8f9e52842184a2fa", async() => { } ); __Syncfusion_JavaScript_Models_EditorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.EditorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_EditorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_EditorProperties.Name = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); #line 39 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RadialSlider\API.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.MinValue = 1; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("min-value", __Syncfusion_JavaScript_Models_EditorProperties.MinValue, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 39 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RadialSlider\API.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.MaxValue = 10; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("max-value", __Syncfusion_JavaScript_Models_EditorProperties.MaxValue, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 39 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\RadialSlider\API.cshtml" __Syncfusion_JavaScript_Models_EditorProperties.Value = 2; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_EditorProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_EditorProperties.Width = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_EditorProperties.Change = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1837, 211, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Show\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(2048, 113, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "bc3ac0ce91ef433cb7f7148167998801", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Change = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2161, 66, true); WriteLiteral(" \r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(2230, 1356, true); WriteLiteral(@"<script> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function onStartchange(args) { var instance = $(""#apiradialSlider"").data(""ejRadialSlider""); var value1 = instance.model.endAngle; if (args.value > value1) alert(""Value must be less than end angle""); else $(""#apiradialSlider"").ejRadialSlider({ startAngle: args.value }) } function onEndchange(args) { var instance = $(""#apiradialSlider"").data(""ejRadialSlider""); var value2 = instance.model.startAngle; if (args.value < value2) alert(""Value must be greater than start angle""); else $(""#apiradialSlider"").ejRadialSlider({ endAngle: args.value }) } function onShowHideReset(args) { var roundUpp = args.isChecked ? false : true; $(""#apiradialSlider"").ejRadialSlider({ enableRoundOff: roundUpp }) } function valueChange(args) { if(!ej.isNullOrUndefined(arg"); WriteLiteral(@"s.value)) $(""#apiradialSlider"").ejRadialSlider({ strokeWidth: args.value }) } function radialshowChange(args) { $(""#apiradialSlider"").ejRadialSlider(args.isChecked ? ""hide"" : ""show""); } </script> <style> .cols-sample-area { overflow-x:auto; overflow-y: hidden; } </style>"); EndContext(); }