v20.1.0.55
This commit is contained in:
Родитель
85142fa081
Коммит
59822e8966
|
@ -1,11 +0,0 @@
|
|||
.npmrc
|
||||
.vs/
|
||||
**/.vs/
|
||||
src/bin
|
||||
src/obj
|
||||
node_modules/
|
||||
bin/
|
||||
obj/
|
||||
package-lock.json
|
||||
deploy/
|
||||
npm-debug.log
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,40 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
ViewBag.data = new BooksData().GetBooksData();
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
ViewBag.localdata = new Countries().CountriesList();
|
||||
ViewBag.sort = "Ascending";
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
ViewBag.data = new string[] { "American Football", "Badminton", "Basketball", "Cricket", "Football", "Golf", "Hockey", "Rugby", "Snooker", "Tennis" };
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
ViewBag.data = new Diacritics().data;
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
ViewBag.groupdata = new Vegetables().VegetablesList();
|
||||
ViewBag.icondata = new SocialMedia().SocialMediaList();
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
ViewBag.countries = new Countries().CountriesList();
|
||||
ViewBag.data = new string[] { "Contains", "StartsWith", "EndsWith" };
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
ViewBag.data = new Employees().EmployeesList();
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,32 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<object> data = new List<object>();
|
||||
data.Add(new { id = "s_01", text = "Robert", avatar = "", pic = "pic04" });
|
||||
data.Add(new { id = "s_02", text = "Nancy", avatar = "N", pic = "" });
|
||||
data.Add(new { id = "s_05", text = "John", pic = "pic01", avatar = "" });
|
||||
data.Add(new { id = "s_03", text = "Andrew", avatar = "A", pic = "" });
|
||||
data.Add(new { id = "s_06", text = "Michael", pic = "pic02", avatar = "" });
|
||||
data.Add(new { id = "s_07", text = "Steven", pic = "pic03", avatar = "" });
|
||||
data.Add(new { id = "s_08", text = "Margaret", avatar = "M", pic = "" });
|
||||
ViewBag.dataSource = data;
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<object> data = new List<object>();
|
||||
data.Add(new { id = "p_01", text = "Primary", messages = "3 New", badge = "e-badge e-badge-primary", icons = "primary", type = "Primary" });
|
||||
data.Add(new { id = "p_02", text = "Social", messages = "27 New", badge = "e-badge e-badge-secondary", icons = "social", type = "Primary" });
|
||||
data.Add(new { id = "p_03", text = "Promotions", messages = "7 New", badge = "e-badge e-badge-success", icons = "promotion", type = "Primary" });
|
||||
data.Add(new { id = "p_04", text = "Updates", messages = "13 New", badge = "e-badge e-badge-info", icons = "updates", type = "Primary" });
|
||||
data.Add(new { id = "p_05", text = "Starred", messages = "", badge = "", icons = "starred", type = "All Labels" });
|
||||
data.Add(new { id = "p_06", text = "Important", messages = "2 New", badge = "e-badge e-badge-danger", icons = "important", type = "All Labels" });
|
||||
data.Add(new { id = "p_07", text = "Sent", messages = "", badge = "", icons = "sent", type = "All Labels" });
|
||||
data.Add(new { id = "p_08", text = "Outbox", messages = "", badge = "", icons = "outbox", type = "All Labels" });
|
||||
data.Add(new { id = "p_09", text = "Drafts", messages = "7 New", badge = "e-badge e-badge-warning", icons = "draft", type = "All Labels" });
|
||||
ViewBag.dataSource = data;
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,48 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<ExpandOptions> position = new List<ExpandOptions>();
|
||||
position.Add(new ExpandOptions() { text = "Bottom", value = "bottom" });
|
||||
position.Add(new ExpandOptions() { text = "Top", value = "top" });
|
||||
|
||||
ViewBag.position = position;
|
||||
ViewBag.expandValue = "Bottom";
|
||||
List<alignment> align = new List<alignment>();
|
||||
align.Add(new alignment() { text = "Left", value = "left" });
|
||||
align.Add(new alignment() { text = "Right", value = "right" });
|
||||
align.Add(new alignment() { text = "Center", value = "center" });
|
||||
|
||||
ViewBag.align = align;
|
||||
ViewBag.alignmentValue = "Center";
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
public class ExpandOptions
|
||||
{
|
||||
public string text;
|
||||
public string value;
|
||||
}
|
||||
public class alignment
|
||||
{
|
||||
public string text;
|
||||
public string value;
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<ExpandOptions> position = new List<ExpandOptions>();
|
||||
position.Add(new ExpandOptions() { text = "Bottom", value = "bottom" });
|
||||
position.Add(new ExpandOptions() { text = "Top", value = "top" });
|
||||
|
||||
ViewBag.position = position;
|
||||
ViewBag.expandValue = "Bottom";
|
||||
List<alignment> align = new List<alignment>();
|
||||
align.Add(new alignment() { text = "Left", value = "left" });
|
||||
align.Add(new alignment() { text = "Right", value = "right" });
|
||||
align.Add(new alignment() { text = "Center", value = "center" });
|
||||
|
||||
ViewBag.align = align;
|
||||
ViewBag.alignmentValue = "Center";
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<ExpandOptions> position = new List<ExpandOptions>();
|
||||
position.Add(new ExpandOptions() { text = "Bottom", value = "bottom" });
|
||||
position.Add(new ExpandOptions() { text = "Top", value = "top" });
|
||||
|
||||
ViewBag.position = position;
|
||||
ViewBag.expandValue = "Bottom";
|
||||
List<alignment> align = new List<alignment>();
|
||||
align.Add(new alignment() { text = "Left", value = "left" });
|
||||
align.Add(new alignment() { text = "Right", value = "right" });
|
||||
align.Add(new alignment() { text = "Center", value = "center" });
|
||||
|
||||
ViewBag.align = align;
|
||||
ViewBag.alignmentValue = "Center";
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<ExpandOptions> position = new List<ExpandOptions>();
|
||||
position.Add(new ExpandOptions() { text = "Bottom", value = "bottom" });
|
||||
position.Add(new ExpandOptions() { text = "Top", value = "top" });
|
||||
|
||||
ViewBag.position = position;
|
||||
ViewBag.expandValue = "Bottom";
|
||||
List<alignment> align = new List<alignment>();
|
||||
align.Add(new alignment() { text = "Left", value = "left" });
|
||||
align.Add(new alignment() { text = "Right", value = "right" });
|
||||
align.Add(new alignment() { text = "Center", value = "center" });
|
||||
|
||||
ViewBag.align = align;
|
||||
ViewBag.alignmentValue = "Center";
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<ExpandOptions> position = new List<ExpandOptions>();
|
||||
position.Add(new ExpandOptions() { text = "Bottom", value = "bottom" });
|
||||
position.Add(new ExpandOptions() { text = "Top", value = "top" });
|
||||
|
||||
ViewBag.position = position;
|
||||
ViewBag.expandValue = "Bottom";
|
||||
List<alignment> align = new List<alignment>();
|
||||
align.Add(new alignment() { text = "Left", value = "left" });
|
||||
align.Add(new alignment() { text = "Right", value = "right" });
|
||||
align.Add(new alignment() { text = "Center", value = "center" });
|
||||
|
||||
ViewBag.align = align;
|
||||
ViewBag.alignmentValue = "Center";
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<ExpandOptions> position = new List<ExpandOptions>();
|
||||
position.Add(new ExpandOptions() { text = "Bottom", value = "bottom" });
|
||||
position.Add(new ExpandOptions() { text = "Top", value = "top" });
|
||||
|
||||
ViewBag.position = position;
|
||||
ViewBag.expandValue = "Bottom";
|
||||
List<alignment> align = new List<alignment>();
|
||||
align.Add(new alignment() { text = "Left", value = "left" });
|
||||
align.Add(new alignment() { text = "Right", value = "right" });
|
||||
align.Add(new alignment() { text = "Center", value = "center" });
|
||||
|
||||
ViewBag.align = align;
|
||||
ViewBag.alignmentValue = "Center";
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<ExpandOptions> position = new List<ExpandOptions>();
|
||||
position.Add(new ExpandOptions() { text = "Bottom", value = "bottom" });
|
||||
position.Add(new ExpandOptions() { text = "Top", value = "top" });
|
||||
|
||||
ViewBag.position = position;
|
||||
ViewBag.expandValue = "Bottom";
|
||||
List<alignment> align = new List<alignment>();
|
||||
align.Add(new alignment() { text = "Left", value = "left" });
|
||||
align.Add(new alignment() { text = "Right", value = "right" });
|
||||
align.Add(new alignment() { text = "Center", value = "center" });
|
||||
|
||||
ViewBag.align = align;
|
||||
ViewBag.alignmentValue = "Center";
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<ExpandOptions> position = new List<ExpandOptions>();
|
||||
position.Add(new ExpandOptions() { text = "Bottom", value = "bottom" });
|
||||
position.Add(new ExpandOptions() { text = "Top", value = "top" });
|
||||
|
||||
ViewBag.position = position;
|
||||
ViewBag.expandValue = "Bottom";
|
||||
List<alignment> align = new List<alignment>();
|
||||
align.Add(new alignment() { text = "Left", value = "left" });
|
||||
align.Add(new alignment() { text = "Right", value = "right" });
|
||||
align.Add(new alignment() { text = "Center", value = "center" });
|
||||
|
||||
ViewBag.align = align;
|
||||
ViewBag.alignmentValue = "Center";
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<ExpandOptions> position = new List<ExpandOptions>();
|
||||
position.Add(new ExpandOptions() { text = "Bottom", value = "bottom" });
|
||||
position.Add(new ExpandOptions() { text = "Top", value = "top" });
|
||||
|
||||
ViewBag.position = position;
|
||||
ViewBag.expandValue = "Bottom";
|
||||
List<alignment> align = new List<alignment>();
|
||||
align.Add(new alignment() { text = "Left", value = "left" });
|
||||
align.Add(new alignment() { text = "Right", value = "right" });
|
||||
align.Add(new alignment() { text = "Center", value = "center" });
|
||||
|
||||
ViewBag.align = align;
|
||||
ViewBag.alignmentValue = "Center";
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<ExpandOptions> position = new List<ExpandOptions>();
|
||||
position.Add(new ExpandOptions() { text = "Bottom", value = "bottom" });
|
||||
position.Add(new ExpandOptions() { text = "Top", value = "top" });
|
||||
|
||||
ViewBag.position = position;
|
||||
ViewBag.expandValue = "Bottom";
|
||||
List<alignment> align = new List<alignment>();
|
||||
align.Add(new alignment() { text = "Left", value = "left" });
|
||||
align.Add(new alignment() { text = "Right", value = "right" });
|
||||
align.Add(new alignment() { text = "Center", value = "center" });
|
||||
|
||||
ViewBag.align = align;
|
||||
ViewBag.alignmentValue = "Center";
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,69 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<coorectionLevel> encoding = new List<coorectionLevel>();
|
||||
encoding.Add(new coorectionLevel() { text = "Auto", value = "Auto" });
|
||||
encoding.Add(new coorectionLevel() { text = "ASCII", value = "ASCII" });
|
||||
encoding.Add(new coorectionLevel() { text = "ASCIINumeric", value = "ASCIINumeric" });
|
||||
encoding.Add(new coorectionLevel() { text = "Base256", value = "Base256" });
|
||||
|
||||
|
||||
List<coorectionLevel> size = new List<coorectionLevel>();
|
||||
size.Add(new coorectionLevel() { text = "Size22x22", value = "7" });
|
||||
size.Add(new coorectionLevel() { text = "Size24x24", value = "8" });
|
||||
size.Add(new coorectionLevel() { text = "Size26x26", value = "9" });
|
||||
size.Add(new coorectionLevel() { text = "Size32x32", value = "10" });
|
||||
size.Add(new coorectionLevel() { text = "Size36x36", value = "11" });
|
||||
size.Add(new coorectionLevel() { text = "Size40x40", value = "12" });
|
||||
size.Add(new coorectionLevel() { text = "Size44x44", value = "13" });
|
||||
size.Add(new coorectionLevel() { text = "Size48x48", value = "14" });
|
||||
size.Add(new coorectionLevel() { text = "Size52x52", value = "15" });
|
||||
size.Add(new coorectionLevel() { text = "Size64x64", value = "16" });
|
||||
size.Add(new coorectionLevel() { text = "Size72x72", value = "17" });
|
||||
size.Add(new coorectionLevel() { text = "Size80x80", value = "18" });
|
||||
size.Add(new coorectionLevel() { text = "Size88x88", value = "19" });
|
||||
size.Add(new coorectionLevel() { text = "Size96x96", value = "20" });
|
||||
size.Add(new coorectionLevel() { text = "Size104x104", value = "21" });
|
||||
size.Add(new coorectionLevel() { text = "Size120x120", value = "22" });
|
||||
size.Add(new coorectionLevel() { text = "Size132x132", value = "23" });
|
||||
size.Add(new coorectionLevel() { text = "Size144x144", value = "24" });
|
||||
size.Add(new coorectionLevel() { text = "Auto", value = "0" });
|
||||
size.Add(new coorectionLevel() { text = "Size10x10", value = "1" });
|
||||
size.Add(new coorectionLevel() { text = "Size12x12", value = "2" });
|
||||
size.Add(new coorectionLevel() { text = "Size14x14", value = "3" });
|
||||
size.Add(new coorectionLevel() { text = "Size16x16", value = "4" });
|
||||
size.Add(new coorectionLevel() { text = "Size18x18", value = "5" });
|
||||
size.Add(new coorectionLevel() { text = "Size20x20", value = "6" });
|
||||
size.Add(new coorectionLevel() { text = "Size8x18", value = "25" });
|
||||
size.Add(new coorectionLevel() { text = "Size8x32", value = "26" });
|
||||
size.Add(new coorectionLevel() { text = "Size12x26", value = "27" });
|
||||
size.Add(new coorectionLevel() { text = "Size12x36", value = "28" });
|
||||
size.Add(new coorectionLevel() { text = "Size16x36", value = "29" });
|
||||
size.Add(new coorectionLevel() { text = "Size16x48", value = "30" });
|
||||
|
||||
ViewBag.size = size;
|
||||
ViewBag.value = "Auto";
|
||||
ViewBag.encoding = encoding;
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<ExpandOptions> position = new List<ExpandOptions>();
|
||||
position.Add(new ExpandOptions() { text = "Bottom", value = "bottom" });
|
||||
position.Add(new ExpandOptions() { text = "Top", value = "top" });
|
||||
|
||||
ViewBag.position = position;
|
||||
ViewBag.expandValue = "Bottom";
|
||||
List<alignment> align = new List<alignment>();
|
||||
align.Add(new alignment() { text = "Left", value = "left" });
|
||||
align.Add(new alignment() { text = "Right", value = "right" });
|
||||
align.Add(new alignment() { text = "Center", value = "center" });
|
||||
|
||||
ViewBag.align = align;
|
||||
ViewBag.alignmentValue = "Center";
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<coorectionLevel> level = new List<coorectionLevel>();
|
||||
level.Add(new coorectionLevel() { text = "Low", value = "7" });
|
||||
level.Add(new coorectionLevel() { text = "Medium", value = "15" });
|
||||
level.Add(new coorectionLevel() { text = "Quartile", value = "25" });
|
||||
level.Add(new coorectionLevel() { text = "High", value = "30" });
|
||||
ViewBag.level = level;
|
||||
ViewBag.value = "Medium";
|
||||
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
public class coorectionLevel
|
||||
{
|
||||
public string text;
|
||||
public string value;
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<ExpandOptions> position = new List<ExpandOptions>();
|
||||
position.Add(new ExpandOptions() { text = "Bottom", value = "bottom" });
|
||||
position.Add(new ExpandOptions() { text = "Top", value = "top" });
|
||||
|
||||
ViewBag.position = position;
|
||||
ViewBag.expandValue = "Bottom";
|
||||
List<alignment> align = new List<alignment>();
|
||||
align.Add(new alignment() { text = "Left", value = "left" });
|
||||
align.Add(new alignment() { text = "Right", value = "right" });
|
||||
align.Add(new alignment() { text = "Center", value = "center" });
|
||||
|
||||
ViewBag.align = align;
|
||||
ViewBag.alignmentValue = "Center";
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<ExpandOptions> position = new List<ExpandOptions>();
|
||||
position.Add(new ExpandOptions() { text = "Bottom", value = "bottom" });
|
||||
position.Add(new ExpandOptions() { text = "Top", value = "top" });
|
||||
|
||||
ViewBag.position = position;
|
||||
ViewBag.expandValue = "Bottom";
|
||||
List<alignment> align = new List<alignment>();
|
||||
align.Add(new alignment() { text = "Left", value = "left" });
|
||||
align.Add(new alignment() { text = "Right", value = "right" });
|
||||
align.Add(new alignment() { text = "Center", value = "center" });
|
||||
|
||||
ViewBag.align = align;
|
||||
ViewBag.alignmentValue = "Center";
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,220 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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; }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<CustomBulletData> bulletData1 = new List<CustomBulletData>
|
||||
{
|
||||
new CustomBulletData { value = 1.7, target = 2.5}
|
||||
};
|
||||
|
||||
ViewBag.dataSource = bulletData1;
|
||||
return View();
|
||||
}
|
||||
public class CustomBulletData
|
||||
{
|
||||
public double value;
|
||||
public double target;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<DefaultBulletData> bulletData1 = new List<DefaultBulletData>
|
||||
{
|
||||
new DefaultBulletData { value = 270, target = 250}
|
||||
};
|
||||
List<DefaultBulletData> bulletData2 = new List<DefaultBulletData>
|
||||
{
|
||||
new DefaultBulletData { value = 23, target = 27}
|
||||
};
|
||||
List<DefaultBulletData> bulletData3 = new List<DefaultBulletData>
|
||||
{
|
||||
new DefaultBulletData { value = 350, target = 550}
|
||||
};
|
||||
List<DefaultBulletData> bulletData4 = new List<DefaultBulletData>
|
||||
{
|
||||
new DefaultBulletData { value = 1600, target = 2100}
|
||||
};
|
||||
List<DefaultBulletData> bulletData5 = new List<DefaultBulletData>
|
||||
{
|
||||
new DefaultBulletData { value = 4.9, target = 4}
|
||||
};
|
||||
ViewBag.dataSource1 = bulletData1;
|
||||
ViewBag.dataSource2 = bulletData2;
|
||||
ViewBag.dataSource3 = bulletData3;
|
||||
ViewBag.dataSource4 = bulletData4;
|
||||
ViewBag.dataSource5 = bulletData5;
|
||||
return View();
|
||||
}
|
||||
public class DefaultBulletData
|
||||
{
|
||||
public double value;
|
||||
public double target;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<DotBulletData> bulletData1 = new List<DotBulletData>
|
||||
{
|
||||
new DotBulletData { value = 270, target = 250}
|
||||
};
|
||||
ViewBag.dataSource = bulletData1;
|
||||
ViewBag.data = new String[] { "Rect", "Dot" };
|
||||
return View();
|
||||
}
|
||||
public class DotBulletData
|
||||
{
|
||||
public double value;
|
||||
public double target;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<LegendData> bulletData1 = new List<LegendData>
|
||||
{
|
||||
new LegendData { value = 25, target = new double[]{ 20, 26, 28 } }
|
||||
};
|
||||
ViewBag.dataSource = bulletData1;
|
||||
|
||||
return View();
|
||||
}
|
||||
public class LegendData
|
||||
{
|
||||
public double value;
|
||||
public double[] target;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<DotBulletData> bulletData1 = new List<DotBulletData>
|
||||
{
|
||||
new DotBulletData { value = 270, target = 250}
|
||||
};
|
||||
ViewBag.dataSource = bulletData1;
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<DotBulletData> bulletData1 = new List<DotBulletData>
|
||||
{
|
||||
new DotBulletData { value = 70, target = 50}
|
||||
};
|
||||
ViewBag.dataSource = bulletData1;
|
||||
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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; }
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,46 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<object> items = new List<object>();
|
||||
items.Add(new
|
||||
{
|
||||
text = "Dashboard",
|
||||
iconCss = "e-ddb-icons e-dashboard"
|
||||
});
|
||||
items.Add(new
|
||||
{
|
||||
text = "Notifications",
|
||||
iconCss = "e-ddb-icons e-notifications"
|
||||
});
|
||||
items.Add(new
|
||||
{
|
||||
text = "User Settings",
|
||||
iconCss = "e-ddb-icons e-settings"
|
||||
});
|
||||
items.Add(new
|
||||
{
|
||||
text = "Log Out",
|
||||
iconCss = "e-ddb-icons e-logout"
|
||||
});
|
||||
ViewBag.items = items;
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
ProgressButtonSpinSettings spinRight = new ProgressButtonSpinSettings() { Position = SpinPosition.Right };
|
||||
ProgressButtonSpinSettings spinTop = new ProgressButtonSpinSettings() { Position = SpinPosition.Top };
|
||||
ProgressButtonSpinSettings spinBottom = new ProgressButtonSpinSettings() { Position = SpinPosition.Bottom };
|
||||
ProgressButtonSpinSettings spinCenter = new ProgressButtonSpinSettings() { Position = SpinPosition.Center };
|
||||
|
||||
ViewBag.spinRight = spinRight;
|
||||
ViewBag.spinTop = spinTop;
|
||||
ViewBag.spinBottom = spinBottom;
|
||||
ViewBag.spinCenter = spinCenter;
|
||||
|
||||
ProgressButtonAnimationSettings slideLeft = new ProgressButtonAnimationSettings() { Effect = AnimationEffect.SlideLeft };
|
||||
ProgressButtonAnimationSettings slideRight = new ProgressButtonAnimationSettings() { Effect = AnimationEffect.SlideRight };
|
||||
ProgressButtonAnimationSettings zoomIn = new ProgressButtonAnimationSettings() { Effect = AnimationEffect.ZoomIn };
|
||||
ProgressButtonAnimationSettings zoomOut = new ProgressButtonAnimationSettings() { Effect = AnimationEffect.ZoomOut };
|
||||
|
||||
ViewBag.slideLeft = slideLeft;
|
||||
ViewBag.slideRight = slideRight;
|
||||
ViewBag.zoomIn = zoomIn;
|
||||
ViewBag.zoomOut = zoomOut;
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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; }
|
||||
}
|
||||
}
|
|
@ -1,46 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<object> items = new List<object>();
|
||||
items.Add(new
|
||||
{
|
||||
text = "Paste",
|
||||
iconCss = "e-btn-icons e-paste"
|
||||
});
|
||||
items.Add(new
|
||||
{
|
||||
text = "Paste Special",
|
||||
iconCss = "e-btn-icons e-paste-special"
|
||||
});
|
||||
items.Add(new
|
||||
{
|
||||
text = "Paste as Formula",
|
||||
iconCss = "e-btn-icons e-paste-formula"
|
||||
});
|
||||
items.Add(new
|
||||
{
|
||||
text = "Paste as Hyperlink",
|
||||
iconCss = "e-btn-icons e-paste-hyperlink"
|
||||
});
|
||||
ViewBag.items = items;
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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; }
|
||||
}
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
ViewBag.minDate= new DateTime(DateTime.Now.Year,DateTime.Now.Month,05);
|
||||
ViewBag.maxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 27);
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
var month = DateTime.Now.Month;
|
||||
var year = DateTime.Now.Year;
|
||||
ViewBag.multiValue = new DateTime[] { new DateTime(year, month, 10), new DateTime(year, month, 15), new DateTime(year, month, 25) };
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,51 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,66 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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()
|
||||
{
|
||||
List<CarouselDataBinding> datasrc = new List<CarouselDataBinding>();
|
||||
datasrc.Add(new CarouselDataBinding
|
||||
{
|
||||
Id = 1,
|
||||
ImgPath = "./../css/carousel/images/san-francisco.jpg",
|
||||
Title = "San Francisco",
|
||||
Content = "San Francisco, officially the City and County of San Francisco, is a cultural, commercial, and financial center in the U.S. state of California. Located in Northern California, San Francisco is the 17th most populous city proper in the United States, and the fourth most populous in California.",
|
||||
URL = "https://en.wikipedia.org/wiki/San_Francisco"
|
||||
});
|
||||
datasrc.Add(new CarouselDataBinding
|
||||
{
|
||||
Id = 2,
|
||||
ImgPath = "./../css/carousel/images/london.jpg",
|
||||
Title = "London",
|
||||
Content = "London, the capital of England and the United Kingdom, is a 21st-century city with history stretching back to Roman times. At its centre stand the imposing Houses of Parliament, the iconic ‘Big Ben’ clock tower and Westminster Abbey, site of British monarch coronations.",
|
||||
URL = "https://en.wikipedia.org/wiki/London"
|
||||
});
|
||||
datasrc.Add(new CarouselDataBinding
|
||||
{
|
||||
Id = 3,
|
||||
ImgPath = "./../css/carousel/images/tokyo.jpg",
|
||||
Title = "Tokyo",
|
||||
Content = "Tokyo, Japan’s busy capital, mixes the ultramodern and the traditional, from neon-lit skyscrapers to historic temples. The opulent Meiji Shinto Shrine is known for its towering gate and surrounding woods. The Imperial Palace sits amid large public gardens.",
|
||||
URL = "https://en.wikipedia.org/wiki/Tokyo"
|
||||
});
|
||||
datasrc.Add(new CarouselDataBinding
|
||||
{
|
||||
Id = 4,
|
||||
ImgPath = "./../css/carousel/images/moscow.jpg",
|
||||
Title = "Moscow",
|
||||
Content = "Moscow, on the Moskva River in western Russia, is the nation’s cosmopolitan capital. In its historic core is the Kremlin, a complex that’s home to the president and tsarist treasures in the Armoury. Outside its walls is Red Square, Russia`s symbolic center.",
|
||||
URL = "https://en.wikipedia.org/wiki/Moscow"
|
||||
});
|
||||
ViewBag.dataSource = datasrc;
|
||||
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; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,97 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 Overview()
|
||||
{
|
||||
List<CarouselData> appData = new List<CarouselData>();
|
||||
appData.Add(new CarouselData
|
||||
{
|
||||
imageUrl = "./../css/carousel/images/google-pixel-6-pro.png",
|
||||
title = "Google Pixel",
|
||||
model = "Pixel 6 Pro",
|
||||
brand = "Google",
|
||||
releaseDate = "Oct 28, 2021",
|
||||
ram = "12GB",
|
||||
rom = "128GB",
|
||||
platform = "Android",
|
||||
version = 12
|
||||
});
|
||||
appData.Add(new CarouselData
|
||||
{
|
||||
imageUrl = "./../css/carousel/images/iphone-13-pro.png",
|
||||
title = "iPhone",
|
||||
model = "iPhone 13 Pro",
|
||||
brand = "Apple",
|
||||
releaseDate = "Sept 14, 2021",
|
||||
ram = "4GB",
|
||||
rom = "128GB",
|
||||
platform = "iOS",
|
||||
version = 15
|
||||
});
|
||||
appData.Add(new CarouselData
|
||||
{
|
||||
imageUrl = "./../css/carousel/images/nokia-xr-20.png",
|
||||
title = "Nokia",
|
||||
model = "XR-20",
|
||||
brand = "Nokia",
|
||||
releaseDate = "Oct 30, 2021",
|
||||
ram = "6GB",
|
||||
rom = "128GB",
|
||||
platform = "Android",
|
||||
version = 11
|
||||
});
|
||||
appData.Add(new CarouselData
|
||||
{
|
||||
imageUrl = "./../css/carousel/images/one-plus-9-pro.png",
|
||||
title = "OnePlus",
|
||||
model = "OP9 Pro",
|
||||
brand = "OnePlus",
|
||||
releaseDate = "March 23, 2021",
|
||||
ram = "8GB",
|
||||
rom = "128GB",
|
||||
platform = "OxygenOS based on Android",
|
||||
version = 11
|
||||
});
|
||||
appData.Add(new CarouselData
|
||||
{
|
||||
imageUrl = "./../css/carousel/images/samsung-s21-fe.png",
|
||||
title = "Samsung",
|
||||
model = "S21 FE",
|
||||
brand = "Samsung",
|
||||
releaseDate = "Jan 27, 2021",
|
||||
ram = "8GB",
|
||||
rom = "128GB",
|
||||
platform = "Samsung One UI 4.0 based on Android",
|
||||
version = 12
|
||||
});
|
||||
ViewBag.dataSource = appData;
|
||||
return View();
|
||||
}
|
||||
public class CarouselData
|
||||
{
|
||||
public string imageUrl { get; set; }
|
||||
public string title { get; set; }
|
||||
public string model { get; set; }
|
||||
public string brand { get; set; }
|
||||
public string releaseDate { get; set; }
|
||||
public string ram { get; set; }
|
||||
public string rom { get; set; }
|
||||
public string platform { get; set; }
|
||||
public int version { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,40 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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> chartData = new List<AreaChartData>
|
||||
{
|
||||
new AreaChartData { xValue = new DateTime(2000, 01, 01), yValue = 4, yValue1 = 2.6 },
|
||||
new AreaChartData { xValue = new DateTime(2001, 01, 01), yValue = 3.0, yValue1 = 2.8 },
|
||||
new AreaChartData { xValue = new DateTime(2002, 01, 01), yValue = 3.8, yValue1 = 2.6 },
|
||||
new AreaChartData { xValue = new DateTime(2003, 01, 01), yValue = 3.4, yValue1 = 3 },
|
||||
new AreaChartData { xValue = new DateTime(2004, 01, 01), yValue = 3.2, yValue1 = 3.6 },
|
||||
new AreaChartData { xValue = new DateTime(2005, 01, 01), yValue = 3.9, yValue1 = 3 },
|
||||
};
|
||||
ViewBag.dataSource = chartData;
|
||||
return View();
|
||||
}
|
||||
public class AreaChartData
|
||||
{
|
||||
public DateTime xValue;
|
||||
public double yValue;
|
||||
public double yValue1;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,57 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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> chartData = new List<AreaEmptyChartData>
|
||||
{
|
||||
new AreaEmptyChartData { x= "2002", y= 2 },
|
||||
new AreaEmptyChartData { x= "2003", y= 1.7 },
|
||||
new AreaEmptyChartData { x= "2004", y= 1.8 },
|
||||
new AreaEmptyChartData { x= "2005", y= 2.1 },
|
||||
new AreaEmptyChartData { x= "2006", y= 2.3 },
|
||||
new AreaEmptyChartData { x= "2007", y= 1.7 },
|
||||
new AreaEmptyChartData { x= "2008", y= 1.5 },
|
||||
new AreaEmptyChartData { x= "2009", y= 1.8 },
|
||||
new AreaEmptyChartData { x= "2010", y= 2 },
|
||||
new AreaEmptyChartData { x= "2011", y= 3.1 }
|
||||
};
|
||||
ViewBag.dataSource = chartData;
|
||||
List<AreaEmptyChartData> chartData1 = new List<AreaEmptyChartData>
|
||||
{
|
||||
new AreaEmptyChartData { x= "2002", y= 2.2 },
|
||||
new AreaEmptyChartData { x= "2003", y= 3.4 },
|
||||
new AreaEmptyChartData { x= "2004", y= 2.8 },
|
||||
new AreaEmptyChartData { x= "2005", y= Double.NaN },
|
||||
new AreaEmptyChartData { x= "2006", y= Double.NaN },
|
||||
new AreaEmptyChartData { x= "2007", y= 2.5 },
|
||||
new AreaEmptyChartData { x= "2008", y= 2.9 },
|
||||
new AreaEmptyChartData { x= "2009", y= 3.8 },
|
||||
new AreaEmptyChartData { x= "2010", y= 1.4 },
|
||||
new AreaEmptyChartData { x= "2011", y= 3.1 }
|
||||
};
|
||||
ViewBag.dataSource1 = chartData1;
|
||||
return View();
|
||||
}
|
||||
public class AreaEmptyChartData
|
||||
{
|
||||
public string x;
|
||||
public double y;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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, 5, 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();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,76 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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;
|
||||
|
||||
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class ChartController : Controller
|
||||
{
|
||||
|
||||
public IActionResult AxisCrossing()
|
||||
{
|
||||
|
||||
List<AxisData> scatterData = new List<AxisData>
|
||||
{
|
||||
new AxisData { xValue = -6, yValue1 = 2},
|
||||
new AxisData { xValue = -3, yValue1 = -4 },
|
||||
new AxisData { xValue = 1.5, yValue1 = 3.5 },
|
||||
new AxisData { xValue = 6, yValue1 = 4.5},
|
||||
|
||||
};
|
||||
|
||||
List<AxisData> splineData = new List<AxisData>
|
||||
{
|
||||
new AxisData { xValue = -6, yValue1 = 2},
|
||||
new AxisData { xValue = -5.291, yValue1 = 0.1 },
|
||||
new AxisData { xValue = -5, yValue1 = -0.77},
|
||||
new AxisData { xValue = -3, yValue1 = -4},
|
||||
new AxisData { xValue = -0.6, yValue1 = -0.965},
|
||||
new AxisData { xValue = -0.175, yValue1 = 0.1},
|
||||
new AxisData { xValue = 0.1, yValue1 = 0.404},
|
||||
new AxisData { xValue = 1.5, yValue1 = 3.5},
|
||||
new AxisData { xValue = 3.863, yValue1 = 5.163},
|
||||
new AxisData { xValue = 6, yValue1 = 4.5},
|
||||
|
||||
};
|
||||
|
||||
List<AxisData> lineData = new List<AxisData>
|
||||
{
|
||||
new AxisData { xValue = -6, yValue1 = 2},
|
||||
new AxisData { xValue = -5, yValue1 = 0.1 },
|
||||
new AxisData { xValue = -4.511, yValue1 = -0.977},
|
||||
new AxisData { xValue = -3, yValue1 = -4},
|
||||
new AxisData { xValue = -1.348, yValue1 = -1.247},
|
||||
new AxisData { xValue = -0.6, yValue1 = 0.11},
|
||||
new AxisData { xValue = 0.1, yValue1 = 1},
|
||||
new AxisData { xValue = 1.5, yValue1 = 3.5},
|
||||
new AxisData { xValue = 6, yValue1 = 4.5},
|
||||
|
||||
};
|
||||
ViewBag.scatter = scatterData;
|
||||
ViewBag.spline = splineData;
|
||||
ViewBag.line = lineData;
|
||||
ViewBag.axis = new String[] { "xAxis", "yAxis" };
|
||||
return View();
|
||||
}
|
||||
|
||||
public class AxisData
|
||||
{
|
||||
public Nullable<double> xValue;
|
||||
public Nullable<double> yValue1;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,45 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 Bar()
|
||||
{
|
||||
List<BarChartData> chartData = new List<BarChartData>
|
||||
{
|
||||
new BarChartData { x= "Egg", y= 2.2 },
|
||||
new BarChartData { x= "Fish", y= 2.4 },
|
||||
new BarChartData { x= "Misc", y= 3 },
|
||||
new BarChartData { x= "Tea", y= 3.1 }
|
||||
};
|
||||
ViewBag.dataSource = chartData;
|
||||
List<BarChartData> chartData1 = new List<BarChartData>
|
||||
{
|
||||
new BarChartData { x= "Egg", y= 1.2 },
|
||||
new BarChartData { x= "Fish", y= 1.3 },
|
||||
new BarChartData { x= "Misc", y= 1.5 },
|
||||
new BarChartData { x= "Tea", y= 2.2 }
|
||||
};
|
||||
ViewBag.dataSource1 = chartData1;
|
||||
return View();
|
||||
}
|
||||
public class BarChartData
|
||||
{
|
||||
public string x;
|
||||
public double y;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 BollingerChart()
|
||||
{
|
||||
|
||||
return View();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 BoxandWhisker()
|
||||
{
|
||||
Double[] y1 = { 22, 22, 23, 25, 25, 25, 26, 27, 27, 28, 28, 29, 30, 32, 34, 32, 34, 36, 35, 38 };
|
||||
Double[] y2 = { 22, 33, 23, 25, 26, 28, 29, 30, 34, 33, 32, 31, 50 };
|
||||
Double[] y3 = { 22, 24, 25, 30, 32, 34, 36, 38, 39, 41, 35, 36, 40, 56 };
|
||||
Double[] y4 = { 26, 27, 28, 30, 32, 34, 35, 37, 35, 37, 45 };
|
||||
Double[] y5 = { 26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 41, 43, 58 };
|
||||
Double[] y6 = { 27, 26, 28, 29, 29, 29, 32, 35, 32, 38, 53 };
|
||||
Double[] y7 = { 21, 23, 24, 25, 26, 27, 28, 30, 34, 36, 38 };
|
||||
Double[] y8 = { 26, 28, 29, 30, 32, 33, 35, 36, 52 };
|
||||
Double[] y9 = { 28, 29, 30, 31, 32, 34, 35, 36 };
|
||||
|
||||
List<BoxandWhiskerData> chartData = new List<BoxandWhiskerData>
|
||||
{
|
||||
new BoxandWhiskerData { x= "Development", y=y1},
|
||||
new BoxandWhiskerData { x= "Testing", y=y2 },
|
||||
new BoxandWhiskerData { x= "HR", y=y3 },
|
||||
new BoxandWhiskerData { x= "Finance", y=y4 },
|
||||
new BoxandWhiskerData { x= "R&D", y=y5},
|
||||
new BoxandWhiskerData { x= "Sales", y=y6},
|
||||
new BoxandWhiskerData { x= "Inventory", y=y7 },
|
||||
new BoxandWhiskerData { x= "Graphics", y=y8},
|
||||
new BoxandWhiskerData { x= "Training", y=y9}
|
||||
};
|
||||
ViewBag.dataSource = chartData;
|
||||
ViewBag.mode = new string[] { "Normal", "Inclusive", "Exclusive" };
|
||||
return View();
|
||||
}
|
||||
public class BoxandWhiskerData
|
||||
{
|
||||
public string x;
|
||||
public double[] y;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 Bubble()
|
||||
{
|
||||
List<BubbleChartData> chartData = new List<BubbleChartData>
|
||||
{
|
||||
new BubbleChartData { x= 92.2, y= 7.8, size= 1.347, text= "China" },
|
||||
new BubbleChartData { x= 74, y= 6.5, size= 1.241, text= "India" },
|
||||
new BubbleChartData { x= 90.4, y= 6.0, size= 0.238, text= "Indonesia" },
|
||||
new BubbleChartData { x= 99.4, y= 2.2, size= 0.312, text= "US" },
|
||||
new BubbleChartData { x= 88.6, y= 1.3, size= 0.197, text= "Brazil" },
|
||||
new BubbleChartData { x= 99, y= 0.7, size= 0.0818, text= "Germany" },
|
||||
new BubbleChartData { x= 72, y= 2.0, size= 0.0826, text= "Egypt" },
|
||||
new BubbleChartData { x= 99.6, y= 3.4, size= 0.143, text= "Russia" },
|
||||
new BubbleChartData { x= 99, y= 0.2, size= 0.128, text= "Japan" },
|
||||
new BubbleChartData { x= 86.1, y= 4.0, size= 0.115, text= "Mexico" },
|
||||
new BubbleChartData { x= 92.6, y= 6.6, size= 0.096, text= "Philippines" },
|
||||
new BubbleChartData { x= 61.3, y= 1.45, size= 0.162, text= "Nigeria" },
|
||||
new BubbleChartData { x= 82.2, y= 3.97, size= 0.7, text= "Hong Kong" },
|
||||
new BubbleChartData { x= 79.2, y= 3.9, size= 0.162, text= "Netherland" },
|
||||
new BubbleChartData { x= 72.5, y= 4.5, size= 0.7, text= "Jordan" },
|
||||
new BubbleChartData { x= 81, y= 3.5, size= 0.21, text= "Australia" },
|
||||
new BubbleChartData { x= 66.8, y= 3.9, size= 0.028, text= "Mongolia" },
|
||||
new BubbleChartData { x= 78.4, y= 2.9, size= 0.231, text= "Taiwan" }
|
||||
};
|
||||
ViewBag.dataSource = chartData;
|
||||
return View();
|
||||
}
|
||||
public class BubbleChartData
|
||||
{
|
||||
public double x;
|
||||
public double y;
|
||||
public double size;
|
||||
public string text;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 CandleStick()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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;
|
||||
|
||||
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
||||
|
||||
namespace EJ2CoreSampleBrowser.Controllers
|
||||
{
|
||||
public partial class ChartController : Controller
|
||||
{
|
||||
|
||||
public IActionResult CategoryAxis()
|
||||
{
|
||||
List<CategoryData> chartData = new List<CategoryData>
|
||||
{
|
||||
new CategoryData { x = "Germany", y = 72, country = "GER: 72" },
|
||||
new CategoryData { x = "Russia", y = 103.1, country = "RUS: 103.1" },
|
||||
new CategoryData { x = "Brazil", y = 139.1, country = "BRZ: 139.1" },
|
||||
new CategoryData { x = "India", y = 462.1, country = "IND: 462.1" },
|
||||
new CategoryData { x = "China", y = 721.4, country = "CHN: 721.4" },
|
||||
new CategoryData { x = "United States<br>of America", y = 286.9, country = "USA: 286.9" },
|
||||
new CategoryData { x = "Great Britain", y = 115.1, country = "GBR: 115.1" },
|
||||
new CategoryData { x = "Nigeria", y = 97.2, country = "NGR: 97.2" },
|
||||
};
|
||||
ViewBag.dataSource = chartData;
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 ChartPerformance()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,38 +0,0 @@
|
|||
#region Copyright Syncfusion Inc. 2001-2022.
|
||||
// Copyright Syncfusion Inc. 2001-2022. 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 Column()
|
||||
{
|
||||
List<ColumnChartData> chartData = new List<ColumnChartData>
|
||||
{
|
||||
new ColumnChartData { x= "USA", yValue= 46, yValue1=37, yValue2=38 },
|
||||
new ColumnChartData { x= "GBR", yValue= 27, yValue1=23, yValue2=17 },
|
||||
new ColumnChartData { x= "CHN", yValue= 26, yValue1=18, yValue2=26 }
|
||||
};
|
||||
ViewBag.dataSource = chartData;
|
||||
return View();
|
||||
}
|
||||
public class ColumnChartData
|
||||
{
|
||||
public string x;
|
||||
public double yValue;
|
||||
public double yValue1;
|
||||
public double yValue2;
|
||||
}
|
||||
}
|
||||
}
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче