#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 50, true); WriteLiteral("\r\n <span class=\"sampleName\">Categorize</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(127, 132, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how to set categories for appointments in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(287, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(308, 778, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8e2d64ca8b1043dda963dadbdda303e8", async() => { BeginContext(404, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(418, 177, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-categorize-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1d0e8a80c8ed42b4a2bb9ebc3e6adcae", async() => { } ); __Syncfusion_JavaScript_Models_CategorizeSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.CategorizeSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_CategorizeSettings); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_CategorizeSettings.Enable = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_CategorizeSettings.Enable, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_CategorizeSettings.DataSource = ViewBag.categorizeData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_CategorizeSettings.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_CategorizeSettings.AllowMultiple = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-multiple", __Syncfusion_JavaScript_Models_CategorizeSettings.AllowMultiple, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_CategorizeSettings.Id = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_CategorizeSettings.Color = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_CategorizeSettings.FontColor = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_CategorizeSettings.Text = (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(595, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(609, 183, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-context-menu-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d7c4b7a41ebf4eacb8d901e0c64a1c96", async() => { BeginContext(648, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(666, 86, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-menu-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cb37e1a2e7d547ee8c323f0c5e632291", async() => { } ); __Syncfusion_JavaScript_Models_MenuItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MenuItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MenuItems); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_MenuItems.Appointment = ViewBag.appData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("appointment", __Syncfusion_JavaScript_Models_MenuItems.Appointment, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_MenuItems.Cells = ViewBag.cellData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("cells", __Syncfusion_JavaScript_Models_MenuItems.Cells, 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(752, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ContextMenuSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.ContextMenuSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ContextMenuSettings); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ContextMenuSettings.Enable = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_ContextMenuSettings.Enable, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(792, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(806, 256, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "704c87dc18554ef4a24edca73076642f", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Categorize = "Categorize"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("categorize", __Syncfusion_JavaScript_Models_ScheduleFields.Categorize, 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(1062, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1086, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(67, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(92, 60, true); WriteLiteral("\r\n <span class=\"sampleName\">Appointment Template</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(173, 121, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how the ASP.NET Core Scheduler can customize appointments.\">\r\n"); EndContext(); } ); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\AppointmentTemplate.cshtml" List <string> scheduleView = new List <string>() { "Day", "Week", "WorkWeek", "Month" }; #line default #line hidden BeginContext(396, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(423, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(444, 445, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bf46460aa59746d1931783bd9ee1ed5d", async() => { BeginContext(621, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(635, 230, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f1d71f8e81474c99b6695f13fa30a4bc", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\AppointmentTemplate.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\AppointmentTemplate.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\AppointmentTemplate.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\AppointmentTemplate.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\AppointmentTemplate.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\AppointmentTemplate.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\AppointmentTemplate.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(865, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\AppointmentTemplate.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ScheduleProperties.AppointmentTemplateId = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\AppointmentTemplate.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.Views = scheduleView; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("views", __Syncfusion_JavaScript_Models_ScheduleProperties.Views, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\AppointmentTemplate.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentView = global::Syncfusion.JavaScript.CurrentView.Month; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-view", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentView, 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(889, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); BeginContext(906, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(931, 1249, true); WriteLiteral(@" <script id=""apptemplate"" type=""text/x-jsrender""> <div style=""height:100%""> <div style='float:left; width:50px;'>{{:~format(StartTime)}}</div> <div> <div>{{:Subject}}</div> </div> </div> </script> <script type=""text/javascript""> function _getImages(date) { switch (new Date(date).getDay()) { case 0: return ""<img src='../images/schedule/cake.png'/>""; case 1: return ""<img src='../images/schedule/basketball.png'/>""; case 2: return ""<img src='../images/schedule/rugby.png'/>""; case 3: return ""<img src='../images/schedule/guitar.png'/>""; case 4: return ""<img src='../images/schedule/music.png'/>""; case 5: return ""<img src='../images/schedule/doctor.png'/>""; case 6: "); WriteLiteral("\n return \"<img src=\'../images/schedule/beach.png\'/>\";\r\n default:\r\n return null;\r\n }\r\n }\r\n $.views.helpers({ format: _getImages });\r\n </script>\r\n"); EndContext(); } ); BeginContext(2183, 2, true); WriteLiteral("\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 52, true); WriteLiteral("\r\n <span class=\"sampleName\">Excel Export</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(129, 132, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how the ASP.NET Core Scheduler exports appointments to an Excel file.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(289, 15, true); WriteLiteral("\r\n <div>\r\n\t\t"); EndContext(); BeginContext(304, 87, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "049e854b5de3430387cc3eebcf8a69d4", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ButtonProperties.Height = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ButtonProperties.Click = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(391, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(401, 364, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1125b00d7faf4a15abbe429b8dd8f8dd", async() => { BeginContext(497, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(511, 230, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7c2d056f94144eaba5bb3dca3c30017a", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(741, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\XLSExport.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(765, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); BeginContext(782, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(807, 363, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#Schedule1"").find(""tr.e-scheduleheader td"").first().append($(""#btnExport"")); }); function onExportClick(args) { var proxy = $(""#Schedule1"").data(""ejSchedule""); proxy.exportToExcel(""ExportAsExcel"", null, false); } </script> "); EndContext(); } ); BeginContext(1173, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("StyleSection", async() => { BeginContext(1197, 169, true); WriteLiteral("\r\n <style type=\"text/css\">\r\n .e-schedule #btnExport {\r\n position: absolute;\r\n left: 49%;\r\n top: 2%;\r\n }\r\n </style>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 73, true); WriteLiteral("\r\n <span class=\"sampleName\">Multiple Resource Functionalities</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(150, 148, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how grouping resource calendars in default views works in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(326, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(347, 806, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70097032448845818a4effb7ba379c6d", async() => { BeginContext(443, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(457, 49, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c3e701f2b92c484b82fc4ef8333bce4f", async() => { } ); __Syncfusion_JavaScript_Models_Group = CreateTagHelper <global::Syncfusion.JavaScript.Models.Group>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Group); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_Group.Resources = ViewBag.Grouping; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("resources", __Syncfusion_JavaScript_Models_Group.Resources, 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(506, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(520, 316, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resources", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "16fb6ec2dbbb4fb3be9b261341c45c28", async() => { BeginContext(533, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(551, 257, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5458018aa6d742369fd86030ed6c1a1f", async() => { BeginContext(627, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(649, 128, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0f92b4ac246b42b0b0cec8b4f324c4c2", async() => { } ); __Syncfusion_JavaScript_Models_ResourceFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ResourceFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ResourceFields); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ResourceFields.DataSource = ViewBag.OwnerData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ResourceFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ResourceFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ResourceFields.Id = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ResourceFields.GroupId = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ResourceFields.Color = (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(777, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Resources = CreateTagHelper <global::Syncfusion.JavaScript.Models.Resources>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Resources); __Syncfusion_JavaScript_Models_Resources.Field = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_Resources.Title = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_Resources.Name = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_Resources.AllowMultiple = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-multiple", __Syncfusion_JavaScript_Models_Resources.AllowMultiple, 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(808, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_SchedulCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SchedulCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SchedulCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(836, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(850, 279, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5c9187a04d8548bd85ecb346d7a5cae5", async() => { BeginContext(1090, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.ResourceFields = "RoomId,OwnerId"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("resource-fields", __Syncfusion_JavaScript_Models_ScheduleFields.ResourceFields, 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(1129, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1153, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); BeginContext(1170, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(1199, 216, true); WriteLiteral("\r\n <div id=\"sampleProperties\">\r\n <div class=\"prop-grid\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">Orientation</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(1415, 146, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f4a006672507412ca2796a3522afaf8b", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 0; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_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(1561, 343, true); WriteLiteral(@" <div id=""orientationname""> <ul> <li value=""vertical"">Vertical</li> <li value=""horizontal"">Horizontal</li> </ul> </div> </div> </div> </div> </div> "); EndContext(); } ); BeginContext(1907, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(1932, 278, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function onOrientationChange(args) { $(""#Schedule1"").ejSchedule({ orientation: args.value }); } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 50, true); WriteLiteral("\r\n <span class=\"sampleName\">Categorize</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(127, 132, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how to set categories for appointments in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(287, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(308, 778, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7ba878144c3e44e7a3e670601a86f2ab", async() => { BeginContext(404, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(418, 177, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-categorize-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b6840a4c7bb942398490a165b75f28be", async() => { } ); __Syncfusion_JavaScript_Models_CategorizeSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.CategorizeSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_CategorizeSettings); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_CategorizeSettings.Enable = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_CategorizeSettings.Enable, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_CategorizeSettings.DataSource = ViewBag.categorizeData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_CategorizeSettings.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_CategorizeSettings.AllowMultiple = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-multiple", __Syncfusion_JavaScript_Models_CategorizeSettings.AllowMultiple, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_CategorizeSettings.Id = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_CategorizeSettings.Color = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_CategorizeSettings.FontColor = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_CategorizeSettings.Text = (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(595, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(609, 183, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-context-menu-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "49ac686c1d814b5ba11a627d3239bf60", async() => { BeginContext(648, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(666, 86, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-menu-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2f6b46c2ca33466e82d58b77318d025c", async() => { } ); __Syncfusion_JavaScript_Models_MenuItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.MenuItems>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_MenuItems); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_MenuItems.Appointment = ViewBag.appData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("appointment", __Syncfusion_JavaScript_Models_MenuItems.Appointment, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_MenuItems.Cells = ViewBag.cellData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("cells", __Syncfusion_JavaScript_Models_MenuItems.Cells, 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(752, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ContextMenuSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.ContextMenuSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ContextMenuSettings); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ContextMenuSettings.Enable = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_ContextMenuSettings.Enable, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(792, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(806, 256, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "375e8cbe631042c08a62a1da296a6c7f", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Categorize = "Categorize"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("categorize", __Syncfusion_JavaScript_Models_ScheduleFields.Categorize, 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(1062, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Categorize.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1086, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 82, true); WriteLiteral("\r\n <span class=\"sampleName\">Multiple Resource Grouping Functionalities</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(159, 169, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how the calendars of multiple resources are grouped in default view layouts in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(356, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(377, 1078, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ed62c9a0898b40629d901355da932893", async() => { BeginContext(473, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(487, 49, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b5974e0d71ec4bf8a4f49388d5fc343a", async() => { } ); __Syncfusion_JavaScript_Models_Group = CreateTagHelper <global::Syncfusion.JavaScript.Models.Group>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Group); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_Group.Resources = ViewBag.Grouping; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("resources", __Syncfusion_JavaScript_Models_Group.Resources, 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(536, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(550, 588, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resources", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a4afed8eb95e42e9871c4180a35c9a6b", async() => { BeginContext(563, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(581, 254, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "abddcfc072954fc492479e83ca2d6b9f", async() => { BeginContext(655, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(677, 127, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7c600e591dfe47f086f118689d263d51", async() => { } ); __Syncfusion_JavaScript_Models_ResourceFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ResourceFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ResourceFields); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ResourceFields.DataSource = ViewBag.RoomData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ResourceFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ResourceFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ResourceFields.Id = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ResourceFields.GroupId = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ResourceFields.Color = (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(804, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Resources = CreateTagHelper <global::Syncfusion.JavaScript.Models.Resources>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Resources); __Syncfusion_JavaScript_Models_Resources.Field = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_Resources.Title = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_Resources.Name = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_Resources.AllowMultiple = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-multiple", __Syncfusion_JavaScript_Models_Resources.AllowMultiple, 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(835, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(853, 257, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "629a667e3ab94e1f816fcb4f1846efbd", async() => { BeginContext(929, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(951, 128, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "18427ab7b9a54fccb072971785076c66", async() => { } ); __Syncfusion_JavaScript_Models_ResourceFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ResourceFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ResourceFields); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ResourceFields.DataSource = ViewBag.OwnerData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ResourceFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ResourceFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ResourceFields.Id = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ResourceFields.GroupId = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ResourceFields.Color = (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(1079, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Resources = CreateTagHelper <global::Syncfusion.JavaScript.Models.Resources>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Resources); __Syncfusion_JavaScript_Models_Resources.Field = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_Resources.Title = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_Resources.Name = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_Resources.AllowMultiple = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-multiple", __Syncfusion_JavaScript_Models_Resources.AllowMultiple, 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(1110, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_SchedulCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SchedulCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SchedulCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1138, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1152, 279, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f064cc58fc8b47cea2d4b27c63aa68a7", async() => { BeginContext(1392, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.ResourceFields = "RoomId,OwnerId"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("resource-fields", __Syncfusion_JavaScript_Models_ScheduleFields.ResourceFields, 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(1431, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1455, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); BeginContext(1472, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(1501, 216, true); WriteLiteral("\r\n <div id=\"sampleProperties\">\r\n <div class=\"prop-grid\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">Orientation</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(1717, 146, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e972728085734fa19b06382c7b422ac2", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); #line 33 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 0; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1863, 343, true); WriteLiteral(@" <div id=""orientationname""> <ul> <li value=""vertical"">Vertical</li> <li value=""horizontal"">Horizontal</li> </ul> </div> </div> </div> </div> </div> "); EndContext(); } ); BeginContext(2209, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(2234, 278, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function onOrientationChange(args) { $(""#Schedule1"").ejSchedule({ orientation: args.value }); } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 51, true); WriteLiteral("\r\n <span class=\"sampleName\">Remote Data</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(128, 149, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows the binding of remote services by using the DataManager in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(305, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(326, 517, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1f0f490aa9e545d883af52817eb365b5", async() => { BeginContext(462, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(476, 343, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c60988a606ed45b1a9f7ed3cb0afa695", async() => { BeginContext(646, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(664, 116, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-datamanager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1554e0a47eea4fdfbd436b05bd5c98bb", async() => { } ); __Syncfusion_JavaScript_DataSource = CreateTagHelper <global::Syncfusion.JavaScript.DataSource>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataSource); __Syncfusion_JavaScript_DataSource.URL = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\RemoteData.cshtml" __Syncfusion_JavaScript_DataSource.CrossDomain = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("cross-domain", __Syncfusion_JavaScript_DataSource.CrossDomain, 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(780, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\RemoteData.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\RemoteData.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\RemoteData.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\RemoteData.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\RemoteData.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\RemoteData.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(819, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\RemoteData.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ScheduleProperties.TimeZone = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\RemoteData.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.ReadOnly = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("read-only", __Syncfusion_JavaScript_Models_ScheduleProperties.ReadOnly, 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(843, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 63, true); WriteLiteral("\r\n <span class=\"sampleName\">Default Functionalities</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(140, 131, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how the ASP.NET Core Scheduler looks with its default configuration.\">\r\n"); EndContext(); } ); BeginContext(274, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(301, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(322, 364, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3f24228a11104b70b17fd059ea92f234", async() => { BeginContext(418, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(432, 230, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7289c3b118d04fc7b9eebcfe02810e80", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Default.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Default.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Default.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Default.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Default.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Default.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Default.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(662, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Default.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(686, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 82, true); WriteLiteral("\r\n <span class=\"sampleName\">Multiple Resource Grouping Functionalities</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(159, 169, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how the calendars of multiple resources are grouped in default view layouts in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(356, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(377, 1078, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0de269902b834743aa1616a20d58f03b", async() => { BeginContext(473, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(487, 49, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "af2f4487033246c18615838870287343", async() => { } ); __Syncfusion_JavaScript_Models_Group = CreateTagHelper <global::Syncfusion.JavaScript.Models.Group>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Group); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_Group.Resources = ViewBag.Grouping; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("resources", __Syncfusion_JavaScript_Models_Group.Resources, 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(536, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(550, 588, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resources", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "408c0c5a214d47cc883e69d0a08c433f", async() => { BeginContext(563, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(581, 254, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b157e85b13c44a7da51957021030e094", async() => { BeginContext(655, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(677, 127, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ef20c19fd5e42da949d5a7d7857b9a2", async() => { } ); __Syncfusion_JavaScript_Models_ResourceFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ResourceFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ResourceFields); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ResourceFields.DataSource = ViewBag.RoomData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ResourceFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ResourceFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ResourceFields.Id = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ResourceFields.GroupId = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ResourceFields.Color = (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(804, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Resources = CreateTagHelper <global::Syncfusion.JavaScript.Models.Resources>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Resources); __Syncfusion_JavaScript_Models_Resources.Field = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_Resources.Title = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_Resources.Name = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_Resources.AllowMultiple = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-multiple", __Syncfusion_JavaScript_Models_Resources.AllowMultiple, 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(835, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(853, 257, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fc6384e4574b4b1d9754a9d7d3fceb43", async() => { BeginContext(929, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(951, 128, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "98843c53d38344aabb3546984c6ef95c", async() => { } ); __Syncfusion_JavaScript_Models_ResourceFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ResourceFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ResourceFields); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ResourceFields.DataSource = ViewBag.OwnerData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ResourceFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ResourceFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ResourceFields.Id = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ResourceFields.GroupId = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ResourceFields.Color = (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(1079, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Resources = CreateTagHelper <global::Syncfusion.JavaScript.Models.Resources>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Resources); __Syncfusion_JavaScript_Models_Resources.Field = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_Resources.Title = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_Resources.Name = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_Resources.AllowMultiple = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-multiple", __Syncfusion_JavaScript_Models_Resources.AllowMultiple, 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(1110, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_SchedulCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SchedulCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SchedulCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1138, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1152, 279, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "19fc12d52d184d16a31f2d79a046fb54", async() => { BeginContext(1392, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.ResourceFields = "RoomId,OwnerId"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("resource-fields", __Syncfusion_JavaScript_Models_ScheduleFields.ResourceFields, 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(1431, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1455, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); BeginContext(1472, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(1501, 216, true); WriteLiteral("\r\n <div id=\"sampleProperties\">\r\n <div class=\"prop-grid\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">Orientation</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(1717, 146, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "639891dbd8844924b21d532932f3f28b", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); #line 33 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResourceGrouping.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 0; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1863, 343, true); WriteLiteral(@" <div id=""orientationname""> <ul> <li value=""vertical"">Vertical</li> <li value=""horizontal"">Horizontal</li> </ul> </div> </div> </div> </div> </div> "); EndContext(); } ); BeginContext(2209, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(2234, 278, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function onOrientationChange(args) { $(""#Schedule1"").ejSchedule({ orientation: args.value }); } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 49, true); WriteLiteral("\r\n <span class=\"sampleName\">TimeScale</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(126, 124, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how to customize the timescale in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(278, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(299, 458, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3f6ae5a8e83a4fa88f9bdaed9ffb3efe", async() => { BeginContext(395, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(409, 80, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-time-scale", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "280a0bdc3d6c4303bbd03c4bbad31d46", async() => { } ); __Syncfusion_JavaScript_Models_TimeScale = CreateTagHelper <global::Syncfusion.JavaScript.Models.TimeScale>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TimeScale); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_TimeScale.Enable = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_TimeScale.Enable, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_TimeScale.MajorSlot = 60; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("major-slot", __Syncfusion_JavaScript_Models_TimeScale.MajorSlot, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_TimeScale.MinorSlotCount = 6; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("minor-slot-count", __Syncfusion_JavaScript_Models_TimeScale.MinorSlotCount, 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(489, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(503, 230, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "eefbcf977dca4f56a27b910d70c2302f", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(733, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(757, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); BeginContext(774, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(803, 215, true); WriteLiteral("\r\n <div id=\"sampleProperties\">\r\n <div class=\"prop-grid\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">Major Slot</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(1018, 120, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "00b8cd15462248e995303ab54ff52398", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = ViewBag.majorValue; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 3; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, 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(1138, 193, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">Minor Slot</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(1331, 120, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3a27c7e63b304b3ba8d378f37c41ac74", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = ViewBag.minorValue; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_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(1451, 137, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(1588, 90, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1bd72472350748b091632ab068dd1d7a", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); #line 35 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.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.Click = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1678, 74, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(1755, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(1780, 496, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function onTimeScaleChange(args) { $(""#Schedule1"").ejSchedule({ timeScale: { majorSlot: parseInt($(""#majorslot"").ejDropDownList(""model.value"")), minorSlotCount: parseInt($(""#minorslot"").ejDropDownList(""model.value"")) } }); } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 73, true); WriteLiteral("\r\n <span class=\"sampleName\">Multiple Resource Functionalities</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(150, 148, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how grouping resource calendars in default views works in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(326, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(347, 806, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ccc75d9d7ed4fbbb7abac26af411a79", async() => { BeginContext(443, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(457, 49, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e9df76728bb24c7caca835ea6468871b", async() => { } ); __Syncfusion_JavaScript_Models_Group = CreateTagHelper <global::Syncfusion.JavaScript.Models.Group>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Group); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_Group.Resources = ViewBag.Grouping; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("resources", __Syncfusion_JavaScript_Models_Group.Resources, 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(506, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(520, 316, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resources", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "392d3f66df1249e287a6073c34e8f713", async() => { BeginContext(533, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(551, 257, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3636f7b1ff444a77aad4745ca76309e9", async() => { BeginContext(627, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(649, 128, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "98abc27f27694accbc95ccae84c96cbb", async() => { } ); __Syncfusion_JavaScript_Models_ResourceFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ResourceFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ResourceFields); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ResourceFields.DataSource = ViewBag.OwnerData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ResourceFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ResourceFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ResourceFields.Id = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ResourceFields.GroupId = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ResourceFields.Color = (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(777, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Resources = CreateTagHelper <global::Syncfusion.JavaScript.Models.Resources>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Resources); __Syncfusion_JavaScript_Models_Resources.Field = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_Resources.Title = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_Resources.Name = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_Resources.AllowMultiple = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-multiple", __Syncfusion_JavaScript_Models_Resources.AllowMultiple, 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(808, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_SchedulCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SchedulCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SchedulCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(836, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(850, 279, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "29886d98ed4f4b4491ac1caf623827d0", async() => { BeginContext(1090, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.ResourceFields = "RoomId,OwnerId"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("resource-fields", __Syncfusion_JavaScript_Models_ScheduleFields.ResourceFields, 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(1129, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1153, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); BeginContext(1170, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(1199, 216, true); WriteLiteral("\r\n <div id=\"sampleProperties\">\r\n <div class=\"prop-grid\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">Orientation</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(1415, 146, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a5159421b554f07a051d8a76faa79cb", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\MultipleResource.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 0; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_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(1561, 343, true); WriteLiteral(@" <div id=""orientationname""> <ul> <li value=""vertical"">Vertical</li> <li value=""horizontal"">Horizontal</li> </ul> </div> </div> </div> </div> </div> "); EndContext(); } ); BeginContext(1907, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(1932, 278, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function onOrientationChange(args) { $(""#Schedule1"").ejSchedule({ orientation: args.value }); } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 51, true); WriteLiteral("\r\n <span class=\"sampleName\">Custom View</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(128, 145, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how to display user-provided continuous date ranges in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" List <string> viewList = new List <string>() { "CustomView" }; #line default #line hidden BeginContext(349, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(376, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(397, 512, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ec2be815f31f448db13640374c6f65be", async() => { BeginContext(536, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(550, 65, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-render-dates", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "826eb9eae11e45a7bb119414f6e24bbb", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleRenderDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleRenderDates>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleRenderDates); __Syncfusion_JavaScript_Models_ScheduleRenderDates.Start = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ScheduleRenderDates.End = (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(615, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(629, 256, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b4079662695f424ca7856cd024d7a1a6", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Categorize = "Categorize"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("categorize", __Syncfusion_JavaScript_Models_ScheduleFields.Categorize, 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(885, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.Views = viewList; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("views", __Syncfusion_JavaScript_Models_ScheduleProperties.Views, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentView = global::Syncfusion.JavaScript.CurrentView.CustomView; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-view", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentView, 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(909, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); BeginContext(926, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(955, 216, true); WriteLiteral("\r\n <div id=\"sampleProperties\">\r\n <div class=\"prop-grid\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">Orientation</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(1171, 132, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1494dd49859641458f44273358b7fc7d", 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); #line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 4; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __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(1303, 623, true); WriteLiteral(@" <div id=""viewname""> <ul> <li value=""Day"">Day</li> <li value=""Week"">Week</li> <li value=""WorkWeek"">WorkWeek</li> <li value=""Month"">Month</li> <li value=""CustomView"">CustomView</li> </ul> </div> </div> </div> <div class=""row""> <div class=""col-md-6"">Start Date</div> <div class=""col-md-6""> "); EndContext(); BeginContext(1926, 95, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fa2aa085aab24ef1b67a551d1d5916da", async() => { } ); __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); #line 43 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_DatePickerProperties.Value = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DatePickerProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DatePickerProperties.Width = (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(2021, 193, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">Start Date</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(2214, 93, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9fb0d4d4590f4612ab653c4c382375c4", async() => { } ); __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); #line 49 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_DatePickerProperties.Value = new DateTime(2017, 6, 8); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DatePickerProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DatePickerProperties.Width = (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(2307, 137, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(2444, 91, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "52cd2333fbe24a8c8b3dd8822419da6a", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); #line 54 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.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.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(2535, 74, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(2612, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(2637, 1255, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function onViewChange(args) { $(""#Schedule1"").ejSchedule({ views: [args.value], currentView: args.value.toLowerCase() }); } function onCustomViewChange(args) { var startDate = $(""#startDate"").ejDatePicker(""option"", ""value""); startDate = new Date(startDate.getFullYear(), startDate.getMonth(), startDate.getDate()); var endDate = $(""#endDate"").ejDatePicker(""option"", ""value""); endDate = new Date(endDate.getFullYear(), endDate.getMonth(), endDate.getDate()); if (startDate <= endDate) { $('#currentview').ejDropDownList({ select: ""onViewChange"", selectedItemIndex: 4 }); $(""#Schedule1"").ejSchedule({ renderDates: { start: new Date(startDate), end: new Date(endDate) "); WriteLiteral(" },\r\n currentDate: new Date(startDate)\r\n });\r\n }\r\n else {\r\n alert(\"Start date must be lesser than end date\");\r\n }\r\n }\r\n </script>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 51, true); WriteLiteral("\r\n <span class=\"sampleName\">Custom View</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(128, 145, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how to display user-provided continuous date ranges in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" List <string> viewList = new List <string>() { "CustomView" }; #line default #line hidden BeginContext(349, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ControlsSection", async() => { BeginContext(376, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(397, 512, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3dcbd25778ec406d971fd2340fa91fc3", async() => { BeginContext(536, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(550, 65, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-render-dates", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6f97694ccd424303ad855669b98f8083", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleRenderDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleRenderDates>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleRenderDates); __Syncfusion_JavaScript_Models_ScheduleRenderDates.Start = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ScheduleRenderDates.End = (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(615, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(629, 256, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0503be1dd70f4faf87f2f9c457ad34af", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Categorize = "Categorize"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("categorize", __Syncfusion_JavaScript_Models_ScheduleFields.Categorize, 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(885, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.Views = viewList; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("views", __Syncfusion_JavaScript_Models_ScheduleProperties.Views, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentView = global::Syncfusion.JavaScript.CurrentView.CustomView; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-view", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentView, 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(909, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); BeginContext(926, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(955, 216, true); WriteLiteral("\r\n <div id=\"sampleProperties\">\r\n <div class=\"prop-grid\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">Orientation</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(1171, 132, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5130297253404118af056888a902fc10", 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); #line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 4; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __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(1303, 623, true); WriteLiteral(@" <div id=""viewname""> <ul> <li value=""Day"">Day</li> <li value=""Week"">Week</li> <li value=""WorkWeek"">WorkWeek</li> <li value=""Month"">Month</li> <li value=""CustomView"">CustomView</li> </ul> </div> </div> </div> <div class=""row""> <div class=""col-md-6"">Start Date</div> <div class=""col-md-6""> "); EndContext(); BeginContext(1926, 95, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "33d63f7b58df414d9dddb0ce0767d2ba", async() => { } ); __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); #line 43 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_DatePickerProperties.Value = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DatePickerProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DatePickerProperties.Width = (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(2021, 193, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">Start Date</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(2214, 93, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ddf6f9e7b20c4ddea08979ef979a13c9", async() => { } ); __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); #line 49 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.cshtml" __Syncfusion_JavaScript_Models_DatePickerProperties.Value = new DateTime(2017, 6, 8); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DatePickerProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DatePickerProperties.Width = (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(2307, 137, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(2444, 91, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "aac0a939d1ac42b7a7794611b847bb09", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); #line 54 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\CustomView.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.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(2535, 74, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(2612, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(2637, 1255, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function onViewChange(args) { $(""#Schedule1"").ejSchedule({ views: [args.value], currentView: args.value.toLowerCase() }); } function onCustomViewChange(args) { var startDate = $(""#startDate"").ejDatePicker(""option"", ""value""); startDate = new Date(startDate.getFullYear(), startDate.getMonth(), startDate.getDate()); var endDate = $(""#endDate"").ejDatePicker(""option"", ""value""); endDate = new Date(endDate.getFullYear(), endDate.getMonth(), endDate.getDate()); if (startDate <= endDate) { $('#currentview').ejDropDownList({ select: ""onViewChange"", selectedItemIndex: 4 }); $(""#Schedule1"").ejSchedule({ renderDates: { start: new Date(startDate), end: new Date(endDate) "); WriteLiteral(" },\r\n currentDate: new Date(startDate)\r\n });\r\n }\r\n else {\r\n alert(\"Start date must be lesser than end date\");\r\n }\r\n }\r\n </script>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 64, true); WriteLiteral("\r\n <span class=\"sampleName\">Timeline Functionalities</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(141, 157, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how the timeline scheduler looks with its default configuration in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(326, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(347, 389, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2bad81572e22478fbe828fa7e28b1d19", async() => { BeginContext(468, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(482, 230, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a28983ea92ae4fd5a9a906d5d42a9308", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timeline.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timeline.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timeline.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timeline.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timeline.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timeline.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timeline.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(712, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timeline.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timeline.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.Orientation = global::Syncfusion.JavaScript.Orientation.Horizontal; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("orientation", __Syncfusion_JavaScript_Models_ScheduleProperties.Orientation, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(736, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 55, true); WriteLiteral("\r\n <span class=\"sampleName\">Block Intervals</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(132, 130, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how to block specific time intervals in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(290, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(311, 1078, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "edf8864417a04aeeb026370481102ed1", async() => { BeginContext(426, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(440, 49, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2fa82320e51346e88dcf2b69d3bd7ea7", async() => { } ); __Syncfusion_JavaScript_Models_Group = CreateTagHelper <global::Syncfusion.JavaScript.Models.Group>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Group); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_Group.Resources = ViewBag.Grouping; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("resources", __Syncfusion_JavaScript_Models_Group.Resources, 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(489, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(503, 316, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resources", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "536f107e80ef4a58a1070593c0b5c6e9", async() => { BeginContext(516, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(534, 257, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4fd9d20b25084f4e8bc075a3915187de", async() => { BeginContext(610, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(632, 128, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2537b89461744fae89a029f4b8526260", async() => { } ); __Syncfusion_JavaScript_Models_ResourceFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ResourceFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ResourceFields); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ResourceFields.DataSource = ViewBag.OwnerData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ResourceFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ResourceFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ResourceFields.Id = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ResourceFields.GroupId = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ResourceFields.Color = (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(760, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Resources = CreateTagHelper <global::Syncfusion.JavaScript.Models.Resources>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Resources); __Syncfusion_JavaScript_Models_Resources.Field = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_Resources.Title = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_Resources.Name = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_Resources.AllowMultiple = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-multiple", __Syncfusion_JavaScript_Models_Resources.AllowMultiple, 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(791, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_SchedulCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SchedulCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SchedulCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(819, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(833, 239, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-blockout-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b330eb154a6e44cbb6fb4acf21803ed9", async() => { } ); __Syncfusion_JavaScript_Models_BlockoutSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.BlockoutSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_BlockoutSettings); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_BlockoutSettings.Enable = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_BlockoutSettings.Enable, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_BlockoutSettings.DataSource = ViewBag.blockData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_BlockoutSettings.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_BlockoutSettings.Id = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_BlockoutSettings.Subject = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_BlockoutSettings.StartTime = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_BlockoutSettings.EndTime = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_BlockoutSettings.ResourceId = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_BlockoutSettings.IsAllDay = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_BlockoutSettings.IsBlockAppointment = (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(1072, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1086, 279, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "42c9fe1ff0b04a9795f5d2305af373f7", async() => { BeginContext(1326, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.ResourceFields = "RoomId,OwnerId"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("resource-fields", __Syncfusion_JavaScript_Models_ScheduleFields.ResourceFields, 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(1365, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentView = global::Syncfusion.JavaScript.CurrentView.Day; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-view", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentView, 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(1389, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 55, true); WriteLiteral("\r\n <span class=\"sampleName\">Block Intervals</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(132, 130, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how to block specific time intervals in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(290, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(311, 1078, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "93424a9d566e4a82b4e02cda92c02d56", async() => { BeginContext(426, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(440, 49, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-group", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "175716fa183a49d8948cf729b2c95d63", async() => { } ); __Syncfusion_JavaScript_Models_Group = CreateTagHelper <global::Syncfusion.JavaScript.Models.Group>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Group); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_Group.Resources = ViewBag.Grouping; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("resources", __Syncfusion_JavaScript_Models_Group.Resources, 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(489, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(503, 316, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resources", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5a068aba19f9492b9ed83434e31bcd8e", async() => { BeginContext(516, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(534, 257, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "21ac08f6b8e446d9b29072691d30df1b", async() => { BeginContext(610, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(632, 128, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-resource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f7bfd05e1b74b5b9b6a18e2847fe4f5", async() => { } ); __Syncfusion_JavaScript_Models_ResourceFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ResourceFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ResourceFields); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ResourceFields.DataSource = ViewBag.OwnerData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ResourceFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ResourceFields.Text = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ResourceFields.Id = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ResourceFields.GroupId = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_Models_ResourceFields.Color = (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(760, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Resources = CreateTagHelper <global::Syncfusion.JavaScript.Models.Resources>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Resources); __Syncfusion_JavaScript_Models_Resources.Field = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_Resources.Title = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_Models_Resources.Name = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_Resources.AllowMultiple = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-multiple", __Syncfusion_JavaScript_Models_Resources.AllowMultiple, 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(791, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_SchedulCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SchedulCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SchedulCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(819, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(833, 239, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-blockout-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "81d44711dfab4fca88df401e7ac765c6", async() => { } ); __Syncfusion_JavaScript_Models_BlockoutSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.BlockoutSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_BlockoutSettings); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_BlockoutSettings.Enable = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_BlockoutSettings.Enable, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_BlockoutSettings.DataSource = ViewBag.blockData; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_BlockoutSettings.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_BlockoutSettings.Id = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_BlockoutSettings.Subject = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_Models_BlockoutSettings.StartTime = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Syncfusion_JavaScript_Models_BlockoutSettings.EndTime = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_Models_BlockoutSettings.ResourceId = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_Models_BlockoutSettings.IsAllDay = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); __Syncfusion_JavaScript_Models_BlockoutSettings.IsBlockAppointment = (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(1072, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1086, 279, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "64899d32175a4d71aa639d47ef59b079", async() => { BeginContext(1326, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.ResourceFields = "RoomId,OwnerId"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("resource-fields", __Syncfusion_JavaScript_Models_ScheduleFields.ResourceFields, 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(1365, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\BlockIntervals.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentView = global::Syncfusion.JavaScript.CurrentView.Day; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-view", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentView, 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(1389, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 54, true); WriteLiteral("\r\n <span class=\"sampleName\">FirstDayOfWeek</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(131, 130, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how to set the first day of the week in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(289, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(310, 402, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7effd3f13f2546958a901adf65b940a4", async() => { BeginContext(444, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(458, 230, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f06c1fb96e084acebdc8bb062469c756", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(688, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.FirstDayOfWeek = DayOfWeek.Monday; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("first-day-of-week", __Syncfusion_JavaScript_Models_ScheduleProperties.FirstDayOfWeek, 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(712, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); BeginContext(729, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(758, 219, true); WriteLiteral("\r\n <div id=\"sampleProperties\">\r\n <div class=\"prop-grid\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">FirstDayOfWeek</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(977, 153, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4924d4641f3745e39a4afb7446811bc5", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = ViewBag.weekDays; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 1; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_DropDownListProperties.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(1130, 191, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">WorkWeek</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(1321, 190, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0795d9223daa4c0eb6fbdeb1478e41fb", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); #line 29 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = ViewBag.weekDays; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 29 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.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 29 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\FirstDayOfWeek.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndices = ViewBag.selectedItems; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-indices", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndices, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (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(1511, 74, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(1588, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(1613, 644, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function onFirstDayOfWeekChange(args) { $(""#Schedule1"").ejSchedule({ firstDayOfWeek: args.value }); } function onWorkWeekChange(args) { var workweek = []; var array = args.model.selectedItems.sort(); for (i = 0; i < args.model.selectedItems.length; i++) { workweek.push(args.model.dataSource[array[i]]); } $(""#Schedule1"").ejSchedule({ workWeek: workweek }); } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(56, 49, true); WriteLiteral("\r\n <span class=\"sampleName\">TimeScale</span>\r\n"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(126, 124, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This example shows how to customize the timescale in the ASP.NET Core Scheduler.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(278, 21, true); WriteLiteral("\r\n <div>\r\n "); EndContext(); BeginContext(299, 458, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-schedule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d0aaba4697c64980b509482ec770ce73", async() => { BeginContext(395, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(409, 80, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-time-scale", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d0410612872d4ff0987f050828b208e8", async() => { } ); __Syncfusion_JavaScript_Models_TimeScale = CreateTagHelper <global::Syncfusion.JavaScript.Models.TimeScale>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_TimeScale); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_TimeScale.Enable = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable", __Syncfusion_JavaScript_Models_TimeScale.Enable, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_TimeScale.MajorSlot = 60; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("major-slot", __Syncfusion_JavaScript_Models_TimeScale.MajorSlot, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_TimeScale.MinorSlotCount = 6; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("minor-slot-count", __Syncfusion_JavaScript_Models_TimeScale.MinorSlotCount, 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(489, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(503, 230, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-appointment-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "202008425870491f95eb6f6744a7f956", async() => { } ); __Syncfusion_JavaScript_Models_ScheduleFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleFields>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleFields); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.DataSource = ViewBag.appointments; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_ScheduleFields.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Subject = "Subject"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("subject", __Syncfusion_JavaScript_Models_ScheduleFields.Subject, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.StartTime = "StartTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("start-time", __Syncfusion_JavaScript_Models_ScheduleFields.StartTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.EndTime = "EndTime"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("end-time", __Syncfusion_JavaScript_Models_ScheduleFields.EndTime, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.AllDay = "AllDay"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("all-day", __Syncfusion_JavaScript_Models_ScheduleFields.AllDay, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence = "Recurrence"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence", __Syncfusion_JavaScript_Models_ScheduleFields.Recurrence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule = "RecurrenceRule"; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("recurrence-rule", __Syncfusion_JavaScript_Models_ScheduleFields.RecurrenceRule, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(733, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_ScheduleProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ScheduleProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ScheduleProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_Models_ScheduleProperties.Width = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_ScheduleProperties.Height = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate = new DateTime(2017, 6, 5); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("current-date", __Syncfusion_JavaScript_Models_ScheduleProperties.CurrentDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(757, 14, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); } ); BeginContext(774, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(803, 215, true); WriteLiteral("\r\n <div id=\"sampleProperties\">\r\n <div class=\"prop-grid\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">Major Slot</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(1018, 120, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "237155c1092a47599f4b47d71b907a16", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = ViewBag.majorValue; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 3; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, 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(1138, 193, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">Minor Slot</div>\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(1331, 120, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4f7d0bc430254949994b9839103ca562", async() => { } ); __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource = ViewBag.minorValue; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_DropDownListProperties.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.cshtml" __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("selected-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_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(1451, 137, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(1588, 90, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4848004c645f4e82860304ed6b7fa9d8", async() => { } ); __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); #line 35 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Schedule\Timescale.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.Click = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1678, 74, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); } ); BeginContext(1755, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(1780, 496, true); WriteLiteral(@" <script type=""text/javascript""> $(function () { $(""#sampleProperties"").ejPropertiesPanel(); }); function onTimeScaleChange(args) { $(""#Schedule1"").ejSchedule({ timeScale: { majorSlot: parseInt($(""#majorslot"").ejDropDownList(""model.value"")), minorSlotCount: parseInt($(""#minorslot"").ejDropDownList(""model.value"")) } }); } </script> "); EndContext(); } ); }