#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 158, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates the various events like create, change, focusIn and focusout in a ASP.NET Core TimePicker\">\r\n"); EndContext(); } ); DefineSection("ScriptReferenceSection", async() => { BeginContext(211, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 224, "\"", 288, 1); #line 5 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Events.cshtml" WriteAttributeValue("", 230, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 230, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(289, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); BeginContext(304, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(329, 52, true); WriteLiteral("<span class=\"sampleName\">TimePicker / Events</span> "); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(409, 96, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\" style=\"margin-left:30px;\">\r\n "); EndContext(); BeginContext(505, 117, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-time-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b52baaeee24e4c6993f9904a4e23097f", async() => { } ); __Syncfusion_JavaScript_Models_TimePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TimePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TimePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_TimePickerProperties.Change = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_TimePickerProperties.FocusIn = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_TimePickerProperties.FocusOut = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_TimePickerProperties.Create = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(622, 31, true); WriteLiteral("\r\n </div>\r\n </div> \r\n"); EndContext(); } ); BeginContext(656, 126, true); WriteLiteral("<div id=\"target\">\r\n <ul>\r\n <li>focusIn</li>\r\n <li>focusOut</li>\r\n <li>change</li>\r\n </ul>\r\n</div>\r\n"); EndContext(); DefineSection("EventsDropdown", async() => { BeginContext(806, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(812, 174, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ffff2fdace5440a99350425ac48fe546", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_DropDownListProperties.CssClass = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\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 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Events.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("check-all", __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_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(986, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1016, 1345, true); WriteLiteral(@" <script type=""text/javascript""> function evtpropscheckedevent(args) { var timeObj = $(""#TimePick"").data(""ejTimePicker""); if (args.isChecked) { switch (args.selectedText) { case ""change"": timeObj.option(args.selectedText, ""timeValChange""); break; case ""focusIn"": timeObj.option(args.selectedText, ""onFocusIn""); break; case ""focusOut"": timeObj.option(args.selectedText, ""onFocusOut""); break; } } else timeObj.option(args.selectedText, null); } // Client side Events function oncreate(args) { jQuery.addEventLog(""TimePicker has been <span class='eventTitle'>created</span>.""); } function timeValChange(args) { jQuery.addEventLog(""TimePicker value has been <span class='eventTitle'>changed</span> to "" + args.value + "".</br>""); } function onFocusIn(args) { jQuer"); WriteLiteral(@"y.addEventLog(""TimePicker is in <span class='eventTitle'>Focus</span>""); } function onFocusOut(args) { jQuery.addEventLog(""TimePicker is out of <span class='eventTitle'>Focus</span>""); } function onClear() { jQuery.clearEventLog(); } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 178, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates the various methods like show, hide, enable,setCurrentTime, getValue and disable in a ASP.NET Core TimePicker\">\r\n"); EndContext(); } ); BeginContext(199, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); DefineSection("ScriptReferenceSection", async() => { BeginContext(235, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 248, "\"", 312, 1); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Methods.cshtml" WriteAttributeValue("", 254, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 254, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(313, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); BeginContext(328, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(353, 53, true); WriteLiteral("<span class=\"sampleName\">TimePicker / Methods </span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(434, 95, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\" style=\"margin-left:30px;\">\r\n "); EndContext(); BeginContext(529, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-time-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "876f79ac38664f19b952a7abc9a2b0ae", async() => { } ); __Syncfusion_JavaScript_Models_TimePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TimePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TimePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_TimePickerProperties.Close = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_TimePickerProperties.Open = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(591, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(624, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(653, 70, true); WriteLiteral("\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(723, 109, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1d2b521a2a03479daebb0ad023a46ca0", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Click = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(832, 98, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(930, 96, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "2018b371fb4e48ddb7d9f1aef81d6bbd", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 27 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Methods.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1026, 98, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(1124, 102, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9621a0d853e7461fb0b11ab38c3cd142", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ButtonProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 32 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Methods.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Size = ButtonSize.Small; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("size", __Syncfusion_JavaScript_Models_ButtonProperties.Size, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1226, 98, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n "); EndContext(); BeginContext(1324, 103, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-toggle-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "0a2596f1d5414e2a9de1716895352c47", async() => { } ); __Syncfusion_JavaScript_Models_ToggleButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ToggleButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ToggleButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ToggleButtonProperties.DefaultText = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_ToggleButtonProperties.ActiveText = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Syncfusion_JavaScript_Models_ToggleButtonProperties.Click = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1427, 35, true); WriteLiteral("\r\n </div>\r\n </div>\r\n \r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1488, 1196, true); WriteLiteral(@" <script type=""text/javascript""> var timeObj, tgleBtn; $(function () { $(""#sampleProperties"").ejPropertiesPanel(); timeObj = $('#TimePick').data(""ejTimePicker""); tgleBtn = $(""#showHide"").data('ejToggleButton'); $("".e-togglebutton"").mousedown(function (e) { e.stopPropagation(); }); }); function onClose(e) { tgleBtn.option('toggleState', false); } function onOpen(e) { tgleBtn.option('toggleState', true); } function changeState(args) { if (args.isChecked){ timeObj.disable(); tgleBtn.disable(); } else{ timeObj.enable(); tgleBtn.enable(); } } function gettime(args) { alert(""Selected time is : "" + timeObj.getValue()); } function updatetime(args) { t"); WriteLiteral("imeObj.setCurrentTime();\r\n }\r\n function showhide(args) {\r\n (args.isChecked) ? timeObj.show() : timeObj.hide();\r\n }\r\n \r\n </script>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 117, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates how to localize the timepicker in a ASP.NET Core\">\r\n"); EndContext(); } ); BeginContext(138, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptReferenceSection", async() => { BeginContext(172, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 185, "\"", 249, 1); #line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Localization.cshtml" WriteAttributeValue("", 191, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 191, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(250, 23, true); WriteLiteral("></script>\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 273, "\"", 337, 1); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Localization.cshtml" WriteAttributeValue("", 279, Url.Content("~/Scripts/cultures/ej.culture.de-DE.min.js"), 279, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(338, 23, true); WriteLiteral("></script>\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 361, "\"", 425, 1); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Localization.cshtml" WriteAttributeValue("", 367, Url.Content("~/Scripts/cultures/ej.culture.fr-FR.min.js"), 367, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(426, 23, true); WriteLiteral("></script>\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 449, "\"", 513, 1); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Localization.cshtml" WriteAttributeValue("", 455, Url.Content("~/Scripts/cultures/ej.culture.vi-VN.min.js"), 455, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(514, 23, true); WriteLiteral("></script>\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 537, "\"", 601, 1); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Localization.cshtml" WriteAttributeValue("", 543, Url.Content("~/Scripts/cultures/ej.culture.zh-CN.min.js"), 543, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(602, 18, true); WriteLiteral("></script>\r\n \r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(646, 58, true); WriteLiteral("<span class=\"sampleName\">TimePicker / Localization </span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(732, 96, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\" style=\"margin-left:30px;\">\r\n "); EndContext(); BeginContext(828, 69, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-time-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a49b97a2db3346a0b8dd259131c05a1f", async() => { } ); __Syncfusion_JavaScript_Models_TimePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TimePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TimePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_TimePickerProperties.Locale = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_TimePickerProperties.TimeFormat = (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(897, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(930, 122, true); WriteLiteral("<div id=\"droplist\">\r\n <ul>\r\n <li>en-US</li>\r\n <li>vi-VN</li>\r\n <li>zh-CN</li>\r\n </ul>\r\n</div>\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(1079, 143, true); WriteLiteral("\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n Select Culture\r\n </div>\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(1222, 139, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bc0cce1356dc476f9e54d76b4107788a", async() => { BeginContext(1329, 12, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); #line 34 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Localization.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 2; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1361, 34, true); WriteLiteral("\r\n\r\n </div>\r\n </div>\r\n\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1421, 325, true); WriteLiteral(@" <script type=""text/javascript""> function onchange(args) { var timeobject = $(""#TimePick"").data(""ejTimePicker""); timeobject.option({ ""locale"": args.text }); timeobject.option({ ""timeFormat"": ""h:mm tt"" }); } $(""#sampleProperties"").ejPropertiesPanel(); </script> "); EndContext(); } ); BeginContext(1749, 2, true); WriteLiteral("\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 159, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates how the timepicker supports the keyboard navigation (Keyboard shortcuts) in a ASP.NET Core\">\r\n"); EndContext(); } ); BeginContext(180, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); DefineSection("ScriptReferenceSection", async() => { BeginContext(216, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 229, "\"", 293, 1); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Keyboard.cshtml" WriteAttributeValue("", 235, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 235, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(294, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); BeginContext(309, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(334, 54, true); WriteLiteral("<span class=\"sampleName\">TimePicker / Keyboard </span>"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(416, 96, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\" style=\"margin-left:30px;\">\r\n "); EndContext(); BeginContext(512, 32, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-time-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4dea48523a37481eae51a52e9f2d3714", async() => { } ); __Syncfusion_JavaScript_Models_TimePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TimePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TimePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(544, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(577, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(606, 1802, 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""> Alt + Down </div> <div class=""col-md-3""> Opens/Hides the popup </div> </div> <div class=""row""> <div class=""col-md-3""> Right / Left </div> <div class=""col-md-3""> Moves to the adjacent part </div> </div> <div class=""row""> <div class=""col-md-3""> Up </div> <div class=""col-md-3""> Increments the value </div> </div> <div class=""row""> <div class=""col-md-3""> Down </div> <div class=""col-md-3""> Decrements the value </div> </div> <div class=""row""> <div class=""col-md-3""> After popup opened"); WriteLiteral(@": </div> </div> <div class=""row""> <div class=""col-md-3""> Up </div> <div class=""col-md-3""> Selects the previous time </div> </div> <div class=""row""> <div class=""col-md-3""> Down </div> <div class=""col-md-3""> Selects the next time </div> </div> <div class=""row""> <div class=""col-md-3""> Home / End </div> <div class=""col-md-3""> Moves to the first / last item </div> </div> <div class=""row""> <div class=""col-md-3""> Esc </div> <div class=""col-md-3""> Closes the popup </div> </div> "); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(2434, 353, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); $(document).on(""keydown"", function (e) { if (e.altKey && e.keyCode === 74) { // j- key code. $(""#TimePick"").focus(); } }); }); </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 128, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates how to enable the rtl property in a ASP.NET Core TimePicker\">\r\n"); EndContext(); } ); DefineSection("ScriptReferenceSection", async() => { BeginContext(181, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 194, "\"", 258, 1); #line 5 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Rtl.cshtml" WriteAttributeValue("", 200, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 200, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(259, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); BeginContext(274, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(299, 49, true); WriteLiteral("<span class=\"sampleName\">TimePicker / Rtl</span> "); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(376, 96, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\" style=\"margin-left:30px;\">\r\n "); EndContext(); BeginContext(472, 50, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-time-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "7672d20b5a454f55b8226304bd8578f2", async() => { } ); __Syncfusion_JavaScript_Models_TimePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TimePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TimePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Rtl.cshtml" __Syncfusion_JavaScript_Models_TimePickerProperties.EnableRTL = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-rtl", __Syncfusion_JavaScript_Models_TimePickerProperties.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(522, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 151, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example demonstrates a simple, mobile-friendly and responsive ASP.NET Core TimepIcker to select a time.\">\r\n"); EndContext(); } ); DefineSection("ScriptReferenceSection", async() => { BeginContext(204, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 217, "\"", 281, 1); #line 5 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\Default.cshtml" WriteAttributeValue("", 223, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 223, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(282, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); BeginContext(297, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(322, 67, true); WriteLiteral("\r\n \r\n <span class=\"sampleName\">TimePicker / Default </span>\r\n"); EndContext(); } ); BeginContext(392, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(419, 96, true); WriteLiteral("\r\n <div class=\"frame\">\r\n <div class=\"control\" style=\"margin-left:30px;\">\r\n "); EndContext(); BeginContext(515, 32, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-time-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "d6654be9d8f04169a8e04a87f6d7faf3", async() => { } ); __Syncfusion_JavaScript_Models_TimePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TimePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TimePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(547, 30, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(580, 4, true); WriteLiteral("\r\n\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 180, true); WriteLiteral("\r\n <meta name=\"description\" content=\"TimePicker for ASP.NET Core with the strongly typed extension support. Value is set from the code behind by invoking TimePickerFor helper\">\r\n"); EndContext(); } ); BeginContext(201, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptReferenceSection", async() => { BeginContext(235, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 248, "\"", 312, 1); #line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\TimePickerFor.cshtml" WriteAttributeValue("", 254, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 254, 58, false); #line default #line hidden EndWriteAttribute(); BeginContext(313, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); BeginContext(393, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(418, 73, true); WriteLiteral("\r\n \r\n <span class=\"sampleName\">TimePicker / TimePickerFor </span>\r\n"); EndContext(); } ); BeginContext(494, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(521, 2, true); WriteLiteral("\r\n"); EndContext(); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\TimePickerFor.cshtml" using (Html.BeginForm()) { #line default #line hidden BeginContext(558, 28, false); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\TimePickerFor.cshtml" Write(Html.ValidationSummary(true)); #line default #line hidden EndContext(); BeginContext(588, 68, true); WriteLiteral(" <div class=\"frame\">\r\n <div class=\"control\">\r\n "); EndContext(); BeginContext(656, 256, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-time-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b9a611d21c394159a846ee122b99c620", async() => { } ); __Syncfusion_JavaScript_Models_TimePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.TimePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TimePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\TimePickerFor.cshtml" __Syncfusion_JavaScript_Models_TimePickerProperties.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => Model.Value); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("ej-for", __Syncfusion_JavaScript_Models_TimePickerProperties.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\TimePickerFor.cshtml" __Syncfusion_JavaScript_Models_TimePickerProperties.ValidationRules = new Dictionary <string, object>() { { "required", true } }; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("validation-rules", __Syncfusion_JavaScript_Models_TimePickerProperties.ValidationRules, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\TimePickerFor.cshtml" __Syncfusion_JavaScript_Models_TimePickerProperties.ValidationMessages = new Dictionary <string, object>() { { "required", "Time value is required" } }; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("validation-messages", __Syncfusion_JavaScript_Models_TimePickerProperties.ValidationMessages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(912, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(927, 47, false); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\TimePickerFor.cshtml" Write(Html.ValidationMessageFor(model => model.Value)); #line default #line hidden EndContext(); BeginContext(974, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(988, 51, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1ea28e879a63461e85a4bf3a2d353606", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); #line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\TimePickerFor.cshtml" __Syncfusion_JavaScript_Models_ButtonProperties.Type = global::Syncfusion.JavaScript.ButtonType.Submit; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_Models_ButtonProperties.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1039, 31, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); #line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\TimePicker\TimePickerFor.cshtml" } #line default #line hidden BeginContext(1073, 4, true); WriteLiteral(" "); EndContext(); } ); DefineSection("StyleSection", async() => { BeginContext(1102, 122, true); WriteLiteral("\r\n <style>\r\n #button {\r\n margin-left: 30px;\r\n margin-top: 20px;\r\n }\r\n </style>\r\n"); EndContext(); } ); }