#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 147, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo shows highlight the conditions applied cell using Syncfusion ASP.NET Core Spreadsheet control.\">\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(191, 69, true); WriteLiteral("<span class=\"sampleName\"> Spreadsheet / Conditional Formatting</span>"); EndContext(); } ); DefineSection("ScriptReferenceSection", async() => { BeginContext(295, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 308, "\"", 362, 1); #line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" WriteAttributeValue("", 314, Url.Content("~/Scripts/jquery.validate.min.js"), 314, 48, false); #line default #line hidden EndWriteAttribute(); BeginContext(363, 23, true); WriteLiteral("></script>\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 386, "\"", 452, 1); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" WriteAttributeValue("", 392, Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js"), 392, 60, false); #line default #line hidden EndWriteAttribute(); BeginContext(453, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(493, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(499, 1575, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-spread-sheet", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "62802a78876e49c293fa8f13f7cf84c3", async() => { BeginContext(657, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(667, 85, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-scroll-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b5f100503c9540dcaf24d0eb6c501bc3", async() => { } ); __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpreadsheetScrollSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpreadsheetScrollSettings); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Width = 900; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Height = 470; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("height", __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Height, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(752, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(762, 1288, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-sheets", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f856b0962d6d4573a6c4f2076722eb7e", async() => { BeginContext(772, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(786, 1243, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-sheet", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1f5b1e3647e14cf68114b1041b856849", async() => { BeginContext(885, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(903, 960, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rules", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9d2f96a40d3244f0a8eb6cfc7e023606", async() => { BeginContext(920, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(942, 123, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b1cd3701c32842488f26a6a30fea65a8", async() => { } ); __Syncfusion_JavaScript_Models_ConditionalFormatting = CreateTagHelper <global::Syncfusion.JavaScript.Models.ConditionalFormatting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ConditionalFormatting); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Action = global::Syncfusion.JavaScript.SpreadsheetCFormatRuleAction.GreaterThan; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("action", __Syncfusion_JavaScript_Models_ConditionalFormatting.Action, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs = (new List <string>() { "5000" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("inputs", __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Color = global::Syncfusion.JavaScript.SpreadsheetCFormatHighlightColor.RedFill; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("color", __Syncfusion_JavaScript_Models_ConditionalFormatting.Color, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ConditionalFormatting.Range = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1065, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1087, 138, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f54d5a9a161645a389d02df356f82dfd", async() => { } ); __Syncfusion_JavaScript_Models_ConditionalFormatting = CreateTagHelper <global::Syncfusion.JavaScript.Models.ConditionalFormatting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ConditionalFormatting); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Action = global::Syncfusion.JavaScript.SpreadsheetCFormatRuleAction.LessThan; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("action", __Syncfusion_JavaScript_Models_ConditionalFormatting.Action, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs = (new List <string>() { "30" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("inputs", __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Color = global::Syncfusion.JavaScript.SpreadsheetCFormatHighlightColor.YellowFillwithDarkYellowText; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("color", __Syncfusion_JavaScript_Models_ConditionalFormatting.Color, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ConditionalFormatting.Range = (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(1225, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1247, 143, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a5fa1650009f4e5e9f57f81e5752f113", async() => { } ); __Syncfusion_JavaScript_Models_ConditionalFormatting = CreateTagHelper <global::Syncfusion.JavaScript.Models.ConditionalFormatting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ConditionalFormatting); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Action = global::Syncfusion.JavaScript.SpreadsheetCFormatRuleAction.Between; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("action", __Syncfusion_JavaScript_Models_ConditionalFormatting.Action, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs = (new List <string>() { "400", "500" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("inputs", __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Color = global::Syncfusion.JavaScript.SpreadsheetCFormatHighlightColor.GreenFillwithDarkGreenText; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("color", __Syncfusion_JavaScript_Models_ConditionalFormatting.Color, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ConditionalFormatting.Range = (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(1390, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1412, 117, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8b5f937dd56c4c369ae9c2b11effb921", async() => { } ); __Syncfusion_JavaScript_Models_ConditionalFormatting = CreateTagHelper <global::Syncfusion.JavaScript.Models.ConditionalFormatting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ConditionalFormatting); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Action = global::Syncfusion.JavaScript.SpreadsheetCFormatRuleAction.EqualTo; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("action", __Syncfusion_JavaScript_Models_ConditionalFormatting.Action, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs = (new List <string>() { "20" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("inputs", __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Color = global::Syncfusion.JavaScript.SpreadsheetCFormatHighlightColor.RedFill; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("color", __Syncfusion_JavaScript_Models_ConditionalFormatting.Color, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ConditionalFormatting.Range = (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(1529, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1551, 126, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "55a608bd73444633bd5592697838c00a", async() => { } ); __Syncfusion_JavaScript_Models_ConditionalFormatting = CreateTagHelper <global::Syncfusion.JavaScript.Models.ConditionalFormatting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ConditionalFormatting); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Action = global::Syncfusion.JavaScript.SpreadsheetCFormatRuleAction.TextContains; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("action", __Syncfusion_JavaScript_Models_ConditionalFormatting.Action, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs = (new List <string>() { "loafers" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("inputs", __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Color = global::Syncfusion.JavaScript.SpreadsheetCFormatHighlightColor.RedText; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("color", __Syncfusion_JavaScript_Models_ConditionalFormatting.Color, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ConditionalFormatting.Range = (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(1677, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1699, 128, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "abcc866ae13a4fd48a81b308c744160d", async() => { } ); __Syncfusion_JavaScript_Models_ConditionalFormatting = CreateTagHelper <global::Syncfusion.JavaScript.Models.ConditionalFormatting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ConditionalFormatting); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Action = global::Syncfusion.JavaScript.SpreadsheetCFormatRuleAction.DateOccur; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("action", __Syncfusion_JavaScript_Models_ConditionalFormatting.Action, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs = (new List <string>() { "02/04/2014" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("inputs", __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Color = global::Syncfusion.JavaScript.SpreadsheetCFormatHighlightColor.RedFill; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("color", __Syncfusion_JavaScript_Models_ConditionalFormatting.Color, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ConditionalFormatting.Range = (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(1827, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_SheetCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SheetCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SheetCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1863, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1881, 124, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-range-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79c3ac025e61445ea42ca1560f2c6dde", async() => { BeginContext(1899, 87, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-range-setting", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d4655c8637354aa5b537a47a4fffbe6d", async() => { } ); __Syncfusion_JavaScript_Models_RangeSetting = CreateTagHelper <global::Syncfusion.JavaScript.Models.RangeSetting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RangeSetting); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_RangeSetting.Datasource = ViewBag.Datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_RangeSetting.Datasource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_RangeSetting.ShowHeader = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-header", __Syncfusion_JavaScript_Models_RangeSetting.ShowHeader, 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(); } ); __Syncfusion_JavaScript_SheetCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SheetCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SheetCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2005, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Sheet = CreateTagHelper <global::Syncfusion.JavaScript.Models.Sheet>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Sheet); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_Sheet.MergeCells = (new List <string>() { "A1:A5", "D1:D5", "G1:G5", "G7:G11", "A7:A11", "D7:D11" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("merge-cells", __Syncfusion_JavaScript_Models_Sheet.MergeCells, 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(2029, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_SheetCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SheetCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SheetCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2050, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_WorkbookProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.WorkbookProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_WorkbookProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_WorkbookProperties.AllowFormulaBar = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-formula-bar", __Syncfusion_JavaScript_Models_WorkbookProperties.AllowFormulaBar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_WorkbookProperties.ShowRibbon = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-ribbon", __Syncfusion_JavaScript_Models_WorkbookProperties.ShowRibbon, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_WorkbookProperties.EnableContextMenu = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-context-menu", __Syncfusion_JavaScript_Models_WorkbookProperties.EnableContextMenu, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_WorkbookProperties.AllowImport = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-import", __Syncfusion_JavaScript_Models_WorkbookProperties.AllowImport, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_WorkbookProperties.LoadComplete = (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(2074, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(2102, 735, true); WriteLiteral(@" <script type=""text/javascript""> function loadComplete(args) { var xlFormat = this.XLFormat; this.sheetRename(""Conditional Formatting""); this.setWidthToColumns([165, 130, 37, 165, 130, 37, 129, 132]); xlFormat.format({ ""style"": { ""font-weight"": ""bold"", ""font-size"": ""10pt"", ""vertical-align"": ""middle"", ""text-align"": ""center"" } }, ""A1:A13""); xlFormat.format({ ""style"": { ""font-weight"": ""bold"", ""font-size"": ""10pt"", ""vertical-align"": ""middle"", ""text-align"": ""center"" } }, ""D1:D13""); xlFormat.format({ ""style"": { ""font-weight"": ""bold"", ""font-size"": ""10pt"", ""vertical-align"": ""middle"", ""text-align"": ""center"" } }, ""G1:G7""); } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 130, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo shows default Functionalities of Syncfusion ASP.NET Core Spreadsheet control.\">\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(174, 70, true); WriteLiteral("<span class=\"sampleName\"> Spreadsheet / Default Functionalities</span>"); EndContext(); } ); DefineSection("ScriptReferenceSection", async() => { BeginContext(279, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 292, "\"", 346, 1); #line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" WriteAttributeValue("", 298, Url.Content("~/Scripts/jquery.validate.min.js"), 298, 48, false); #line default #line hidden EndWriteAttribute(); BeginContext(347, 23, true); WriteLiteral("></script>\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 370, "\"", 436, 1); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" WriteAttributeValue("", 376, Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js"), 376, 60, false); #line default #line hidden EndWriteAttribute(); BeginContext(437, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(477, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(479, 597, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-spread-sheet", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c291422eca69491f8f6b7dcbe45b9e2d", async() => { BeginContext(596, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(602, 64, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-scroll-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "edcbbaa80b3246eea2de8e83ec1a7082", async() => { } ); __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpreadsheetScrollSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpreadsheetScrollSettings); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Width = 900; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Height = 470; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("height", __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Height, 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(666, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(672, 203, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-sheets", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "71eaa88e7d6a4ee388cab4ce7cb40f12", async() => { BeginContext(682, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(692, 166, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-sheet", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "71c5dec890ce45629fd0cd33e1544d61", async() => { BeginContext(701, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(715, 123, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-range-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3aefd09fa6d54537bc7890327339d50f", async() => { BeginContext(733, 86, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-range-setting", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "569b1b261b744c14849dd4348b8f4ef7", async() => { } ); __Syncfusion_JavaScript_Models_RangeSetting = CreateTagHelper <global::Syncfusion.JavaScript.Models.RangeSetting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RangeSetting); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" __Syncfusion_JavaScript_Models_RangeSetting.Datasource = ViewBag.Datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_RangeSetting.Datasource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" __Syncfusion_JavaScript_Models_RangeSetting.ShowHeader = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-header", __Syncfusion_JavaScript_Models_RangeSetting.ShowHeader, 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(); } ); __Syncfusion_JavaScript_SheetCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SheetCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SheetCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(838, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Sheet = CreateTagHelper <global::Syncfusion.JavaScript.Models.Sheet>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Sheet); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(858, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_SheetCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SheetCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SheetCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(875, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(881, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-import-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "682a3b754999435784811592f765786e", async() => { } ); __Syncfusion_JavaScript_Models_SpreadsheetImportSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpreadsheetImportSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpreadsheetImportSettings); __Syncfusion_JavaScript_Models_SpreadsheetImportSettings.ImportMapper = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(943, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(949, 107, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-export-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ff2fd09717494bfd8ec132946b6e3393", async() => { } ); __Syncfusion_JavaScript_Models_SpreadsheetExportSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpreadsheetExportSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpreadsheetExportSettings); __Syncfusion_JavaScript_Models_SpreadsheetExportSettings.ExcelUrl = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_SpreadsheetExportSettings.CsvUrl = (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(1056, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_WorkbookProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.WorkbookProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_WorkbookProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" __Syncfusion_JavaScript_Models_WorkbookProperties.AllowFormulaBar = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-formula-bar", __Syncfusion_JavaScript_Models_WorkbookProperties.AllowFormulaBar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_WorkbookProperties.LoadComplete = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_WorkbookProperties.OpenFailure = (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(1076, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1104, 803, true); WriteLiteral(@" <script type=""text/javascript""> function loadComplete(args) { var xlFormat = this.XLFormat; if (!this.model.isImport) { this.setWidthToColumns([ 142, 132, 110, 105, 102, 112, 122, 122, 102 ]); xlFormat.format({ ""style"": { ""font-weight"": ""bold"" } }, ""A1:H1""); xlFormat.format({ ""type"": ""shortdate"" }, ""B2:B11""); xlFormat.format({ ""type"": ""time"" }, ""C2:C11""); xlFormat.format({ ""type"": ""currency"" }, ""E2:H11""); } } function openFailure(args) { var alertDlg = $(""#"" + this._id + ""_alertdlg""); this._renderAlertDlgContent(alertDlg, ""Alert"", args.statusText); alertDlg.ejDialog(""open""); } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 130, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo shows default Functionalities of Syncfusion ASP.NET Core Spreadsheet control.\">\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(174, 70, true); WriteLiteral("<span class=\"sampleName\"> Spreadsheet / Default Functionalities</span>"); EndContext(); } ); DefineSection("ScriptReferenceSection", async() => { BeginContext(279, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 292, "\"", 346, 1); #line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" WriteAttributeValue("", 298, Url.Content("~/Scripts/jquery.validate.min.js"), 298, 48, false); #line default #line hidden EndWriteAttribute(); BeginContext(347, 23, true); WriteLiteral("></script>\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 370, "\"", 436, 1); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" WriteAttributeValue("", 376, Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js"), 376, 60, false); #line default #line hidden EndWriteAttribute(); BeginContext(437, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(477, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(479, 597, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-spread-sheet", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cdc973a7d9204a0facaf2215637be127", async() => { BeginContext(596, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(602, 64, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-scroll-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "60a47719bb0a468cbc4aa4c703e975e1", async() => { } ); __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpreadsheetScrollSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpreadsheetScrollSettings); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Width = 900; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Height = 470; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("height", __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Height, 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(666, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(672, 203, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-sheets", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "95e2e382ab9f4f31a65ca430a5651ef1", async() => { BeginContext(682, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(692, 166, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-sheet", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "957c2a7a1ebe43c9b455bbaa469ea6c6", async() => { BeginContext(701, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(715, 123, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-range-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "38a98ccbae9541abbed320f7ee438cdb", async() => { BeginContext(733, 86, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-range-setting", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ccb7bfec79b8458491cf460c38ae341c", async() => { } ); __Syncfusion_JavaScript_Models_RangeSetting = CreateTagHelper <global::Syncfusion.JavaScript.Models.RangeSetting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RangeSetting); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" __Syncfusion_JavaScript_Models_RangeSetting.Datasource = ViewBag.Datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_RangeSetting.Datasource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" __Syncfusion_JavaScript_Models_RangeSetting.ShowHeader = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-header", __Syncfusion_JavaScript_Models_RangeSetting.ShowHeader, 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(); } ); __Syncfusion_JavaScript_SheetCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SheetCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SheetCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(838, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Sheet = CreateTagHelper <global::Syncfusion.JavaScript.Models.Sheet>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Sheet); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(858, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_SheetCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SheetCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SheetCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(875, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(881, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-import-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f46c0245885a4d65baf3af65304b7ee5", async() => { } ); __Syncfusion_JavaScript_Models_SpreadsheetImportSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpreadsheetImportSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpreadsheetImportSettings); __Syncfusion_JavaScript_Models_SpreadsheetImportSettings.ImportMapper = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(943, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(949, 107, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-export-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4a743a6d871d4e33904ee1b0d80fee4c", async() => { } ); __Syncfusion_JavaScript_Models_SpreadsheetExportSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpreadsheetExportSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpreadsheetExportSettings); __Syncfusion_JavaScript_Models_SpreadsheetExportSettings.ExcelUrl = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_Models_SpreadsheetExportSettings.CsvUrl = (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(1056, 2, true); WriteLiteral("\r\n"); EndContext(); } ); __Syncfusion_JavaScript_Models_WorkbookProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.WorkbookProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_WorkbookProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\Default.cshtml" __Syncfusion_JavaScript_Models_WorkbookProperties.AllowFormulaBar = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-formula-bar", __Syncfusion_JavaScript_Models_WorkbookProperties.AllowFormulaBar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_WorkbookProperties.LoadComplete = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_Models_WorkbookProperties.OpenFailure = (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(1076, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1104, 803, true); WriteLiteral(@" <script type=""text/javascript""> function loadComplete(args) { var xlFormat = this.XLFormat; if (!this.model.isImport) { this.setWidthToColumns([ 142, 132, 110, 105, 102, 112, 122, 122, 102 ]); xlFormat.format({ ""style"": { ""font-weight"": ""bold"" } }, ""A1:H1""); xlFormat.format({ ""type"": ""shortdate"" }, ""B2:B11""); xlFormat.format({ ""type"": ""time"" }, ""C2:C11""); xlFormat.format({ ""type"": ""currency"" }, ""E2:H11""); } } function openFailure(args) { var alertDlg = $(""#"" + this._id + ""_alertdlg""); this._renderAlertDlgContent(alertDlg, ""Alert"", args.statusText); alertDlg.ejDialog(""open""); } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("MetaTags", async() => { BeginContext(18, 147, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This demo shows highlight the conditions applied cell using Syncfusion ASP.NET Core Spreadsheet control.\">\r\n"); EndContext(); } ); DefineSection("SampleHeading", async() => { BeginContext(191, 69, true); WriteLiteral("<span class=\"sampleName\"> Spreadsheet / Conditional Formatting</span>"); EndContext(); } ); DefineSection("ScriptReferenceSection", async() => { BeginContext(295, 13, true); WriteLiteral("\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 308, "\"", 362, 1); #line 6 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" WriteAttributeValue("", 314, Url.Content("~/Scripts/jquery.validate.min.js"), 314, 48, false); #line default #line hidden EndWriteAttribute(); BeginContext(363, 23, true); WriteLiteral("></script>\r\n <script"); EndContext(); BeginWriteAttribute("src", " src=\"", 386, "\"", 452, 1); #line 7 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" WriteAttributeValue("", 392, Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js"), 392, 60, false); #line default #line hidden EndWriteAttribute(); BeginContext(453, 12, true); WriteLiteral("></script>\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(493, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(499, 1575, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-spread-sheet", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7b8a543bbb8d4251919ec771791eedfe", async() => { BeginContext(657, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(667, 85, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-scroll-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "032f5c6ef7bb45a39f901dc630ff941e", async() => { } ); __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.SpreadsheetScrollSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_SpreadsheetScrollSettings); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Width = 900; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Height = 470; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("height", __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.Height, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.IsResponsive = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_SpreadsheetScrollSettings.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(752, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(762, 1288, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-sheets", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c7bdf55d69f94d4baa129f8a3ea8f267", async() => { BeginContext(772, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(786, 1243, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-sheet", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ebbe7616df7c40ab96215b2b420a7fd8", async() => { BeginContext(885, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(903, 960, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rules", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "debc7b029c744323972c5bb15a58ea6a", async() => { BeginContext(920, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(942, 123, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0704f8388c654293bf2267c6e8e0aa51", async() => { } ); __Syncfusion_JavaScript_Models_ConditionalFormatting = CreateTagHelper <global::Syncfusion.JavaScript.Models.ConditionalFormatting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ConditionalFormatting); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Action = global::Syncfusion.JavaScript.SpreadsheetCFormatRuleAction.GreaterThan; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("action", __Syncfusion_JavaScript_Models_ConditionalFormatting.Action, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs = (new List <string>() { "5000" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("inputs", __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Color = global::Syncfusion.JavaScript.SpreadsheetCFormatHighlightColor.RedFill; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("color", __Syncfusion_JavaScript_Models_ConditionalFormatting.Color, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ConditionalFormatting.Range = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1065, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1087, 138, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1d074d4b665f4653b9a988343bb5d62a", async() => { } ); __Syncfusion_JavaScript_Models_ConditionalFormatting = CreateTagHelper <global::Syncfusion.JavaScript.Models.ConditionalFormatting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ConditionalFormatting); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Action = global::Syncfusion.JavaScript.SpreadsheetCFormatRuleAction.LessThan; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("action", __Syncfusion_JavaScript_Models_ConditionalFormatting.Action, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs = (new List <string>() { "30" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("inputs", __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Color = global::Syncfusion.JavaScript.SpreadsheetCFormatHighlightColor.YellowFillwithDarkYellowText; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("color", __Syncfusion_JavaScript_Models_ConditionalFormatting.Color, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ConditionalFormatting.Range = (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(1225, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1247, 143, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b83607d063ea4864a0ec0accf3be3fae", async() => { } ); __Syncfusion_JavaScript_Models_ConditionalFormatting = CreateTagHelper <global::Syncfusion.JavaScript.Models.ConditionalFormatting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ConditionalFormatting); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Action = global::Syncfusion.JavaScript.SpreadsheetCFormatRuleAction.Between; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("action", __Syncfusion_JavaScript_Models_ConditionalFormatting.Action, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs = (new List <string>() { "400", "500" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("inputs", __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Color = global::Syncfusion.JavaScript.SpreadsheetCFormatHighlightColor.GreenFillwithDarkGreenText; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("color", __Syncfusion_JavaScript_Models_ConditionalFormatting.Color, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ConditionalFormatting.Range = (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(1390, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1412, 117, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3e767c24cfc348f381f495491f975cd9", async() => { } ); __Syncfusion_JavaScript_Models_ConditionalFormatting = CreateTagHelper <global::Syncfusion.JavaScript.Models.ConditionalFormatting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ConditionalFormatting); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Action = global::Syncfusion.JavaScript.SpreadsheetCFormatRuleAction.EqualTo; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("action", __Syncfusion_JavaScript_Models_ConditionalFormatting.Action, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs = (new List <string>() { "20" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("inputs", __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Color = global::Syncfusion.JavaScript.SpreadsheetCFormatHighlightColor.RedFill; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("color", __Syncfusion_JavaScript_Models_ConditionalFormatting.Color, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ConditionalFormatting.Range = (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(1529, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1551, 126, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2ea8b36e69a14c71956dec32d82715bb", async() => { } ); __Syncfusion_JavaScript_Models_ConditionalFormatting = CreateTagHelper <global::Syncfusion.JavaScript.Models.ConditionalFormatting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ConditionalFormatting); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Action = global::Syncfusion.JavaScript.SpreadsheetCFormatRuleAction.TextContains; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("action", __Syncfusion_JavaScript_Models_ConditionalFormatting.Action, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs = (new List <string>() { "loafers" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("inputs", __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Color = global::Syncfusion.JavaScript.SpreadsheetCFormatHighlightColor.RedText; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("color", __Syncfusion_JavaScript_Models_ConditionalFormatting.Color, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ConditionalFormatting.Range = (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(1677, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1699, 128, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-cformat-rule", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b7c8b050c8a14ce4b061772575898e6b", async() => { } ); __Syncfusion_JavaScript_Models_ConditionalFormatting = CreateTagHelper <global::Syncfusion.JavaScript.Models.ConditionalFormatting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_ConditionalFormatting); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Action = global::Syncfusion.JavaScript.SpreadsheetCFormatRuleAction.DateOccur; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("action", __Syncfusion_JavaScript_Models_ConditionalFormatting.Action, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs = (new List <string>() { "02/04/2014" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("inputs", __Syncfusion_JavaScript_Models_ConditionalFormatting.Inputs, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_ConditionalFormatting.Color = global::Syncfusion.JavaScript.SpreadsheetCFormatHighlightColor.RedFill; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("color", __Syncfusion_JavaScript_Models_ConditionalFormatting.Color, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_ConditionalFormatting.Range = (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(1827, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_SheetCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SheetCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SheetCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1863, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1881, 124, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-range-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fdf63fa4dcf244189c2aef6f9a9f0ea3", async() => { BeginContext(1899, 87, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-range-setting", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6c5840f54b834860bfcf5e19701a2329", async() => { } ); __Syncfusion_JavaScript_Models_RangeSetting = CreateTagHelper <global::Syncfusion.JavaScript.Models.RangeSetting>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_RangeSetting); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_RangeSetting.Datasource = ViewBag.Datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("datasource", __Syncfusion_JavaScript_Models_RangeSetting.Datasource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_RangeSetting.ShowHeader = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-header", __Syncfusion_JavaScript_Models_RangeSetting.ShowHeader, 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(); } ); __Syncfusion_JavaScript_SheetCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SheetCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SheetCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2005, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_Sheet = CreateTagHelper <global::Syncfusion.JavaScript.Models.Sheet>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_Sheet); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_Sheet.MergeCells = (new List <string>() { "A1:A5", "D1:D5", "G1:G5", "G7:G11", "A7:A11", "D7:D11" }); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("merge-cells", __Syncfusion_JavaScript_Models_Sheet.MergeCells, 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(2029, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_SheetCollectionTag = CreateTagHelper <global::Syncfusion.JavaScript.SheetCollectionTag>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_SheetCollectionTag); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2050, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_Models_WorkbookProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.WorkbookProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_WorkbookProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_WorkbookProperties.AllowFormulaBar = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-formula-bar", __Syncfusion_JavaScript_Models_WorkbookProperties.AllowFormulaBar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_WorkbookProperties.ShowRibbon = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("show-ribbon", __Syncfusion_JavaScript_Models_WorkbookProperties.ShowRibbon, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_WorkbookProperties.EnableContextMenu = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-context-menu", __Syncfusion_JavaScript_Models_WorkbookProperties.EnableContextMenu, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Spreadsheet\ConditionalFormatting.cshtml" __Syncfusion_JavaScript_Models_WorkbookProperties.AllowImport = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("allow-import", __Syncfusion_JavaScript_Models_WorkbookProperties.AllowImport, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_Models_WorkbookProperties.LoadComplete = (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(2074, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(2102, 735, true); WriteLiteral(@" <script type=""text/javascript""> function loadComplete(args) { var xlFormat = this.XLFormat; this.sheetRename(""Conditional Formatting""); this.setWidthToColumns([165, 130, 37, 165, 130, 37, 129, 132]); xlFormat.format({ ""style"": { ""font-weight"": ""bold"", ""font-size"": ""10pt"", ""vertical-align"": ""middle"", ""text-align"": ""center"" } }, ""A1:A13""); xlFormat.format({ ""style"": { ""font-weight"": ""bold"", ""font-size"": ""10pt"", ""vertical-align"": ""middle"", ""text-align"": ""center"" } }, ""D1:D13""); xlFormat.format({ ""style"": { ""font-weight"": ""bold"", ""font-size"": ""10pt"", ""vertical-align"": ""middle"", ""text-align"": ""center"" } }, ""G1:G7""); } </script> "); EndContext(); } ); }