Example #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 166, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"This example demonstrates how to change the date format in the input field based on the format in a ASP.NET Core DatePicker\">\r\n");
                EndContext();
            }
                          );
            BeginContext(187, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(223, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 236, "\"", 300, 1);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Format.cshtml"
                WriteAttributeValue("", 242, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 242, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(301, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            DefineSection("SampleHeading", async() => {
                BeginContext(339, 52, true);
                WriteLiteral("<span class=\"sampleName\">DatePicker / Format</span> ");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(419, 98, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n          <div class=\"control\" style=\"margin-left:35px;\">\r\n            ");
                EndContext();
                BeginContext(517, 96, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "17c23d32127e467bb6ae46f7422d48a3", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Format.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.Value = DateTime.Today;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DatePickerProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DatePickerProperties.DateFormat = (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(613, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            BeginContext(646, 196, true);
            WriteLiteral("\r\n<div id=\"droplist\">\r\n    <ul>\r\n        <li>MM/dd/yyyy</li>\r\n        <li>d M, y</li>\r\n        <li>d MM, y</li>\r\n        <li>dddd, d MMMM, yy</li>\r\n        <li>yyyy-MM-dd</li>\r\n    </ul>\r\n</div>\r\n");
            EndContext();
            DefineSection("PropertiesSection", async() => {
                BeginContext(869, 157, true);
                WriteLiteral("\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            <span>Select Format</span>\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            ");
                EndContext();
                BeginContext(1026, 126, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c1a11958b3ec489ea844e2abe8fb32c6", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 33 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Format.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 0;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_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(1152, 32, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1210, 323, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        $(function () {
            $(""#sampleProperties"").ejPropertiesPanel();
        });
        function onchange(args) {
            var datebject = $(""#DatePick"").data(""ejDatePicker"");
            datebject.setModel({ dateFormat: args.text });
        }

    </script>
");
                EndContext();
            }
                          );
        }
Example #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 127, true);
                WriteLiteral("\r\n<meta name=\"description\" content=\"This example demonstrates how to show the DatePicker in the inline mode in ASP.NET Core\">\r\n");
                EndContext();
            }
                          );
            BeginContext(148, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(182, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 195, "\"", 259, 1);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DisplayInline.cshtml"
                WriteAttributeValue("", 201, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 201, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(260, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            DefineSection("SampleHeading", async() => {
                BeginContext(298, 59, true);
                WriteLiteral("<span class=\"sampleName\">DatePicker / DisplayInline </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(385, 35, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n        ");
                EndContext();
                BeginContext(420, 125, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "46eff96d806349c1b5667ed282e69f4c", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_DatePickerProperties.TagName = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DisplayInline.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.DisplayInline = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("display-inline", __Syncfusion_JavaScript_Models_DatePickerProperties.DisplayInline, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DisplayInline.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.ShowFooter = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-footer", __Syncfusion_JavaScript_Models_DatePickerProperties.ShowFooter, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DatePickerProperties.Select = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(545, 63, true);
                WriteLiteral(" \r\n        <div id=\"col-md-3\">Select a date</div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(634, 222, true);
                WriteLiteral("\r\n    <script type=\"text/javascript\">\r\n        function onSelected(args) {\r\n            $(\"#col-md-3\").html(\"Selected date : \" + args.value);\r\n        }\r\n        $(\"#sampleProperties\").ejPropertiesPanel();\r\n    </script>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(881, 244, true);
                WriteLiteral("\r\n    <style>\r\n        .darktheme .frame, .frame {\r\n            padding: 21px 0px 10px 46px;\r\n            width: 280px;\r\n        }\r\n\r\n        #col-md-3 {\r\n            margin-top: 5px;\r\n            margin-left: 25px;\r\n        }\r\n    </style>\r\n\r\n");
                EndContext();
            }
                          );
        }
Example #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 155, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"This example demonstrates the various events like created, selected, open and close in a ASP.NET Core DatePicker\">\r\n");
                EndContext();
            }
                          );
            BeginContext(176, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(210, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 223, "\"", 287, 1);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Events.cshtml"
                WriteAttributeValue("", 229, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 229, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(288, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            DefineSection("SampleHeading", async() => {
                BeginContext(326, 52, true);
                WriteLiteral("<span class=\"sampleName\">DatePicker / Events</span> ");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(406, 98, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n          <div class=\"control\" style=\"margin-left:35px;\">\r\n            ");
                EndContext();
                BeginContext(504, 116, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1ebf9b4b3b13483db5d8287a01f066c4", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_DatePickerProperties.Create = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_DatePickerProperties.Select = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_DatePickerProperties.Open = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DatePickerProperties.Close = (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(620, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            BeginContext(653, 145, true);
            WriteLiteral("<div id=\"target\">\r\n    <ul>\r\n        <li>create</li>\r\n        <li>select</li>\r\n        <li>open</li>\r\n        <li>close</li>\r\n    </ul>\r\n</div>\r\n");
            EndContext();
            DefineSection("EventsDropdown", async() => {
                BeginContext(822, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(828, 174, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "074c454d83984a2f9bd6fc7db10c02f9", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_DropDownListProperties.CssClass = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Events.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.ShowCheckbox = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-checkbox", __Syncfusion_JavaScript_Models_DropDownListProperties.ShowCheckbox, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Events.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("check-all", __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1002, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1030, 1418, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        // Client side Events
        function onCreate(args) {
            jQuery.addEventLog(""DatePicker has been <span class='eventTitle'>created.</span>"");
        }
        function onSelected(args) {
            jQuery.addEventLog(args.value + "" was <span class='eventTitle'>selected.</span>"");
        }
        function onOpen(args) {
            jQuery.addEventLog(""DatePicker popup has been <span class='eventTitle'>opened.</span>"");
        }
        function onClose(args) {
            jQuery.addEventLog(""DatePicker popup has been <span class='eventTitle'>closed.</span>"");
        }

        function onClear() {
            jQuery.clearEventLog();
        }
        function evtpropscheckedevent(args) {
            var dpObj = $(""#DatePick"").data(""ejDatePicker"");
            if (args.isChecked) {
                switch (args.selectedText) {
                    case ""select"": dpObj.option(args.selectedText, ""onSelected""); break;
              ");
                WriteLiteral(@"      case ""open"": dpObj.option(args.selectedText, ""onOpen""); break;
                    case ""close"": dpObj.option(args.selectedText, ""onClose""); break
                    case ""create"": dpObj.option(args.selectedText, ""onCreate""); break;
                }
            }
            else {
                dpObj.option(args.selectedText, null);
            }
        }
    </script>
");
                EndContext();
            }
                          );
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 128, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"This example demonstrates how to enable the rtl property in a ASP.NET Core DatePicker\">\r\n");
                EndContext();
            }
                          );
            BeginContext(149, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(183, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 196, "\"", 260, 1);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Rtl.cshtml"
                WriteAttributeValue("", 202, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 202, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(261, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            DefineSection("SampleHeading", async() => {
                BeginContext(299, 49, true);
                WriteLiteral("<span class=\"sampleName\">DatePicker / Rtl</span> ");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(376, 99, true);
                WriteLiteral("\r\n    <div class=\"frame \">\r\n          <div class=\"control\" style=\"margin-left:35px;\">\r\n            ");
                EndContext();
                BeginContext(475, 65, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f082d222bfc54735b1d677996728c8ec", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Rtl.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.EnableRTL = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-rtl", __Syncfusion_JavaScript_Models_DatePickerProperties.EnableRTL, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(540, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
        }
Example #5
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 151, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"This example demonstrates a simple, mobile-friendly and responsive ASP.NET Core DatePicker to select a date.\">\r\n");
                EndContext();
            }
                          );
            BeginContext(172, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(206, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 219, "\"", 283, 1);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Default.cshtml"
                WriteAttributeValue("", 225, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 225, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(284, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            DefineSection("SampleHeading", async() => {
                BeginContext(322, 53, true);
                WriteLiteral("<span class=\"sampleName\">DatePicker / Default</span> ");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(403, 96, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n        <div class=\"control\" style=\"margin-left:35px;\">\r\n            ");
                EndContext();
                BeginContext(499, 70, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fc486be0d9c4446091871a011751b52a", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Default.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.Value = DateTime.Today;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DatePickerProperties.Value, 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(569, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
        }
Example #6
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 158, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"This example demonstrates how the datepicker supports the keyboard navigation(keyboard shortcuts) in a ASP.NET Core\">\r\n");
                EndContext();
            }
                          );
            BeginContext(179, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(213, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 226, "\"", 290, 1);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Keyboard.cshtml"
                WriteAttributeValue("", 232, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 232, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(291, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            DefineSection("SampleHeading", async() => {
                BeginContext(329, 54, true);
                WriteLiteral("<span class=\"sampleName\">DatePicker / Keyboard</span> ");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(411, 95, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n       <div class=\"control\" style=\"margin-left:35px;\">\r\n            ");
                EndContext();
                BeginContext(506, 48, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d013aec787924e4ab6828ad949176787", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(554, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(614, 2437, true);
                WriteLiteral(@"
    <div class=""row"">
        <div class=""col-md-3"">
            Alt + j
        </div>
        <div class=""col-md-3"">
            Focuses the control
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Alt + Down
        </div>
        <div class=""col-md-3"">
            Opens the popup
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Left
        </div>
        <div class=""col-md-3"">
            Moves to previous date
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Right
        </div>
        <div class=""col-md-3"">
            Moves to next date
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Up
        </div>
        <div class=""col-md-3"">
            Moves one week upward
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Down
        </div>
        <div cl");
                WriteLiteral(@"ass=""col-md-3"">
            Moves one week downward
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Enter
        </div>
        <div class=""col-md-3"">
            Selects the focused date
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Alt + Enter
        </div>
        <div class=""col-md-3"">
            Selects the today date
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Esc
        </div>
        <div class=""col-md-3"">
            Closes the popup
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Up
        </div>
        <div class=""col-md-3"">
            Navigates to top view
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Down
        </div>
        <div class=""col-md-3"">
            Navigates to lower view
        </div>
    </div>
  ");
                WriteLiteral(@"  <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Left
        </div>
        <div class=""col-md-3"">
            Navigates to previous month
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Right
        </div>
        <div class=""col-md-3"">
            Navigates to next month
        </div>
    </div>
");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(3077, 353, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        $(function () {
            $(""#sampleProperties"").ejPropertiesPanel();
            $(document).on(""keydown"", function (e) {
                if (e.altKey && e.keyCode === 74) { // j- key code.
                    $(""#DatePick"").focus();
                }
            });
        });
    </script>
");
                EndContext();
            }
                          );
        }
Example #7
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 132, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"This example demonstrates how to show the other months dates in a ASP.NET Core DatePicker\">\r\n");
                EndContext();
            }
                          );
            BeginContext(153, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(187, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 200, "\"", 264, 1);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatesInOtherMonth.cshtml"
                WriteAttributeValue("", 206, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 206, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(265, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            DefineSection("SampleHeading", async() => {
                BeginContext(303, 64, true);
                WriteLiteral("<span class=\"sampleName\">DatePicker / DatesinOthermonths</span> ");
                EndContext();
            }
                          );
            BeginContext(370, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(397, 97, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n         <div class=\"control\" style=\"margin-left:35px;\">\r\n            ");
                EndContext();
                BeginContext(494, 94, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f67ca2c3596e4557a2a12f5d44c871f8", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatesInOtherMonth.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.Value = DateTime.Now;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DatePickerProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatesInOtherMonth.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.ShowOtherMonths = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-other-months", __Syncfusion_JavaScript_Models_DatePickerProperties.ShowOtherMonths, 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(588, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(648, 201, true);
                WriteLiteral("\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            <span>\r\n                Show Dates In Other Month\r\n            </span>\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            ");
                EndContext();
                BeginContext(849, 45, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-check-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "742c2980242f4be094d5e24411862f2a", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_CheckBoxProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.CheckBoxProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_CheckBoxProperties);
                __Syncfusion_JavaScript_Models_CheckBoxProperties.Id = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_CheckBoxProperties.Change = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(894, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(950, 460, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        $(function () {
            $(""#sampleProperties"").ejPropertiesPanel();
        });

        function onchange(args) {
            var datebject = $(""#DatePick"").data(""ejDatePicker"");
            if (args.isChecked)
                datebject.setModel({ showOtherMonths: true });
            else {
                datebject.setModel({ showOtherMonths: false });
            }
        }
    </script>
");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1435, 144, true);
                WriteLiteral("\r\n    <style type=\"text/css\" class=\"cssStyles\">\r\n        .cols-prop-area .content {\r\n            overflow-y: visible;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
Example #8
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 180, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"DatePicker for ASP.NET Core with the strongly typed extension support. Value is set from the code behind by invoking DatePickerFor helper\">\r\n");
                EndContext();
            }
                          );
            BeginContext(201, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(235, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 248, "\"", 312, 1);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml"
                WriteAttributeValue("", 254, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 254, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(313, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            DefineSection("SampleHeading", async() => {
                BeginContext(351, 59, true);
                WriteLiteral("<span class=\"sampleName\">DatePicker / DatePickerFor</span> ");
                EndContext();
            }
                          );
            BeginContext(413, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(480, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(509, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml"
                using (Html.BeginForm())
                {
#line default
#line hidden
                    BeginContext(558, 28, false);
#line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml"
                    Write(Html.ValidationSummary(true));

#line default
#line hidden
                    EndContext();
                    BeginContext(588, 68, true);
                    WriteLiteral("    <div class=\"frame\">\r\n        <div class=\"control\">\r\n            ");
                    EndContext();
                    BeginContext(656, 285, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "d7584f6cd93344a9868c5d7c1e2a6023", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml"
                    __Syncfusion_JavaScript_Models_DatePickerProperties.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => Model.Value);

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("ej-for", __Syncfusion_JavaScript_Models_DatePickerProperties.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml"
                    __Syncfusion_JavaScript_Models_DatePickerProperties.ValidationRules = new Dictionary <string, object>()
                    {
                        { "required", true }
                    };

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("validation-rules", __Syncfusion_JavaScript_Models_DatePickerProperties.ValidationRules, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
#line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml"
                    __Syncfusion_JavaScript_Models_DatePickerProperties.ValidationMessages = new Dictionary <string, object>()
                    {
                        { "required", "Date value is required" }
                    };

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("validation-messages", __Syncfusion_JavaScript_Models_DatePickerProperties.ValidationMessages, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(941, 15, true);
                    WriteLiteral("\r\n             ");
                    EndContext();
                    BeginContext(957, 45, false);
#line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml"
                    Write(Html.ValidationMessageFor(model => model.Value));

#line default
#line hidden
                    EndContext();
                    BeginContext(1002, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                    BeginContext(1016, 50, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "74a96f102de94c8e9fb76122432266b0", async() => {
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_ButtonProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.ButtonProperties>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ButtonProperties);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                    __Syncfusion_JavaScript_Models_ButtonProperties.Text = (string)__tagHelperAttribute_2.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
#line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml"
                    __Syncfusion_JavaScript_Models_ButtonProperties.Type = global::Syncfusion.JavaScript.ButtonType.Submit;

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_Models_ButtonProperties.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1066, 30, true);
                    WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                    EndContext();
#line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DatePickerFor.cshtml"
                }

#line default
#line hidden
                BeginContext(1099, 4, true);
                WriteLiteral("    ");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1128, 122, true);
                WriteLiteral("\r\n    <style>\r\n        #button {\r\n            margin-left: 30px;\r\n            margin-top: 20px;\r\n        }\r\n    </style>\r\n");
                EndContext();
            }
                          );
        }
        #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();
            }
                          );
        }
Example #10
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 117, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"This example demonstrates how to localize the datepicker in a ASP.NET Core\">\r\n");
                EndContext();
            }
                          );
            BeginContext(138, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(172, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 185, "\"", 249, 1);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Localization.cshtml"
                WriteAttributeValue("", 191, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 191, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(250, 23, true);
                WriteLiteral("></script>\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 273, "\"", 337, 1);
#line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Localization.cshtml"
                WriteAttributeValue("", 279, Url.Content("~/Scripts/cultures/ej.culture.de-DE.min.js"), 279, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(338, 23, true);
                WriteLiteral("></script>\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 361, "\"", 425, 1);
#line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Localization.cshtml"
                WriteAttributeValue("", 367, Url.Content("~/Scripts/cultures/ej.culture.fr-FR.min.js"), 367, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(426, 23, true);
                WriteLiteral("></script>\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 449, "\"", 513, 1);
#line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Localization.cshtml"
                WriteAttributeValue("", 455, Url.Content("~/Scripts/cultures/ej.culture.vi-VN.min.js"), 455, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(514, 23, true);
                WriteLiteral("></script>\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 537, "\"", 601, 1);
#line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Localization.cshtml"
                WriteAttributeValue("", 543, Url.Content("~/Scripts/cultures/ej.culture.zh-CN.min.js"), 543, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(602, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            DefineSection("SampleHeading", async() => {
                BeginContext(640, 58, true);
                WriteLiteral("<span class=\"sampleName\">DatePicker / Localization</span> ");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(726, 97, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n         <div class=\"control\" style=\"margin-left:35px;\">\r\n            ");
                EndContext();
                BeginContext(823, 83, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "eb3e16b826674a298d26265d58f1027c", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Localization.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.Value = DateTime.Now;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DatePickerProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DatePickerProperties.Locale = (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(906, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            BeginContext(939, 122, true);
            WriteLiteral("<div id=\"droplist\">\r\n    <ul>\r\n        <li>en-US</li>\r\n        <li>vi-VN</li>\r\n        <li>fr-FR</li>\r\n    </ul>\r\n</div>\r\n");
            EndContext();
            DefineSection("PropertiesSection", async() => {
                BeginContext(1088, 158, true);
                WriteLiteral("\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            <span>Select Culture</span>\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            ");
                EndContext();
                BeginContext(1246, 126, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4c1e7ecb038245489bc066544b9287aa", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 33 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Localization.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 2;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_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(1372, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1428, 559, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        function onchange(args) {
            var datebject = $(""#DatePick"").data(""ejDatePicker"");
            datebject.setModel({ locale: args.text });
        }

        $(""#sampleProperties"").ejPropertiesPanel();

        ej.DatePicker.Locale['fr-FR'] = {
            watermarkText: ""Sélectionner une date"",
            buttonText: ""Aujourd'hui""
        };
        ej.DatePicker.Locale['vi-VN'] = {
            watermarkText: ""Chọn ngày"",
            buttonText: 'Hôm nay'
        };

    </script>
");
                EndContext();
            }
                          );
            BeginContext(1990, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 153, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"This example demonstrates the various methods like show, hide, enable and disable in a ASP.NET Core DatePicker\">\r\n");
                EndContext();
            }
                          );
            BeginContext(174, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(208, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 221, "\"", 285, 1);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Methods.cshtml"
                WriteAttributeValue("", 227, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 227, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(286, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            DefineSection("SampleHeading", async() => {
                BeginContext(324, 51, true);
                WriteLiteral("<span class=\"sampleName\">DatePicker/Methods</span> ");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(403, 98, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n          <div class=\"control\" style=\"margin-left:35px;\">\r\n            ");
                EndContext();
                BeginContext(501, 99, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "41e6efdb884d48b28c264f53856f3adf", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Methods.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.Value = DateTime.Now;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DatePickerProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DatePickerProperties.Open = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
                __Syncfusion_JavaScript_Models_DatePickerProperties.Close = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(600, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("PropertiesSection", async() => {
                BeginContext(660, 118, true);
                WriteLiteral("\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">Show / Hide</div>\r\n        <div class=\"col-md-3\">\r\n            ");
                EndContext();
                BeginContext(778, 53, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-check-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "7d08cdb995c848f0a32da49655a18b61", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_CheckBoxProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.CheckBoxProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_CheckBoxProperties);
                __Syncfusion_JavaScript_Models_CheckBoxProperties.Id = (string)__tagHelperAttribute_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_CheckBoxProperties.Change = (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(831, 151, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">Enable / disable</div>\r\n        <div class=\"col-md-3\">\r\n            ");
                EndContext();
                BeginContext(982, 73, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-check-box", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "80d17fbba650477aa1abf21d4abdfaf2", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_CheckBoxProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.CheckBoxProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_CheckBoxProperties);
                __Syncfusion_JavaScript_Models_CheckBoxProperties.Id = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\Methods.cshtml"
                __Syncfusion_JavaScript_Models_CheckBoxProperties.Checked = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("checked", __Syncfusion_JavaScript_Models_CheckBoxProperties.Checked, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_CheckBoxProperties.Change = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1055, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1111, 1545, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        var dateobject, chckobject, temp = false, id = """";
        $(function () {
            // declaration
            dateobject = $(""#datepick"").data(""ejDatePicker"");
            chckobject = $(""#chkShowHide"").data(""ejCheckBox"");
        });
        function dpOpen(args) {
            chckobject.setModel({ checked: true });
        };
        function dpClose(args) {
            chckobject.setModel({ checked: false });
            temp = true;
        };
        function onShowHide(args) {
            if (args.isChecked) {
                if (id == ""ejchkShowHide"" && temp) {
                    chckobject.setModel({ checked: false });
                    temp = false;
                }
                else
                    dateobject.show();
            }
            else
                dateobject.hide();
        };
        function EnableDisable(args) {
            if (args.isChecked) {
                dateobject.enable();
          ");
                WriteLiteral(@"      chckobject.enable();
            } else {
                dateobject.disable();
                chckobject.disable();
            }
        };
        $(document).on('click', function (event) {
            var ele = event.target;
            var ele1 = $(ele).parents(""#ejchkShowHide"");
            var ele2 = $(ele).parents(""#datepick-img"");
            id = (ele1.length == 1 || ele2.length == 1) ? ""ejchkShowHide"" : """";
        });
        $(""#sampleProperties"").ejPropertiesPanel();
    </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, "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();
            }
                          );
        }
Example #13
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 176, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"This example demonstrates how to highlight the specific dates like weekends, holidays and special dates in a ASP.NET Core DatePicker.\">\r\n");
                EndContext();
            }
                          );
            BeginContext(197, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(232, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 245, "\"", 309, 1);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                WriteAttributeValue("", 251, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 251, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(310, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            DefineSection("SampleHeading", async() => {
                BeginContext(348, 58, true);
                WriteLiteral("<span class=\"sampleName\">DatePicker / SpecialDates</span> ");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(434, 115, true);
                WriteLiteral("\r\n    <div class=\"frame \">\r\n        <div class=\"control\">\r\n            <span>Select Show Date </span>\r\n            ");
                EndContext();
                BeginContext(549, 768, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5a5202412bd3459586e86f9a93a8079d", async() => {
                    BeginContext(652, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                    BeginContext(670, 616, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-special-dates", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d4197a90a5a548d182871e6356e155a3", async() => {
                        BeginContext(687, 22, true);
                        WriteLiteral("\r\n                    ");
                        EndContext();
                        BeginContext(709, 91, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-special-date", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c37c0537c2684127b255d6ee3345e70b", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_SpecialDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpecialDates>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpecialDates);
                        BeginWriteTagHelperAttribute();
#line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                        WriteLiteral(DateTime.Now.AddDays(-7));

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Syncfusion_JavaScript_Models_SpecialDates.Date = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("date", __Syncfusion_JavaScript_Models_SpecialDates.Date, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Syncfusion_JavaScript_Models_SpecialDates.Tooltip = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_SpecialDates.IconClass = (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(800, 22, true);
                        WriteLiteral("\r\n                    ");
                        EndContext();
                        BeginContext(822, 92, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-special-date", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "d0d1c775eae54baa91a6e68053d34378", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_SpecialDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpecialDates>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpecialDates);
                        BeginWriteTagHelperAttribute();
#line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                        WriteLiteral(DateTime.Now.AddDays(-3));

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Syncfusion_JavaScript_Models_SpecialDates.Date = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("date", __Syncfusion_JavaScript_Models_SpecialDates.Date, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Syncfusion_JavaScript_Models_SpecialDates.Tooltip = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        __Syncfusion_JavaScript_Models_SpecialDates.IconClass = (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(914, 22, true);
                        WriteLiteral("\r\n                    ");
                        EndContext();
                        BeginContext(936, 92, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-special-date", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "557b690b76814ef69e02cc0980edcd32", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_SpecialDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpecialDates>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpecialDates);
                        BeginWriteTagHelperAttribute();
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                        WriteLiteral(DateTime.Now.AddDays(0));

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Syncfusion_JavaScript_Models_SpecialDates.Date = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("date", __Syncfusion_JavaScript_Models_SpecialDates.Date, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Syncfusion_JavaScript_Models_SpecialDates.Tooltip = (string)__tagHelperAttribute_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        __Syncfusion_JavaScript_Models_SpecialDates.IconClass = (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(1028, 22, true);
                        WriteLiteral("\r\n                    ");
                        EndContext();
                        BeginContext(1050, 89, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-special-date", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8354e0d8713b49098eebc8aea0725a45", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_SpecialDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpecialDates>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpecialDates);
                        BeginWriteTagHelperAttribute();
#line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                        WriteLiteral(DateTime.Now.AddDays(5));

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Syncfusion_JavaScript_Models_SpecialDates.Date = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("date", __Syncfusion_JavaScript_Models_SpecialDates.Date, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Syncfusion_JavaScript_Models_SpecialDates.Tooltip = (string)__tagHelperAttribute_6.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                        __Syncfusion_JavaScript_Models_SpecialDates.IconClass = (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(1139, 22, true);
                        WriteLiteral("\r\n                    ");
                        EndContext();
                        BeginContext(1161, 89, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-special-date", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "0b39f3a2e20f4688ad4b63dcf686939b", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_SpecialDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpecialDates>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpecialDates);
                        BeginWriteTagHelperAttribute();
#line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                        WriteLiteral(DateTime.Now.AddDays(9));

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Syncfusion_JavaScript_Models_SpecialDates.Date = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("date", __Syncfusion_JavaScript_Models_SpecialDates.Date, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Syncfusion_JavaScript_Models_SpecialDates.Tooltip = (string)__tagHelperAttribute_8.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                        __Syncfusion_JavaScript_Models_SpecialDates.IconClass = (string)__tagHelperAttribute_9.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1250, 18, true);
                        WriteLiteral("\r\n                ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_DatepickerDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatepickerDates>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatepickerDates);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1286, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.EnablePersistence = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-persistence", __Syncfusion_JavaScript_Models_DatePickerProperties.EnablePersistence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.HighlightWeekend = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("highlight-weekend", __Syncfusion_JavaScript_Models_DatePickerProperties.HighlightWeekend, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.Value = DateTime.Now;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DatePickerProperties.Value, 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(1317, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1372, 931, true);
                WriteLiteral(@"

    <style>
        #e-DatePick .e-special-date-icon{
            background-image: url(../../images/tab/flags.png);
            background-repeat: no-repeat;
            width: 16px;
            height: 12px;
            display:inline-block;
            margin-right:3px;
        }

        #e-DatePick .e-special-date-icon.flag-aus{
            background-position: 0 -2px;
        }

        #e-DatePick .e-special-date-icon.flag-fr{
            background-position: 0 -331px;
        }

        #e-DatePick .e-special-date-icon.flag-us{
            background-position: 0 -1121px;
        }

        #e-DatePick .e-special-date-icon.flag-ind{
            background-position: -3px -462px;
        }

        #e-DatePick .e-special-date-icon.flag-ger{
            background-position: 0 -398px;
        }

        .e-datepicker.e-calendar {
            width: 29em;
        }
    </style>
");
                EndContext();
            }
                          );
        }
Example #14
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 156, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"This example demonstrates how to disables the specific range of dates (min and max) in a ASP.NET Core DatePicker.\">\r\n");
                EndContext();
            }
                          );
            BeginContext(177, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(211, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 224, "\"", 288, 1);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DateRange.cshtml"
                WriteAttributeValue("", 230, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 230, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(289, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            DefineSection("SampleHeading", async() => {
                BeginContext(327, 61, true);
                WriteLiteral("\r\n    <span class=\"sampleName\">DatePicker / DateRange</span> ");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(416, 160, true);
                WriteLiteral("\r\n    <div class=\"frame\">\r\n        <span class=\"acc\">\r\n            \r\n        </span><span class=\"firstdp\">\r\n            <span class=\"innerdp\">\r\n                ");
                EndContext();
                BeginContext(576, 263, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f84e232a90204d5d8b8b00da5f562179", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __Syncfusion_JavaScript_Models_DatePickerProperties.DateFormat = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DateRange.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.MinDate = DateTime.Now.AddDays(-7).GetDateTimeFormats()[3];

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("min-date", __Syncfusion_JavaScript_Models_DatePickerProperties.MinDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DateRange.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.MaxDate = DateTime.Now.AddMonths(3).GetDateTimeFormats()[3];

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("max-date", __Syncfusion_JavaScript_Models_DatePickerProperties.MaxDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DateRange.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.Value = DateTime.Now.GetDateTimeFormats()[3];

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DatePickerProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DatePickerProperties.Select = (string)__tagHelperAttribute_2.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(839, 117, true);
                WriteLiteral("\r\n            </span>\r\n\r\n        </span><span class=\"seconddp\">\r\n            <span class=\"innerdp\">\r\n                ");
                EndContext();
                BeginContext(956, 262, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "723f24b42ff949efb0cb14c247edecfb", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_DatePickerProperties.DateFormat = (string)__tagHelperAttribute_1.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
#line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DateRange.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.MinDate = DateTime.Now.GetDateTimeFormats()[3];

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("min-date", __Syncfusion_JavaScript_Models_DatePickerProperties.MinDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DateRange.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.MaxDate = DateTime.Now.AddMonths(3).GetDateTimeFormats()[3];

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("max-date", __Syncfusion_JavaScript_Models_DatePickerProperties.MaxDate, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\DateRange.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.Value = DateTime.Now.AddDays(7).GetDateTimeFormats()[3];

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DatePickerProperties.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DatePickerProperties.Select = (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(1218, 52, true);
                WriteLiteral("\r\n            </span>\r\n        </span>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1296, 1086, true);
                WriteLiteral(@"
    <script type=""text/javascript"">
        var maxDatepicker = null;
        var minDatepicker = null;
        $(function () {
            // declaration
            maxDatepicker = $(""daterange1"").data(""ejDatePicker"");
            minDatepicker = $(""daterange2"").data(""ejDatePicker"");
        });
        function selectedDate1(sender) {
            $(function () {
                maxDatepicker = $(""#daterange2"").data(""ejDatePicker"");
                minDatepicker1 = $(""#daterange1"").data(""ejDatePicker"");
                maxDatepicker.setModel({ ""minDate"": new Date(sender.value) });
                var curDate = new Date(sender.value);
                maxDatepicker.setModel({ value: new Date(curDate.getFullYear(), curDate.getMonth(), curDate.getDate() + 7) });
            });

        }
        function selectedDate2(sender) {
            $(function () {
                minDatepicker = $(""#daterange1"").data(""ejDatePicker"");
                minDatepicker.setModel({ ""maxDate"": new Date(se");
                WriteLiteral("nder.value) });\r\n            });\r\n        }\r\n\r\n    </script>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2407, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(2409, 70, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "b477f5c6a64d46d8a148cb024f8a518e", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2479, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            BeginContext(2484, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
Example #15
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("MetaTags", async() => {
                BeginContext(18, 176, true);
                WriteLiteral("\r\n   <meta name=\"description\" content=\"This example demonstrates how to highlight the specific dates like weekends, holidays and special dates in a ASP.NET Core DatePicker.\">\r\n");
                EndContext();
            }
                          );
            BeginContext(197, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptReferenceSection", async() => {
                BeginContext(232, 13, true);
                WriteLiteral("\r\n    <script");
                EndContext();
                BeginWriteAttribute("src", " src=\"", 245, "\"", 309, 1);
#line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                WriteAttributeValue("", 251, Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js"), 251, 58, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(310, 12, true);
                WriteLiteral("></script>\r\n");
                EndContext();
            }
                          );
            DefineSection("SampleHeading", async() => {
                BeginContext(348, 58, true);
                WriteLiteral("<span class=\"sampleName\">DatePicker / SpecialDates</span> ");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(434, 115, true);
                WriteLiteral("\r\n    <div class=\"frame \">\r\n        <div class=\"control\">\r\n            <span>Select Show Date </span>\r\n            ");
                EndContext();
                BeginContext(549, 768, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-date-picker", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7452844f8d3849ddac958bf026c6252c", async() => {
                    BeginContext(652, 18, true);
                    WriteLiteral("\r\n                ");
                    EndContext();
                    BeginContext(670, 616, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-special-dates", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cb99148a8202414ea8252e6c5c948f98", async() => {
                        BeginContext(687, 22, true);
                        WriteLiteral("\r\n                    ");
                        EndContext();
                        BeginContext(709, 91, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-special-date", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ad5a9b88d78445f78ab5adf4a24cb0f7", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_SpecialDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpecialDates>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpecialDates);
                        BeginWriteTagHelperAttribute();
#line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                        WriteLiteral(DateTime.Now.AddDays(-7));

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Syncfusion_JavaScript_Models_SpecialDates.Date = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("date", __Syncfusion_JavaScript_Models_SpecialDates.Date, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Syncfusion_JavaScript_Models_SpecialDates.Tooltip = (string)__tagHelperAttribute_0.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                        __Syncfusion_JavaScript_Models_SpecialDates.IconClass = (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(800, 22, true);
                        WriteLiteral("\r\n                    ");
                        EndContext();
                        BeginContext(822, 92, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-special-date", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "dd9586bbcf844363b423b8cbb55c9ce6", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_SpecialDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpecialDates>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpecialDates);
                        BeginWriteTagHelperAttribute();
#line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                        WriteLiteral(DateTime.Now.AddDays(-3));

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Syncfusion_JavaScript_Models_SpecialDates.Date = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("date", __Syncfusion_JavaScript_Models_SpecialDates.Date, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Syncfusion_JavaScript_Models_SpecialDates.Tooltip = (string)__tagHelperAttribute_2.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                        __Syncfusion_JavaScript_Models_SpecialDates.IconClass = (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(914, 22, true);
                        WriteLiteral("\r\n                    ");
                        EndContext();
                        BeginContext(936, 92, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-special-date", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "cac73c63f3114b69a1e904e5c62acc46", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_SpecialDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpecialDates>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpecialDates);
                        BeginWriteTagHelperAttribute();
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                        WriteLiteral(DateTime.Now.AddDays(0));

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Syncfusion_JavaScript_Models_SpecialDates.Date = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("date", __Syncfusion_JavaScript_Models_SpecialDates.Date, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Syncfusion_JavaScript_Models_SpecialDates.Tooltip = (string)__tagHelperAttribute_4.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                        __Syncfusion_JavaScript_Models_SpecialDates.IconClass = (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(1028, 22, true);
                        WriteLiteral("\r\n                    ");
                        EndContext();
                        BeginContext(1050, 89, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-special-date", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "808fc5789aa44f9a96c59b8248b0197a", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_SpecialDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpecialDates>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpecialDates);
                        BeginWriteTagHelperAttribute();
#line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                        WriteLiteral(DateTime.Now.AddDays(5));

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Syncfusion_JavaScript_Models_SpecialDates.Date = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("date", __Syncfusion_JavaScript_Models_SpecialDates.Date, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Syncfusion_JavaScript_Models_SpecialDates.Tooltip = (string)__tagHelperAttribute_6.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                        __Syncfusion_JavaScript_Models_SpecialDates.IconClass = (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(1139, 22, true);
                        WriteLiteral("\r\n                    ");
                        EndContext();
                        BeginContext(1161, 89, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-special-date", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4fcb6f11818943ee8a1979a1191f90b6", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_SpecialDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpecialDates>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpecialDates);
                        BeginWriteTagHelperAttribute();
#line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                        WriteLiteral(DateTime.Now.AddDays(9));

#line default
#line hidden
                        __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                        __Syncfusion_JavaScript_Models_SpecialDates.Date = __tagHelperStringValueBuffer;
                        __tagHelperExecutionContext.AddTagHelperAttribute("date", __Syncfusion_JavaScript_Models_SpecialDates.Date, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        __Syncfusion_JavaScript_Models_SpecialDates.Tooltip = (string)__tagHelperAttribute_8.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                        __Syncfusion_JavaScript_Models_SpecialDates.IconClass = (string)__tagHelperAttribute_9.Value;
                        __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1250, 18, true);
                        WriteLiteral("\r\n                ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_DatepickerDates = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatepickerDates>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatepickerDates);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1286, 14, true);
                    WriteLiteral("\r\n            ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DatePickerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DatePickerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DatePickerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.EnablePersistence = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-persistence", __Syncfusion_JavaScript_Models_DatePickerProperties.EnablePersistence, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.HighlightWeekend = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("highlight-weekend", __Syncfusion_JavaScript_Models_DatePickerProperties.HighlightWeekend, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\DatePicker\SpecialDates.cshtml"
                __Syncfusion_JavaScript_Models_DatePickerProperties.Value = DateTime.Now;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("value", __Syncfusion_JavaScript_Models_DatePickerProperties.Value, 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(1317, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1372, 931, true);
                WriteLiteral(@"

    <style>
        #e-DatePick .e-special-date-icon{
            background-image: url(../../images/tab/flags.png);
            background-repeat: no-repeat;
            width: 16px;
            height: 12px;
            display:inline-block;
            margin-right:3px;
        }

        #e-DatePick .e-special-date-icon.flag-aus{
            background-position: 0 -2px;
        }

        #e-DatePick .e-special-date-icon.flag-fr{
            background-position: 0 -331px;
        }

        #e-DatePick .e-special-date-icon.flag-us{
            background-position: 0 -1121px;
        }

        #e-DatePick .e-special-date-icon.flag-ind{
            background-position: -3px -462px;
        }

        #e-DatePick .e-special-date-icon.flag-ger{
            background-position: 0 -398px;
        }

        .e-datepicker.e-calendar {
            width: 29em;
        }
    </style>
");
                EndContext();
            }
                          );
        }