v22.1.34
This commit is contained in:
Родитель
8c11a08aca
Коммит
627c6014c3
|
@ -0,0 +1,11 @@
|
|||
.npmrc
|
||||
.vs/
|
||||
**/.vs/
|
||||
src/bin
|
||||
src/obj
|
||||
node_modules/
|
||||
bin/
|
||||
obj/
|
||||
package-lock.json
|
||||
deploy/
|
||||
npm-debug.log
|
|
@ -0,0 +1,18 @@
|
|||
/* Ignored false Leaks in .cs files*/
|
||||
Controllers/PDF/EncryptionController.cs:generic-api-key:43
|
||||
Controllers/PDF/EncryptionController.cs:generic-api-key:48
|
||||
Controllers/PDF/EncryptionController.cs:generic-api-key:54
|
||||
Controllers/PDF/EncryptionController.cs:generic-api-key:60
|
||||
Models/ExportEmployeeDetails.cs:aws-access-token:33
|
||||
Models/ExportEmployeeDetails.cs:aws-access-token:37
|
||||
Models/ExportEmployeeDetails.cs:aws-access-token:49
|
||||
/* Ignored false leaks in .cshtml files */
|
||||
Views/PivotTable/CellTemplate.cshtml:aws-access-token:48
|
||||
Views/Schedule/CalendarIntegration.cshtml:gcp-api-key:4
|
||||
/* Ignored false leaks in .css files */
|
||||
wwwroot/styles/bootstrap-dark.css:aws-access-token:1
|
||||
wwwroot/styles/bootstrap.css:aws-access-token:1
|
||||
wwwroot/styles/material3-dark.css:aws-access-token:1
|
||||
wwwroot/styles/material3.css:aws-access-token:1
|
||||
wwwroot/styles/tailwind.css:aws-access-token:1
|
||||
wwwroot/styles/tailwind-dark.css:aws-access-token:1
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AccordionController : Controller
|
||||
{
|
||||
public IActionResult Ajax()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AccordionController : Controller
|
||||
{
|
||||
// GET: /<controller>/
|
||||
public IActionResult DefaultFunctionalities()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AccordionController : Controller
|
||||
{
|
||||
public IActionResult Icons()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AccordionController : Controller
|
||||
{
|
||||
// GET: /<controller>/
|
||||
public IActionResult KeyboardInteraction()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AccordionController : Controller
|
||||
{
|
||||
public IActionResult Rtl()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,144 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using Syncfusion.EJ2.Navigations;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AppBarController : Controller
|
||||
{
|
||||
public IActionResult Color()
|
||||
{
|
||||
List<object> productDropDownButtonItems = new List<object>();
|
||||
productDropDownButtonItems.Add(new
|
||||
{
|
||||
text = "Developer",
|
||||
});
|
||||
productDropDownButtonItems.Add(new
|
||||
{
|
||||
text = "Analytics",
|
||||
});
|
||||
productDropDownButtonItems.Add(new
|
||||
{
|
||||
text = "Reporting",
|
||||
});
|
||||
productDropDownButtonItems.Add(new
|
||||
{
|
||||
text = "E-Signature",
|
||||
});
|
||||
productDropDownButtonItems.Add(new
|
||||
{
|
||||
text = "Help-Desk",
|
||||
});
|
||||
ViewBag.ProductDropDownButtonItems = productDropDownButtonItems;
|
||||
|
||||
List<object> companyDropDownButtonItems = new List<object>();
|
||||
companyDropDownButtonItems.Add(new
|
||||
{
|
||||
text = "Dashboard",
|
||||
});
|
||||
companyDropDownButtonItems.Add(new
|
||||
{
|
||||
text = "Notifications",
|
||||
});
|
||||
companyDropDownButtonItems.Add(new
|
||||
{
|
||||
text = "User Settings",
|
||||
});
|
||||
companyDropDownButtonItems.Add(new
|
||||
{
|
||||
text = "Log Out",
|
||||
});
|
||||
ViewBag.CompanyDropDownButtonItems = companyDropDownButtonItems;
|
||||
|
||||
List<MenuItem> verticalMenuItems = new List<MenuItem>(){
|
||||
new MenuItem
|
||||
{
|
||||
IconCss= "e-icons e-more-vertical-1",
|
||||
Items = new List<MenuItem>()
|
||||
{
|
||||
new MenuItem { Text= "Home" },
|
||||
new MenuItem
|
||||
{
|
||||
Text = "Products",
|
||||
Items = new List<MenuItem>()
|
||||
{
|
||||
new MenuItem { Text= "Developer" },
|
||||
new MenuItem { Text= "Analytics" },
|
||||
new MenuItem { Text= "Reporting" },
|
||||
new MenuItem { Text= "E-Signature" },
|
||||
new MenuItem { Text= "Help Desk" }
|
||||
}
|
||||
},
|
||||
new MenuItem
|
||||
{
|
||||
Text = "Company",
|
||||
Items = new List<MenuItem>()
|
||||
{
|
||||
new MenuItem { Text= "About Us" },
|
||||
new MenuItem { Text= "Customers" },
|
||||
new MenuItem { Text= "Blog" },
|
||||
new MenuItem { Text= "Careers" }
|
||||
}
|
||||
},
|
||||
new MenuItem { Text = "Login" }
|
||||
}
|
||||
}
|
||||
};
|
||||
ViewBag.VerticalMenuItems = verticalMenuItems;
|
||||
|
||||
List<ColorData> appBarColors = new List<ColorData>();
|
||||
appBarColors.Add(new ColorData
|
||||
{
|
||||
ColorMode = "Light",
|
||||
ColorClass = " e-light",
|
||||
AppBarColorMode = AppBarColor.Light,
|
||||
IsPrimary = true,
|
||||
LoginClass = "login"
|
||||
});
|
||||
appBarColors.Add(new ColorData
|
||||
{
|
||||
ColorMode = "Dark",
|
||||
ColorClass = " e-dark",
|
||||
AppBarColorMode = AppBarColor.Dark,
|
||||
IsPrimary = false,
|
||||
LoginClass = "e-inherit login"
|
||||
});
|
||||
appBarColors.Add(new ColorData
|
||||
{
|
||||
ColorMode = "Primary",
|
||||
ColorClass = " e-primary",
|
||||
AppBarColorMode = AppBarColor.Primary,
|
||||
IsPrimary = false,
|
||||
LoginClass = "e-inherit login"
|
||||
});
|
||||
appBarColors.Add(new ColorData
|
||||
{
|
||||
ColorMode = "Inherit",
|
||||
ColorClass = "",
|
||||
AppBarColorMode = AppBarColor.Inherit,
|
||||
IsPrimary = true,
|
||||
LoginClass = "login"
|
||||
});
|
||||
ViewBag.AppBarColors = appBarColors;
|
||||
|
||||
return View();
|
||||
}
|
||||
|
||||
public class ColorData
|
||||
{
|
||||
public string? ColorMode { get; set; }
|
||||
public string? ColorClass { get; set; }
|
||||
public AppBarColor AppBarColorMode { get; set; }
|
||||
public bool IsPrimary { get; set; }
|
||||
public string? LoginClass { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AppBarController : Controller
|
||||
{
|
||||
public IActionResult DefaultFunctionalities()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.ArcGauge
|
||||
{
|
||||
public partial class ArcGaugeController : Controller
|
||||
{
|
||||
public IActionResult CustomerSatisfactionScore()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser_NET6.Controllers.ArcGauge
|
||||
{
|
||||
public class ArcGaugeController : Controller
|
||||
{
|
||||
public IActionResult Default()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.ArcGauge
|
||||
{
|
||||
public partial class ArcGaugeController : Controller
|
||||
{
|
||||
public IActionResult KeyPerformanceIndicator()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.ArcGauge
|
||||
{
|
||||
public partial class ArcGaugeController : Controller
|
||||
{
|
||||
public IActionResult Patterns()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public class AutoCompleteValue
|
||||
{
|
||||
[Required(ErrorMessage = "Please enter a value")]
|
||||
public string val { get; set; }
|
||||
public string[] data { get; set; }
|
||||
}
|
||||
public partial class AutoCompleteController : Controller
|
||||
{
|
||||
public string[] datasource = new string[] { "American Football", "Badminton", "Basketball", "Cricket", "Football", "Golf", "Hockey", "Rugby", "Snooker", "Tennis" };
|
||||
public IActionResult AutoCompleteFor()
|
||||
{
|
||||
AutoCompleteValue model = new AutoCompleteValue();
|
||||
model.data = datasource;
|
||||
return View(model);
|
||||
}
|
||||
[HttpPost]
|
||||
public IActionResult AutoCompleteFor(AutoCompleteValue model)
|
||||
{
|
||||
model.data = datasource;
|
||||
model.val = model.val;
|
||||
return View(model);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using EJ2CoreSampleBrowser.Models;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AutoCompleteController : Controller
|
||||
{
|
||||
public IActionResult CustomFiltering()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using EJ2CoreSampleBrowser.Models;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AutoCompleteController : Controller
|
||||
{
|
||||
public IActionResult DataBinding()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AutoCompleteController : Controller
|
||||
{
|
||||
public IActionResult DefaultFunctionalities()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using EJ2CoreSampleBrowser.Models;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AutoCompleteController : Controller
|
||||
{
|
||||
public IActionResult DiacriticsFiltering()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using EJ2CoreSampleBrowser.Models;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AutoCompleteController : Controller
|
||||
{
|
||||
public IActionResult GroupingAndIcon()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using EJ2CoreSampleBrowser.Models;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AutoCompleteController : Controller
|
||||
{
|
||||
public IActionResult Highlight()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using EJ2CoreSampleBrowser.Models;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AutoCompleteController : Controller
|
||||
{
|
||||
public IActionResult Template()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AvatarController : Controller
|
||||
{
|
||||
public IActionResult Badge()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AvatarController : Controller
|
||||
{
|
||||
public IActionResult Card()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AvatarController : Controller
|
||||
{
|
||||
public IActionResult Default()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AvatarController : Controller
|
||||
{
|
||||
public IActionResult Listview()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class AvatarController : Controller
|
||||
{
|
||||
public IActionResult Types()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class BadgeController : Controller
|
||||
{
|
||||
public IActionResult Accordion()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class BadgeController : Controller
|
||||
{
|
||||
public IActionResult Default()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class BadgeController : Controller
|
||||
{
|
||||
public IActionResult Listview()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class BadgeController : Controller
|
||||
{
|
||||
public IActionResult Notification()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class BadgeController : Controller
|
||||
{
|
||||
public IActionResult Toolbar()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class BadgeController : Controller
|
||||
{
|
||||
public IActionResult Types()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult Ean8()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
public class ExpandOptions
|
||||
{
|
||||
public string text;
|
||||
public string value;
|
||||
}
|
||||
public class alignment
|
||||
{
|
||||
public string text;
|
||||
public string value;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult codabar()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult code128A()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult code128B()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult code128C()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult code128()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult code32()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult code39()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult code39Extd()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult code93()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult datamatrix()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult ean13()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult qrcode()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
public class coorectionLevel
|
||||
{
|
||||
public string text;
|
||||
public string value;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult upca()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Barcode
|
||||
{
|
||||
public partial class BarcodeController : Controller
|
||||
{
|
||||
public IActionResult upce()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,220 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using EJ2CoreSampleBrowser.Models;
|
||||
using Syncfusion.EJ2.Navigations;
|
||||
using Syncfusion.EJ2.Base;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class BreadcrumbController : Controller
|
||||
{
|
||||
// GET: /<controller>/
|
||||
public IActionResult AddressBar()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
public IActionResult AddressBarItemTemplatePartial([FromBody] CRUDModel<BreadcrumbItemModel> value)
|
||||
{
|
||||
string id = value.Value.Text != null ? value.Value.Text.Split(" ")[0].Split(".")[0] : "Home";
|
||||
List<MenuItem> menuItems = new List<MenuItem>(){
|
||||
new MenuItem
|
||||
{
|
||||
Text = value.Value.Text,
|
||||
IconCss = value.Value.IconCss
|
||||
}
|
||||
};
|
||||
ViewBag.menuItems = menuItems;
|
||||
return PartialView("_AddressBarItemTemplatePartial", id);
|
||||
}
|
||||
|
||||
public IActionResult AddressBarSeparatorTemplatePartial([FromBody] CRUDModel<BreadcrumbItemModel> value)
|
||||
{
|
||||
string id = value.Value.Text != null ? value.Value.Text.Split(" ")[0].Split(".")[0] : "Home";
|
||||
List<MenuItem> parentMenuItems = new List<MenuItem>() {
|
||||
new MenuItem { Items = new List<MenuItem>() }
|
||||
};
|
||||
List<MenuItem> subMenuItems = (List<MenuItem>)parentMenuItems[0].Items;
|
||||
var items = getItems(value.Value.Text, false, value.Value.Items);
|
||||
if (items != null)
|
||||
{
|
||||
foreach (var item in items)
|
||||
{
|
||||
subMenuItems.Add(new MenuItem { Text = item.Text, Id = item.Type });
|
||||
}
|
||||
}
|
||||
ViewBag.subMenuItems = parentMenuItems;
|
||||
return PartialView("_AddressBarSeparatorTemplatePartial", id);
|
||||
}
|
||||
|
||||
private List<AddressBarItemModel> getItems(string text, bool needParent, List<BreadcrumbItemModel> breadcrumbItems)
|
||||
{
|
||||
List<AddressBarItemModel> mItems = items;
|
||||
bool isBreaked = false;
|
||||
if (text == null || text == "")
|
||||
{
|
||||
mItems = getSubMenuItems(mItems);
|
||||
}
|
||||
else
|
||||
{
|
||||
for (var i = 1; i < breadcrumbItems.Count; i++)
|
||||
{
|
||||
for (var j = 0; j < mItems.Count; j++)
|
||||
{
|
||||
if (mItems[j].Text == breadcrumbItems[i].Text)
|
||||
{
|
||||
if (mItems[j].Text == text)
|
||||
{
|
||||
if (needParent)
|
||||
{
|
||||
mItems = new List<AddressBarItemModel>() { mItems[j] };
|
||||
}
|
||||
else
|
||||
{
|
||||
mItems = getSubMenuItems(mItems[j].Items);
|
||||
}
|
||||
isBreaked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
mItems = mItems[j].Items;
|
||||
j = 0;
|
||||
if (mItems == null)
|
||||
{
|
||||
isBreaked = true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (isBreaked)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return mItems;
|
||||
}
|
||||
|
||||
private List<AddressBarItemModel> getSubMenuItems(List<AddressBarItemModel> mItems)
|
||||
{
|
||||
List<AddressBarItemModel> subItems = new List<AddressBarItemModel>();
|
||||
if (mItems != null)
|
||||
{
|
||||
for (var i = 0; i < mItems.Count; i++)
|
||||
{
|
||||
subItems.Add(new AddressBarItemModel { Text = mItems[i].Text, Type = mItems[i].Type });
|
||||
}
|
||||
}
|
||||
return subItems;
|
||||
}
|
||||
|
||||
private List<AddressBarItemModel> items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel {
|
||||
Text = "OneDrive", Type = "onedrive",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "Documents", Type = "folder" },
|
||||
new AddressBarItemModel { Text = "Email attachments", Type = "folder" },
|
||||
new AddressBarItemModel { Text = "Music", Type = "folder" },
|
||||
new AddressBarItemModel { Text = "Pictures", Type = "folder" }
|
||||
}
|
||||
},
|
||||
new AddressBarItemModel {
|
||||
Text = "This PC", Type = "desktop",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "Desktop", Type = "desktop" },
|
||||
new AddressBarItemModel { Text = "Documents", Type = "documents",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "IISExpress", Type = "folder",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "config", Type = "folder" }
|
||||
} },
|
||||
new AddressBarItemModel { Text = "Visual Studio 2019", Type = "folder",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "Code Snippets", Type = "folder" },
|
||||
new AddressBarItemModel { Text = "Templates", Type = "folder" },
|
||||
new AddressBarItemModel { Text = "Visualizers", Type = "folder" }
|
||||
} }
|
||||
} },
|
||||
new AddressBarItemModel { Text = "Downloads", Type = "downloads" },
|
||||
new AddressBarItemModel { Text = "Local Disk (C:)", Type = "folder",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel {
|
||||
Text = "Microsoft", Type = "folder"
|
||||
},
|
||||
new AddressBarItemModel { Text = "Program Files", Type = "folder",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "Git", Type = "folder",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "bin", Type = "folder" },
|
||||
new AddressBarItemModel { Text = "cmd", Type = "folder" },
|
||||
new AddressBarItemModel { Text = "dev", Type = "folder" }
|
||||
} },
|
||||
new AddressBarItemModel { Text = "Google", Type = "folder",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "Chrome", Type = "folder" }
|
||||
} },
|
||||
new AddressBarItemModel { Text = "Internet Explorer", Type = "folder",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "en-US", Type = "folder" }
|
||||
} }
|
||||
} },
|
||||
new AddressBarItemModel { Text = "Program Files (x86)", Type = "folder",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "Microsoft", Type = "folder",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "Edge", Type = "folder" }
|
||||
} },
|
||||
new AddressBarItemModel { Text = "MSBuild", Type = "folder" },
|
||||
new AddressBarItemModel { Text = "Windows Defender", Type = "folder" }
|
||||
} },
|
||||
new AddressBarItemModel {
|
||||
Text = "Users", Type = "folder", Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel {
|
||||
Text = "Admin", Type = "folder", Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "Desktop", Type = "desktop" },
|
||||
new AddressBarItemModel { Text = "Documents", Type = "documents" },
|
||||
new AddressBarItemModel { Text = "Downloads", Type = "downloads" },
|
||||
new AddressBarItemModel { Text = "Pictures", Type = "picture" }
|
||||
}
|
||||
},
|
||||
new AddressBarItemModel { Text = "Public", Type = "folder" }
|
||||
}
|
||||
},
|
||||
new AddressBarItemModel { Text = "Windows", Type = "folder",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "Boot", Type = "folder" },
|
||||
new AddressBarItemModel { Text = "System32", Type = "folder",
|
||||
Items = new List<AddressBarItemModel>() {
|
||||
new AddressBarItemModel { Text = "Configuration", Type = "folder" },
|
||||
new AddressBarItemModel { Text = "LogFiles", Type = "folder" }
|
||||
} }
|
||||
} }
|
||||
}
|
||||
},
|
||||
new AddressBarItemModel { Text = "Local Disk (D:)", Type = "folder" }
|
||||
}
|
||||
},
|
||||
new AddressBarItemModel { Text = "Libraries", Type = "folder" },
|
||||
new AddressBarItemModel { Text = "Network", Type = "network" },
|
||||
new AddressBarItemModel { Text = "Recycle Bin", Type = "recyclebin" }
|
||||
};
|
||||
|
||||
public class AddressBarItemModel
|
||||
{
|
||||
public string Text { get; set; }
|
||||
public string Type { get; set; }
|
||||
public List<AddressBarItemModel> Items { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class BreadcrumbController : Controller
|
||||
{
|
||||
public IActionResult BindToLocation()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class BreadcrumbController : Controller
|
||||
{
|
||||
// GET: /<controller>/
|
||||
public IActionResult DefaultFunctionalities()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class BreadcrumbController : Controller
|
||||
{
|
||||
public IActionResult Events()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class BreadcrumbController : Controller
|
||||
{
|
||||
public IActionResult KeyboardNavigation()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class BreadcrumbController : Controller
|
||||
{
|
||||
// GET: /<controller>/
|
||||
public IActionResult OverFlowModes()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class BreadcrumbController : Controller
|
||||
{
|
||||
public IActionResult TemplateAndCustomization()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Charts;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
|
||||
{
|
||||
public partial class BulletChartController : Controller
|
||||
{
|
||||
public IActionResult Custom()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
public class CustomBulletData
|
||||
{
|
||||
public double value;
|
||||
public double target;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Charts;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
|
||||
{
|
||||
public partial class BulletChartController : Controller
|
||||
{
|
||||
public IActionResult Default()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
public class DefaultBulletData
|
||||
{
|
||||
public double value;
|
||||
public double target;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Charts;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
|
||||
{
|
||||
public partial class BulletChartController : Controller
|
||||
{
|
||||
public IActionResult Dot()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
public class DotBulletData
|
||||
{
|
||||
public double value;
|
||||
public double target;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
|
||||
{
|
||||
public partial class BulletChartController : Controller
|
||||
{
|
||||
public IActionResult Legend()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
public class LegendData
|
||||
{
|
||||
public double value;
|
||||
public double[] target;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Charts;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
|
||||
{
|
||||
public partial class BulletChartController : Controller
|
||||
{
|
||||
public IActionResult MultipleData()
|
||||
{
|
||||
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Charts;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
|
||||
{
|
||||
public partial class BulletChartController : Controller
|
||||
{
|
||||
public IActionResult Rtl()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Charts;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.BulletChart
|
||||
{
|
||||
public partial class BulletChartController : Controller
|
||||
{
|
||||
public IActionResult Tooltip()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2;
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Button
|
||||
{
|
||||
public partial class ButtonController : Controller
|
||||
{
|
||||
public IActionResult ButtonGroup()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Button
|
||||
{
|
||||
public partial class ButtonController : Controller
|
||||
{
|
||||
public IActionResult Checkbox()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class ButtonController : Controller
|
||||
{
|
||||
public IActionResult CheckboxFor()
|
||||
{
|
||||
CheckboxModel model = new CheckboxModel();
|
||||
model.check = true;
|
||||
return View(model);
|
||||
}
|
||||
[HttpPost]
|
||||
public IActionResult CheckboxFor(CheckboxModel model)
|
||||
{
|
||||
return View(model);
|
||||
}
|
||||
}
|
||||
public class CheckboxModel
|
||||
{
|
||||
[Range(typeof(bool), "true", "true", ErrorMessage = "You need to agree to the Terms and Conditions")]
|
||||
public bool check { get; set; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class ButtonController : Controller
|
||||
{
|
||||
|
||||
public IActionResult DefaultFunctionalities()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Buttons;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Button
|
||||
{
|
||||
public partial class ButtonController : Controller
|
||||
{
|
||||
public IActionResult DropdownButton()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.SplitButtons;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Button
|
||||
{
|
||||
public partial class ButtonController : Controller
|
||||
{
|
||||
public IActionResult ProgressButton()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Button
|
||||
{
|
||||
public partial class ButtonController : Controller
|
||||
{
|
||||
|
||||
public IActionResult RadioButton()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class ButtonController : Controller
|
||||
{
|
||||
public IActionResult RadioButtonFor()
|
||||
{
|
||||
RadioButtonModel model = new RadioButtonModel();
|
||||
model.gender = "female";
|
||||
return View(model);
|
||||
}
|
||||
[HttpPost]
|
||||
public IActionResult RadioButtonFor(RadioButtonModel model)
|
||||
{
|
||||
return View(model);
|
||||
}
|
||||
}
|
||||
|
||||
public class RadioButtonModel
|
||||
{
|
||||
[RegularExpression("male", ErrorMessage = "Male gender is required.")]
|
||||
public string gender { get; set; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.SplitButtons;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Button
|
||||
{
|
||||
public partial class ButtonController : Controller
|
||||
{
|
||||
public IActionResult SplitButton()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Button
|
||||
{
|
||||
public partial class ButtonController : Controller
|
||||
{
|
||||
public IActionResult Switch()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class ButtonController : Controller
|
||||
{
|
||||
public IActionResult SwitchFor()
|
||||
{
|
||||
SwitchModel model = new SwitchModel();
|
||||
model.check = true;
|
||||
return View(model);
|
||||
}
|
||||
[HttpPost]
|
||||
public IActionResult SwitchFor(SwitchModel model)
|
||||
{
|
||||
return View(model);
|
||||
}
|
||||
}
|
||||
public class SwitchModel
|
||||
{
|
||||
[Range(typeof(bool), "true", "true", ErrorMessage = "You need to agree to receive newsletter")]
|
||||
public bool check { get; set; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class CalendarController : Controller
|
||||
{
|
||||
// GET: /<controller>/
|
||||
public IActionResult DateRange()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class CalendarController : Controller
|
||||
{
|
||||
// GET: /<controller>/
|
||||
public IActionResult DefaultFunctionalities()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class CalendarController : Controller
|
||||
{
|
||||
// GET: /<controller>/
|
||||
public IActionResult DisabledDates()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class CalendarController : Controller
|
||||
{
|
||||
// GET: /<controller>/
|
||||
public IActionResult IslamicCalendar()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class CalendarController : Controller
|
||||
{
|
||||
public IActionResult MonthPicker()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Calendar
|
||||
{
|
||||
public partial class CalendarController : Controller
|
||||
{
|
||||
public IActionResult MultiSelection()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class CalendarController : Controller
|
||||
{
|
||||
// GET: /<controller>/
|
||||
public IActionResult SpecialDates()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class CardController : Controller
|
||||
{
|
||||
public IActionResult BasicCard()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class CardController : Controller
|
||||
{
|
||||
public IActionResult FlipCard()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class CardController : Controller
|
||||
{
|
||||
public IActionResult HorizontalCard()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class CardController : Controller
|
||||
{
|
||||
public IActionResult RevealCard()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class CardController : Controller
|
||||
{
|
||||
public IActionResult SwipeableCard()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class CardController : Controller
|
||||
{
|
||||
public IActionResult TileView()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class CardController : Controller
|
||||
{
|
||||
public IActionResult VerticalCard()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,51 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Carousel
|
||||
{
|
||||
public partial class CarouselController : Controller
|
||||
{
|
||||
public IActionResult API()
|
||||
{
|
||||
ViewBag.showArrowData = GetArrowData();
|
||||
ViewBag.intervalData = GetIntervalData();
|
||||
return View();
|
||||
}
|
||||
public class ShowArrow
|
||||
{
|
||||
public string Arrow { get; set; }
|
||||
public string Id { get; set; }
|
||||
}
|
||||
public List<ShowArrow> GetArrowData()
|
||||
{
|
||||
List<ShowArrow> arrows = new List<ShowArrow>();
|
||||
arrows.Add(new ShowArrow { Arrow = "Hidden", Id = "Hidden" });
|
||||
arrows.Add(new ShowArrow { Arrow = "Visible", Id = "Visible" });
|
||||
arrows.Add(new ShowArrow { Arrow = "On Hover", Id = "VisibleOnHover" });
|
||||
return arrows;
|
||||
}
|
||||
public class ShowInterval
|
||||
{
|
||||
public string Interval { get; set; }
|
||||
public double Id { get; set; }
|
||||
}
|
||||
public List<ShowInterval> GetIntervalData()
|
||||
{
|
||||
List<ShowInterval> intervals = new List<ShowInterval>();
|
||||
intervals.Add(new ShowInterval { Interval = "3 Seconds", Id = 3000 });
|
||||
intervals.Add(new ShowInterval { Interval = "5 Seconds", Id = 5000 });
|
||||
intervals.Add(new ShowInterval { Interval = "7 Seconds", Id = 7000 });
|
||||
return intervals;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Carousel
|
||||
{
|
||||
public partial class CarouselController : Controller
|
||||
{
|
||||
public IActionResult DataBinding()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
public class CarouselDataBinding
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string Content { get; set; }
|
||||
public string ImgPath { get; set; }
|
||||
public string URL { get; set; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Carousel
|
||||
{
|
||||
public partial class CarouselController : Controller
|
||||
{
|
||||
public IActionResult DefaultFunctionalities()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Carousel
|
||||
{
|
||||
public partial class CarouselController : Controller
|
||||
{
|
||||
public IActionResult IndicatorType()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Carousel
|
||||
{
|
||||
public partial class CarouselController : Controller
|
||||
{
|
||||
public IActionResult KeyboardNavigation()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Carousel
|
||||
{
|
||||
public partial class CarouselController : Controller
|
||||
{
|
||||
public IActionResult PartialVisible()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Carousel
|
||||
{
|
||||
public partial class CarouselController : Controller
|
||||
{
|
||||
public IActionResult Templates()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Charts;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Chart
|
||||
{
|
||||
public partial class ChartController : Controller
|
||||
{
|
||||
public IActionResult ADIChart()
|
||||
{
|
||||
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,53 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Charts;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Chart
|
||||
{
|
||||
public partial class ChartController : Controller
|
||||
{
|
||||
public IActionResult Annotation()
|
||||
{
|
||||
List<ChartData> dataSource = new List<ChartData>
|
||||
{
|
||||
new ChartData {x = "2014", y0= 51, y1= 77, y2= 66, y3= 34 },
|
||||
new ChartData { x= "2015", y0= 67, y1= 49, y2= 19, y3= 38 },
|
||||
new ChartData { x= "2016", y0= 143, y1= 121, y2= 91, y3= 44},
|
||||
new ChartData { x= "2017", y0= 19, y1= 28, y2= 65, y3= 51 },
|
||||
new ChartData { x= "2018", y0= 30, y1= 66, y2= 32, y3= 61},
|
||||
new ChartData { x= "2019", y0= 189, y1= 128, y2= 122, y3= 76},
|
||||
new ChartData { x= "2020", y0= 72, y1= 97, y2= 65, y3= 82 },
|
||||
};
|
||||
ViewBag.dataSource = dataSource;
|
||||
Syncfusion.EJ2.Charts.ChartSelectedDataIndex select = new Syncfusion.EJ2.Charts.ChartSelectedDataIndex();
|
||||
select.Point = 0;
|
||||
//select.Series = 0;
|
||||
|
||||
List<Syncfusion.EJ2.Charts.ChartSelectedDataIndex> index = new List<Syncfusion.EJ2.Charts.ChartSelectedDataIndex>
|
||||
{
|
||||
select
|
||||
};
|
||||
ViewBag.selectedData = index;
|
||||
ViewBag.content = "<div id='chart_annotation' style='width: 200px; height: 200px'></div>";
|
||||
return View();
|
||||
}
|
||||
public class ChartData
|
||||
{
|
||||
public string x;
|
||||
public double y0;
|
||||
public double y1;
|
||||
public double y2;
|
||||
public double y3;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,135 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Charts;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Chart
|
||||
{
|
||||
public partial class ChartController : Controller
|
||||
{
|
||||
public IActionResult Area()
|
||||
{
|
||||
List<AreaChartData> Other = new List<AreaChartData>
|
||||
{
|
||||
new AreaChartData { Period = new DateTime(1988, 01, 01), USD = -0.16 },
|
||||
new AreaChartData { Period = new DateTime(1989, 01, 01), USD = -0.17 },
|
||||
new AreaChartData { Period = new DateTime(1990, 01, 01), USD = -0.08 },
|
||||
new AreaChartData { Period = new DateTime(1992, 01, 01), USD = 0.08 },
|
||||
new AreaChartData { Period = new DateTime(1996, 01, 01), USD = 0.161 },
|
||||
new AreaChartData { Period = new DateTime(1998, 01, 01), USD = 0.48 },
|
||||
new AreaChartData { Period = new DateTime(1999, 01, 01), USD = 1.16 },
|
||||
new AreaChartData { Period = new DateTime(2001, 01, 01), USD = 0.40 },
|
||||
new AreaChartData { Period = new DateTime(2002, 01, 01), USD = 0.32 },
|
||||
new AreaChartData { Period = new DateTime(2003, 01, 01), USD = 0.807 },
|
||||
new AreaChartData { Period = new DateTime(2005, 01, 01), USD = 1.12 },
|
||||
new AreaChartData { Period = new DateTime(2006, 01, 01), USD = 1.614 },
|
||||
new AreaChartData { Period = new DateTime(2008, 01, 01), USD = 1.210 },
|
||||
new AreaChartData { Period = new DateTime(2009, 01, 01), USD = 1.12 },
|
||||
new AreaChartData { Period = new DateTime(2011, 01, 01), USD = 0.64 },
|
||||
new AreaChartData { Period = new DateTime(2013, 01, 01), USD = 0.161 },
|
||||
new AreaChartData { Period = new DateTime(2018, 01, 01), USD = 0.080 }
|
||||
};
|
||||
ViewBag.Other = Other;
|
||||
List<AreaChartData> Track = new List<AreaChartData>
|
||||
{
|
||||
new AreaChartData { Period = new DateTime(1973, 01, 01), USD = 2.58 },
|
||||
new AreaChartData { Period = new DateTime(1975, 01, 01), USD = 2.25 },
|
||||
new AreaChartData { Period = new DateTime(1977, 01, 01), USD = 3.55 },
|
||||
new AreaChartData { Period = new DateTime(1978, 01, 01), USD = 2.42 },
|
||||
new AreaChartData { Period = new DateTime(1981, 01, 01), USD = -0.24 },
|
||||
new AreaChartData { Period = new DateTime(1982, 01, 01), USD = -0 }
|
||||
};
|
||||
ViewBag.Track = Track;
|
||||
List<AreaChartData> Streaming = new List<AreaChartData>
|
||||
{
|
||||
new AreaChartData { Period = new DateTime(2011, 01, 01), USD = 0.48 },
|
||||
new AreaChartData { Period = new DateTime(2013, 01, 01), USD = 1.61 },
|
||||
new AreaChartData { Period = new DateTime(2015, 01, 01), USD = 2.17 },
|
||||
new AreaChartData { Period = new DateTime(2017, 01, 01), USD = 7.18 }
|
||||
};
|
||||
ViewBag.Streaming = Streaming;
|
||||
List<AreaChartData> Download = new List<AreaChartData>
|
||||
{
|
||||
new AreaChartData { Period = new DateTime(2004, 01, 01), USD = 0.48 },
|
||||
new AreaChartData { Period = new DateTime(2007, 01, 01), USD = 1.45 },
|
||||
new AreaChartData { Period = new DateTime(2012, 01, 01), USD = 2.82 },
|
||||
new AreaChartData { Period = new DateTime(2013, 01, 01), USD = 2.58 },
|
||||
new AreaChartData { Period = new DateTime(2015, 01, 01), USD = 2.01 },
|
||||
new AreaChartData { Period = new DateTime(2016, 01, 01), USD = 1.61 },
|
||||
new AreaChartData { Period = new DateTime(2017, 01, 01), USD = 0.80 }
|
||||
};
|
||||
ViewBag.Download = Download;
|
||||
List<AreaChartData> Compact = new List<AreaChartData>
|
||||
{
|
||||
new AreaChartData { Period = new DateTime(1990, 01, 01), USD = 0.69 },
|
||||
new AreaChartData { Period = new DateTime(1992, 01, 01), USD = 2.86 },
|
||||
new AreaChartData { Period = new DateTime(1995, 01, 01), USD = 10.2 },
|
||||
new AreaChartData { Period = new DateTime(1996, 01, 01), USD = 13.0 },
|
||||
new AreaChartData { Period = new DateTime(1997, 01, 01), USD = 14.35 },
|
||||
new AreaChartData { Period = new DateTime(1998, 01, 01), USD = 15.17 },
|
||||
new AreaChartData { Period = new DateTime(1999, 01, 01), USD = 14.89 },
|
||||
new AreaChartData { Period = new DateTime(2000, 01, 01), USD = 18.96 },
|
||||
new AreaChartData { Period = new DateTime(2001, 01, 01), USD = 18.78 },
|
||||
new AreaChartData { Period = new DateTime(2004, 01, 01), USD = 14.25 },
|
||||
new AreaChartData { Period = new DateTime(2005, 01, 01), USD = 14.24 },
|
||||
new AreaChartData { Period = new DateTime(2006, 01, 01), USD = 12.34 },
|
||||
new AreaChartData { Period = new DateTime(2007, 01, 01), USD = 9.34 },
|
||||
new AreaChartData { Period = new DateTime(2008, 01, 01), USD = 4.45 },
|
||||
new AreaChartData { Period = new DateTime(2010, 01, 01), USD = 1.46 },
|
||||
new AreaChartData { Period = new DateTime(2011, 01, 01), USD = 0.64 }
|
||||
};
|
||||
ViewBag.Compact = Compact;
|
||||
List<AreaChartData> Casette = new List<AreaChartData>
|
||||
{
|
||||
new AreaChartData { Period = new DateTime(1976, 01, 01), USD = 0.08 },
|
||||
new AreaChartData { Period = new DateTime(1979, 01, 01), USD = 1.85 },
|
||||
new AreaChartData { Period = new DateTime(1980, 01, 01), USD = 2.0 },
|
||||
new AreaChartData { Period = new DateTime(1982, 01, 01), USD = 3.55 },
|
||||
new AreaChartData { Period = new DateTime(1984, 01, 01), USD = 5.40 },
|
||||
new AreaChartData { Period = new DateTime(1985, 01, 01), USD = 5.24 },
|
||||
new AreaChartData { Period = new DateTime(1988, 01, 01), USD = 6.94 },
|
||||
new AreaChartData { Period = new DateTime(1989, 01, 01), USD = 6.85 },
|
||||
new AreaChartData { Period = new DateTime(1990, 01, 01), USD = 7.02 },
|
||||
new AreaChartData { Period = new DateTime(1992, 01, 01), USD = 5.81 },
|
||||
new AreaChartData { Period = new DateTime(1993, 01, 01), USD = 5.32 },
|
||||
new AreaChartData { Period = new DateTime(1994, 01, 01), USD = 4.03 },
|
||||
new AreaChartData { Period = new DateTime(1997, 01, 01), USD = 2.25 },
|
||||
new AreaChartData { Period = new DateTime(1998, 01, 01), USD = 2.01 },
|
||||
new AreaChartData { Period = new DateTime(1999, 01, 01), USD = 0.80 },
|
||||
new AreaChartData { Period = new DateTime(2001, 01, 01), USD = 0.40 }
|
||||
};
|
||||
ViewBag.Casette = Casette;
|
||||
List<AreaChartData> Vinyl = new List<AreaChartData>
|
||||
{
|
||||
new AreaChartData { Period = new DateTime(1973, 01, 01), USD = 7.74 },
|
||||
new AreaChartData { Period = new DateTime(1974, 01, 01), USD = 7.58 },
|
||||
new AreaChartData { Period = new DateTime(1976, 01, 01), USD = 8.23 },
|
||||
new AreaChartData { Period = new DateTime(1977, 01, 01), USD = 9.68 },
|
||||
new AreaChartData { Period = new DateTime(1978, 01, 01), USD = 10.16 },
|
||||
new AreaChartData { Period = new DateTime(1979, 01, 01), USD = 8.15 },
|
||||
new AreaChartData { Period = new DateTime(1981, 01, 01), USD = 6.77 },
|
||||
new AreaChartData { Period = new DateTime(1982, 01, 01), USD = 5.64 },
|
||||
new AreaChartData { Period = new DateTime(1984, 01, 01), USD = 4.35 },
|
||||
new AreaChartData { Period = new DateTime(1985, 01, 01), USD = 2.50 },
|
||||
new AreaChartData { Period = new DateTime(1989, 01, 01), USD = 0.64 },
|
||||
new AreaChartData { Period = new DateTime(1990, 01, 01), USD = 0 }
|
||||
};
|
||||
ViewBag.Vinyl = Vinyl;
|
||||
return View();
|
||||
}
|
||||
public class AreaChartData
|
||||
{
|
||||
public DateTime Period;
|
||||
public double USD;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Charts;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Chart
|
||||
{
|
||||
public partial class ChartController : Controller
|
||||
{
|
||||
public IActionResult AreaEmpty()
|
||||
{
|
||||
List<AreaEmptyChartData> ChartPoints = new List<AreaEmptyChartData>
|
||||
{
|
||||
new AreaEmptyChartData { Period = new DateTime(2021, 11, 15), US_InflationRate = 2.2, IN_InflationRate = 0.8 },
|
||||
new AreaEmptyChartData { Period = new DateTime(2021, 11, 16), US_InflationRate = 2.0, IN_InflationRate = 1.7 },
|
||||
new AreaEmptyChartData { Period = new DateTime(2021, 11, 17), US_InflationRate = 2.8, IN_InflationRate = 1.8 },
|
||||
new AreaEmptyChartData { Period = new DateTime(2021, 11, 18), US_InflationRate = 1.6, IN_InflationRate = 2.1 },
|
||||
new AreaEmptyChartData { Period = new DateTime(2021, 11, 19), US_InflationRate = 2.3, IN_InflationRate = Double.NaN },
|
||||
new AreaEmptyChartData { Period = new DateTime(2021, 11, 20), US_InflationRate = 2.5, IN_InflationRate = 2.3 },
|
||||
new AreaEmptyChartData { Period = new DateTime(2021, 11, 21), US_InflationRate = 2.9, IN_InflationRate = 1.7 },
|
||||
new AreaEmptyChartData { Period = new DateTime(2021, 11, 22), US_InflationRate = 1.1, IN_InflationRate = 1.5 },
|
||||
new AreaEmptyChartData { Period = new DateTime(2021, 11, 23), US_InflationRate = 1.4, IN_InflationRate = 0.5 },
|
||||
new AreaEmptyChartData { Period = new DateTime(2021, 11, 24), US_InflationRate = 1.1, IN_InflationRate = 1.3 }
|
||||
};
|
||||
ViewBag.ChartPoints = ChartPoints;
|
||||
return View();
|
||||
}
|
||||
public class AreaEmptyChartData
|
||||
{
|
||||
public DateTime Period;
|
||||
public double US_InflationRate;
|
||||
public double IN_InflationRate;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,56 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Charts;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Chart
|
||||
{
|
||||
public partial class ChartController : Controller
|
||||
{
|
||||
public IActionResult AreaNegative()
|
||||
{
|
||||
List<AreaNegativeChartData> MaryValues = new List<AreaNegativeChartData>
|
||||
{
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2017, 01, 01), Price = 3000 },
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2018, 01, 01), Price = 4000 },
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2019, 01, 01), Price = -4000 },
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2020, 01, 01), Price = -2000 },
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2021, 01, 01), Price = 5000 }
|
||||
};
|
||||
List<AreaNegativeChartData> PatriciaValues = new List<AreaNegativeChartData>
|
||||
{
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2017, 01, 01), Price = 2000 },
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2018, 01, 01), Price = 3000 },
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2019, 01, 01), Price = 4000 },
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2020, 01, 01), Price = 2000 },
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2021, 01, 01), Price = 3000 }
|
||||
};
|
||||
List<AreaNegativeChartData> LindaValues = new List<AreaNegativeChartData>
|
||||
{
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2017, 01, 01), Price = 2000 },
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2018, 01, 01), Price = -1000 },
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2019, 01, 01), Price = -3000 },
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2020, 01, 01), Price = 4000 },
|
||||
new AreaNegativeChartData { Vegetable = new DateTime(2021, 01, 01), Price = 1000 }
|
||||
};
|
||||
ViewBag.MaryValues = MaryValues;
|
||||
ViewBag.PatriciaValues = PatriciaValues;
|
||||
ViewBag.LindaValues = LindaValues;
|
||||
return View();
|
||||
}
|
||||
public class AreaNegativeChartData
|
||||
{
|
||||
public DateTime Vegetable;
|
||||
public double Price;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Charts;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Chart
|
||||
{
|
||||
public partial class ChartController : Controller
|
||||
{
|
||||
public IActionResult AreaZone()
|
||||
{
|
||||
List<ChartSegment> segments = new List<ChartSegment>();
|
||||
ChartSegment segment1 = new ChartSegment();
|
||||
segment1.Value = new DateTime(2016, 4, 1);
|
||||
segment1.Color = "url(#winter)";
|
||||
segments.Add(segment1);
|
||||
|
||||
ChartSegment segment2 = new ChartSegment();
|
||||
segment2.Value = new DateTime(2016, 8, 1);
|
||||
segment2.Color = "url(#summer)";
|
||||
segments.Add(segment2);
|
||||
|
||||
ChartSegment segment3 = new ChartSegment();
|
||||
segment3.Color = "url(#spring)";
|
||||
segments.Add(segment3);
|
||||
|
||||
ViewBag.segment = segments;
|
||||
|
||||
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2023.
|
||||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved.
|
||||
// Use of this code is subject to the terms of our license.
|
||||
// A copy of the current license can be obtained at any time by e-mailing
|
||||
// licensing@syncfusion.com. Any infringement will be prosecuted under
|
||||
// applicable laws.
|
||||
#endregion
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Syncfusion.EJ2.Charts;
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers.Chart
|
||||
{
|
||||
public partial class ChartController : Controller
|
||||
{
|
||||
public IActionResult AtrChart()
|
||||
{
|
||||
ViewBag.interval = 6000000000;
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче