#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(23, 52, true); WriteLiteral("<span class=\"sampleName\">Rotator / LocalData </span>"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(96, 171, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates how to bind the local data source key value mapping in the Syncfusion ASP.NET Core Rotator component.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(295, 37, true); WriteLiteral("\r\n <div class=\"frame\">\r\n\r\n "); EndContext(); BeginContext(332, 193, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rotator", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6b0eda3110584c3ea3ed187534cb36b9", async() => { BeginContext(446, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(460, 42, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-rotator-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "62cefdf23449455c80b213b31d460515", async() => { } ); __Syncfusion_JavaScript_Models_RotatorFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.RotatorFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RotatorFields); __Syncfusion_JavaScript_Models_RotatorFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_RotatorFields.Url = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(502, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_RotatorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RotatorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RotatorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\LocalData.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.DataSource = ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_RotatorProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RotatorProperties.SlideWidth = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_RotatorProperties.SlideHeight = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\LocalData.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_RotatorProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(525, 23, true); WriteLiteral("\r\n \r\n </div>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(573, 246, true); WriteLiteral("\r\n <style type=\"text/css\" class=\"cssStyles\">\r\n .frame {\r\n width: 100%;\r\n box-sizing : border-box;\r\n }\r\n #rot > li img {\r\n width: 100%;\r\n height: 350px;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(23, 51, true); WriteLiteral("<span class=\"sampleName\">Rotator / Keyboard </span>"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(95, 174, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates how to access the Syncfusion ASP.NET Core Rotator component functionalities using keyboard interactions.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(297, 35, true); WriteLiteral("\r\n <div class=\"frame\">\r\n "); EndContext(); BeginContext(332, 301, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rotator", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d3f1c0204c7e48d4a453c969d5ad89b5", async() => { BeginContext(554, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(568, 42, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-rotator-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "24e7fca67edb45688b9ce7e38bcbe04c", async() => { } ); __Syncfusion_JavaScript_Models_RotatorFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.RotatorFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RotatorFields); __Syncfusion_JavaScript_Models_RotatorFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_RotatorFields.Url = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(610, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_RotatorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RotatorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RotatorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Keyboard.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.DataSource = ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_RotatorProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RotatorProperties.SlideWidth = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_RotatorProperties.SlideHeight = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Keyboard.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.ShowPager = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-pager", __Syncfusion_JavaScript_Models_RotatorProperties.ShowPager, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Keyboard.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.AllowKeyboardNavigation = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-keyboard-navigation", __Syncfusion_JavaScript_Models_RotatorProperties.AllowKeyboardNavigation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Keyboard.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.ShowPlayButton = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-play-button", __Syncfusion_JavaScript_Models_RotatorProperties.ShowPlayButton, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Keyboard.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.ShowThumbnail = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-thumbnail", __Syncfusion_JavaScript_Models_RotatorProperties.ShowThumbnail, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Keyboard.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_RotatorProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(633, 23, true); WriteLiteral("\r\n \r\n </div>\r\n"); EndContext(); } ); BeginContext(659, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(688, 1382, true); WriteLiteral(@" <div class=""row""> <div class=""col-md-3""> Alt + j </div> <div class=""col-md-3""> Focuses the control </div> </div> <div class=""row""> <div class=""col-md-3""> Up / Right </div> <div class=""col-md-3""> Move to next slide </div> </div> <div class=""row""> <div class=""col-md-3""> Down / Left </div> <div class=""col-md-3""> Move to previous slide </div> </div> <div class=""row""> <div class=""col-md-3""> Space </div> <div class=""col-md-3""> Play/Pause slide </div> </div> <div class=""row""> <div class=""col-md-3""> Alt+Right </div> <div class=""col-md-3""> Move thumbnail item to left and select item </div> </div> <br /> <div class=""row""> <div class=""col-md-3""> "); WriteLiteral(@" Alt+left </div> <div class=""col-md-3""> Move thumbnail item to right and select item </div> </div> <br /> <div class=""row""> <div class=""col-md-3""> Enter </div> <div class=""col-md-3""> Move to selected thumbnail item </div> </div> "); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(2096, 396, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { //Control focus key $(document).on(""keydown"", function (e) { if (e.altKey && e.keyCode === 74) { // j- key code. $(""#sliderContent"")[0].focus(); } }); $(""#sampleProperties"").ejPropertiesPanel(); }); </script> "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(2517, 263, true); WriteLiteral(@" <style type=""text/css"" class=""cssStyles""> .frame { width: 100%; box-sizing: border-box; } #sliderContent > li img { width: 100%; height: 350px; } </style> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(23, 49, true); WriteLiteral("<span class=\"sampleName\">Rotator / Events </span>"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(93, 200, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates client-side events and triggered events when particular operations are performed in the Syncfusion ASP.NET Core Rotator component.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(321, 35, true); WriteLiteral("\r\n <div class=\"frame\">\r\n "); EndContext(); BeginContext(356, 396, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rotator", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "145fc4832a9b4c9b802c71faa7950017", async() => { BeginContext(673, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(687, 42, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-rotator-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9f540057e74640f894f2ac25b2e5e410", async() => { } ); __Syncfusion_JavaScript_Models_RotatorFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.RotatorFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RotatorFields); __Syncfusion_JavaScript_Models_RotatorFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_RotatorFields.Url = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(729, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_RotatorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RotatorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RotatorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Events.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.DataSource = ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_RotatorProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Events.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.ShowPlayButton = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-play-button", __Syncfusion_JavaScript_Models_RotatorProperties.ShowPlayButton, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RotatorProperties.SlideWidth = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_RotatorProperties.SlideHeight = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Events.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_RotatorProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Events.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.ShowPager = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-pager", __Syncfusion_JavaScript_Models_RotatorProperties.ShowPager, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Events.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.ShowThumbnail = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-thumbnail", __Syncfusion_JavaScript_Models_RotatorProperties.ShowThumbnail, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RotatorProperties.Create = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_RotatorProperties.Change = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_RotatorProperties.PagerClick = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_RotatorProperties.Start = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_RotatorProperties.Stop = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_RotatorProperties.ThumbItemClick = (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(752, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); BeginContext(769, 182, true); WriteLiteral("<div id=\"target\">\r\n <ul>\r\n <li>start</li>\r\n <li>stop</li>\r\n <li>change</li>\r\n <li>pagerClick</li>\r\n <li>thumbItemClick</li>\r\n </ul>\r\n</div>\r\n"); EndContext(); DefineSection("EventsDropdown", async() => { BeginContext(975, 15, true); WriteLiteral("\r\n \r\n "); EndContext(); BeginContext(990, 152, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "afb3005c29ec471ebce878e059cf614c", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\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 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\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_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1142, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1170, 2091, true); WriteLiteral(@" <script type=""text/javascript""> function evtpropscheckedevent(args) { var slideObj = $(""#sliderContent"").data(""ejRotator""); if (args.isChecked) { switch (args.selectedText) { case ""create"": slideObj.option(args.selectedText, ""oncreate""); break; case ""start"": slideObj.option(args.selectedText, ""onstart""); break; case ""stop"": slideObj.option(args.selectedText, ""onstop""); break; case ""change"": slideObj.option(args.selectedText, ""onchange""); break; case ""pagerClick"": slideObj.option(args.selectedText, ""onpagerClick""); break; case ""thumbItemClick"": slideObj.option(args.selectedText, ""onThumbItemClick""); break; } } else slideObj.option(args.selectedText, null); } function oncreate(args) { jQuery.addEventLog(""Rotator control has been <span class='eventTitle'>cre"); WriteLiteral(@"ated</span>. <br/>""); } function onstart(args) { jQuery.addEventLog(""Autoplay has been <span class='eventTitle'>started</span> at index "" + args.activeItemIndex + "". <br/>""); } function onstop(args) { jQuery.addEventLog(""Autoplay has been <span class='eventTitle'>stopped</span> at index "" + args.activeItemIndex + "". <br/>""); } function onchange(args) { jQuery.addEventLog(""Slide index has been <span class='eventTitle'>changed</span> to "" + args.activeItemIndex + "". <br/>""); } function onpagerClick(args) { jQuery.addEventLog(""Pager has been <span class='eventTitle'>clicked </span> at index "" + args.activeItemIndex + "". <br/>""); } function onThumbItemClick(args) { jQuery.addEventLog(""Thumbnail Element has been <span class='eventTitle'>clicked</span> at index "" + args.activeItemIndex + "". <br/>""); } function onClear() { $(""#Event"); WriteLiteral("Log\").html(\"\");\r\n }\r\n </script>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(3286, 255, true); WriteLiteral("\r\n <style type=\"text/css\" class=\"cssStyles\">\r\n .frame {\r\n width:100%;\r\n box-sizing : border-box;\r\n }\r\n #sliderContent > li img {\r\n width: 100%;\r\n height: 350px;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(23, 52, true); WriteLiteral("<span class=\"sampleName\">Rotator - Thumbnail</span> "); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(96, 198, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates creating thumbnails using the Syncfusion ASP.NET Core Rotator component, and how to view or access any rotator slides instantly.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(322, 35, true); WriteLiteral("\r\n <div class=\"frame\">\r\n "); EndContext(); BeginContext(357, 282, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-rotator", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "870e95d7f00f42c0851a9ef9e1d9dd21", async() => { BeginContext(560, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(574, 42, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-rotator-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3ab51e5fdf114fe5b01d5ea5ec01af5c", async() => { } ); __Syncfusion_JavaScript_Models_RotatorFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.RotatorFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RotatorFields); __Syncfusion_JavaScript_Models_RotatorFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_RotatorFields.Url = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(616, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_RotatorProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.RotatorProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RotatorProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Thumbnail.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.DataSource = ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_RotatorProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_RotatorProperties.SlideHeight = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_RotatorProperties.SlideWidth = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Thumbnail.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.ShowPlayButton = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-play-button", __Syncfusion_JavaScript_Models_RotatorProperties.ShowPlayButton, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Thumbnail.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.AllowKeyboardNavigation = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-keyboard-navigation", __Syncfusion_JavaScript_Models_RotatorProperties.AllowKeyboardNavigation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Thumbnail.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.ShowThumbnail = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-thumbnail", __Syncfusion_JavaScript_Models_RotatorProperties.ShowThumbnail, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Rotator\Thumbnail.cshtml" __Syncfusion_JavaScript_Models_RotatorProperties.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_RotatorProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(639, 23, true); WriteLiteral("\r\n \r\n </div>\r\n"); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(687, 260, true); WriteLiteral(@" <style type=""text/css"" class=""cssStyles""> .frame { width: 100%; box-sizing : border-box; } #sliderContent > li > img { width: 100%; height: 300px; } </style> "); EndContext(); } ); BeginContext(950, 2, true); WriteLiteral("\r\n"); EndContext(); }