diff --git a/Cascading-dropdown-remote-data/filter_core/.vs/config/applicationhost.config b/Cascading-dropdown-remote-data/filter_core/.vs/config/applicationhost.config deleted file mode 100644 index 4f1416f..0000000 --- a/Cascading-dropdown-remote-data/filter_core/.vs/config/applicationhost.config +++ /dev/null @@ -1,990 +0,0 @@ - - - - - - -
-
-
-
-
-
-
-
- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
-
-
- -
-
-
-
-
- -
-
-
- -
-
- -
-
- -
-
-
- - -
-
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/DesignTimeBuild/.dtbcache b/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/DesignTimeBuild/.dtbcache deleted file mode 100644 index fc1720f..0000000 Binary files a/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/DesignTimeBuild/.dtbcache and /dev/null differ diff --git a/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/v15/.suo b/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/v15/.suo deleted file mode 100644 index b29b5aa..0000000 Binary files a/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/v15/.suo and /dev/null differ diff --git a/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/v15/Server/sqlite3/storage.ide b/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/v15/Server/sqlite3/storage.ide deleted file mode 100644 index 5e79b82..0000000 Binary files a/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/v15/Server/sqlite3/storage.ide and /dev/null differ diff --git a/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/v15/Server/sqlite3/storage.ide-shm b/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/v15/Server/sqlite3/storage.ide-shm deleted file mode 100644 index bbd4eda..0000000 Binary files a/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/v15/Server/sqlite3/storage.ide-shm and /dev/null differ diff --git a/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/v15/Server/sqlite3/storage.ide-wal b/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/v15/Server/sqlite3/storage.ide-wal deleted file mode 100644 index ed7e01f..0000000 Binary files a/Cascading-dropdown-remote-data/filter_core/.vs/filter_core/v15/Server/sqlite3/storage.ide-wal and /dev/null differ diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Controllers/HomeController.cs b/Cascading-dropdown-remote-data/filter_core/Controllers/HomeController.cs similarity index 92% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Controllers/HomeController.cs rename to Cascading-dropdown-remote-data/filter_core/Controllers/HomeController.cs index db8cd0f..77fb68a 100644 --- a/Cascading-dropdown-remote-data/filter_core/filter_core/Controllers/HomeController.cs +++ b/Cascading-dropdown-remote-data/filter_core/Controllers/HomeController.cs @@ -6,6 +6,7 @@ using Microsoft.AspNetCore.Mvc; using filter_core.Models; using Syncfusion.EJ2.Base; + using System.Text.Json; namespace TestSample.Controllers { @@ -21,27 +22,30 @@ public IActionResult Index() ViewBag.DataSource = Order; return View(); - } + } - - public IActionResult StateDataSource([FromBody]ExtendedDataManager dm) - { +public IActionResult StateDataSource([FromBody] ExtendedDataManager dm) +{ + var states = States.getStates(); - var state = States.getStates(); - - var Data = state.ToList(); - int count = state.Count(); + int countryId = 0; + if (dm.Where != null && dm.Where.Count > 0) + { + var jsonValue = (JsonElement)dm.Where[0].value; - List iterateState= new List(); - foreach (States st in state) { - if (st.countryId == (Int64)dm.Where[0].value) { - iterateState.Add(st); - } - } - return dm.RequiresCounts ? Json(new { result = Data.Skip(dm.Skip).Take(dm.Take), count = count }) : Json(iterateState.ToList()); + if (jsonValue.ValueKind == JsonValueKind.Number) + { + countryId = jsonValue.GetInt32(); // or GetInt64() } + } + var filteredStates = states + .Where(st => st.countryId == countryId) + .ToList(); + + return Json(filteredStates); +} public IActionResult CountryDataSource([FromBody]ExtendedDataManager dm) { diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Models/ErrorViewModel.cs b/Cascading-dropdown-remote-data/filter_core/Models/ErrorViewModel.cs similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Models/ErrorViewModel.cs rename to Cascading-dropdown-remote-data/filter_core/Models/ErrorViewModel.cs diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Program.cs b/Cascading-dropdown-remote-data/filter_core/Program.cs similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Program.cs rename to Cascading-dropdown-remote-data/filter_core/Program.cs diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Properties/launchSettings.json b/Cascading-dropdown-remote-data/filter_core/Properties/launchSettings.json similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Properties/launchSettings.json rename to Cascading-dropdown-remote-data/filter_core/Properties/launchSettings.json diff --git a/Cascading-dropdown-remote-data/filter_core/README.md b/Cascading-dropdown-remote-data/filter_core/README.md new file mode 100644 index 0000000..d9b049c --- /dev/null +++ b/Cascading-dropdown-remote-data/filter_core/README.md @@ -0,0 +1,55 @@ +# ASP.NET Core DataGrid – Cascading Dropdown Editing with Remote Data + +## Repository Description + +This repository demonstrates how to implement cascading dropdown editors with remote data binding inside an ASP.NET Core DataGrid during inline editing scenarios. + +## Project Overview + +This sample project shows how to configure the Syncfusion ASP.NET Core DataGrid to support cascading DropDownList components when editing grid rows. The primary use case is handling dependent fields such as Country and State, where the available options in one dropdown depend on the selected value of another. + +The grid is configured with inline CRUD operations and retrieves its dropdown data from remote endpoints using the `UrlAdaptor`. JavaScript editor lifecycle methods (`create`, `read`, `write`, and `destroy`) are used to fully control the behavior of each dropdown editor. + +## Key Features + +- Inline editing with Add, Edit, Delete, Update, and Cancel actions +- Cascading dropdown editors inside grid columns +- Remote data loading using DataManager and UrlAdaptor +- Dynamic filtering of dependent dropdown values +- Clean separation of grid configuration and editor logic + +## Technologies Used + +- ASP.NET Core MVC +- Syncfusion EJ2 ASP.NET Core DataGrid +- JavaScript (EJ2 DropDownList components) +- Remote data binding using Web API endpoints + +## Prerequisites + +- Visual Studio 2022 +- .NET SDK compatible with ASP.NET Core +- Syncfusion EJ2 ASP.NET Core packages + +## Functionality + +When a country is selected in the `ShipCountry` column, the `ShipCity` dropdown is enabled and filtered dynamically using a query based on the selected country ID. The state dropdown remains disabled until a valid country selection is made, ensuring proper cascading behavior. + +## Running the Application + +1. Clone or download the repository to your local machine. +``` +git clone +``` +2. Open the solution file in Visual Studio 2022. +3. Restore NuGet packages by rebuilding the solution. +4. Run the project and navigate to the home page to view the grid. + +## Usage +Use the toolbar buttons to add or edit a record. Select a country first, then choose the corresponding state from the filtered dropdown list. + +## Reference Documentation: + +- [Getting started with ASP.NET CORE Grid](https://ej2.syncfusion.com/aspnetcore/documentation/grid/getting-started-core) +- [Editing](https://ej2.syncfusion.com/aspnetcore/documentation/grid/editing/edit) +- [API Reference](https://help.syncfusion.com/cr/aspnetcore-js2/syncfusion.ej2.grids.grid.html) diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Scripts/ej2.min.js b/Cascading-dropdown-remote-data/filter_core/Scripts/ej2.min.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Scripts/ej2.min.js rename to Cascading-dropdown-remote-data/filter_core/Scripts/ej2.min.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Scripts/material.css b/Cascading-dropdown-remote-data/filter_core/Scripts/material.css similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Scripts/material.css rename to Cascading-dropdown-remote-data/filter_core/Scripts/material.css diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Startup.cs b/Cascading-dropdown-remote-data/filter_core/Startup.cs similarity index 56% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Startup.cs rename to Cascading-dropdown-remote-data/filter_core/Startup.cs index 42042a3..f486a20 100644 --- a/Cascading-dropdown-remote-data/filter_core/filter_core/Startup.cs +++ b/Cascading-dropdown-remote-data/filter_core/Startup.cs @@ -1,11 +1,8 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; namespace filter_core { @@ -18,33 +15,35 @@ public Startup(IConfiguration configuration) public IConfiguration Configuration { get; } - // This method gets called by the runtime. Use this method to add services to the container. + // Register services public void ConfigureServices(IServiceCollection services) { - services.AddMvc(); + services.AddControllersWithViews(); } - // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IHostingEnvironment env) + // Configure HTTP request pipeline + public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { if (env.IsDevelopment()) { - app.UseBrowserLink(); app.UseDeveloperExceptionPage(); } else { app.UseExceptionHandler("/Home/Error"); + app.UseHsts(); } app.UseStaticFiles(); - app.UseMvc(routes => + app.UseRouting(); + + app.UseEndpoints(endpoints => { - routes.MapRoute( + endpoints.MapControllerRoute( name: "default", - template: "{controller=Home}/{action=Index}/{id?}"); + pattern: "{controller=Home}/{action=Index}/{id?}"); }); } } -} +} \ No newline at end of file diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Views/Home/About.cshtml b/Cascading-dropdown-remote-data/filter_core/Views/Home/About.cshtml similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Views/Home/About.cshtml rename to Cascading-dropdown-remote-data/filter_core/Views/Home/About.cshtml diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Views/Home/Contact.cshtml b/Cascading-dropdown-remote-data/filter_core/Views/Home/Contact.cshtml similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Views/Home/Contact.cshtml rename to Cascading-dropdown-remote-data/filter_core/Views/Home/Contact.cshtml diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Views/Home/Index.cshtml b/Cascading-dropdown-remote-data/filter_core/Views/Home/Index.cshtml similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Views/Home/Index.cshtml rename to Cascading-dropdown-remote-data/filter_core/Views/Home/Index.cshtml diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Views/Shared/Error.cshtml b/Cascading-dropdown-remote-data/filter_core/Views/Shared/Error.cshtml similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Views/Shared/Error.cshtml rename to Cascading-dropdown-remote-data/filter_core/Views/Shared/Error.cshtml diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Views/Shared/_Layout.cshtml b/Cascading-dropdown-remote-data/filter_core/Views/Shared/_Layout.cshtml similarity index 87% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Views/Shared/_Layout.cshtml rename to Cascading-dropdown-remote-data/filter_core/Views/Shared/_Layout.cshtml index d37aaaf..d3fe59d 100644 --- a/Cascading-dropdown-remote-data/filter_core/filter_core/Views/Shared/_Layout.cshtml +++ b/Cascading-dropdown-remote-data/filter_core/Views/Shared/_Layout.cshtml @@ -5,7 +5,7 @@ @ViewData["Title"] - filter_core @* Syncfusion Essential JS 2 Styles *@ - + @* Syncfusion Essential JS 2 Scripts *@ diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Views/Shared/_ValidationScriptsPartial.cshtml b/Cascading-dropdown-remote-data/filter_core/Views/Shared/_ValidationScriptsPartial.cshtml similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Views/Shared/_ValidationScriptsPartial.cshtml rename to Cascading-dropdown-remote-data/filter_core/Views/Shared/_ValidationScriptsPartial.cshtml diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Views/_ViewImports.cshtml b/Cascading-dropdown-remote-data/filter_core/Views/_ViewImports.cshtml similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Views/_ViewImports.cshtml rename to Cascading-dropdown-remote-data/filter_core/Views/_ViewImports.cshtml diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/Views/_ViewStart.cshtml b/Cascading-dropdown-remote-data/filter_core/Views/_ViewStart.cshtml similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/Views/_ViewStart.cshtml rename to Cascading-dropdown-remote-data/filter_core/Views/_ViewStart.cshtml diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/appsettings.Development.json b/Cascading-dropdown-remote-data/filter_core/appsettings.Development.json similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/appsettings.Development.json rename to Cascading-dropdown-remote-data/filter_core/appsettings.Development.json diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/appsettings.json b/Cascading-dropdown-remote-data/filter_core/appsettings.json similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/appsettings.json rename to Cascading-dropdown-remote-data/filter_core/appsettings.json diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/bundleconfig.json b/Cascading-dropdown-remote-data/filter_core/bundleconfig.json similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/bundleconfig.json rename to Cascading-dropdown-remote-data/filter_core/bundleconfig.json diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core.csproj b/Cascading-dropdown-remote-data/filter_core/filter_core.csproj new file mode 100644 index 0000000..bac9cc0 --- /dev/null +++ b/Cascading-dropdown-remote-data/filter_core/filter_core.csproj @@ -0,0 +1,11 @@ + + + + netcoreapp8.0 + + + + + + + \ No newline at end of file diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core.sln b/Cascading-dropdown-remote-data/filter_core/filter_core.sln index 87779a3..ece3a0e 100644 --- a/Cascading-dropdown-remote-data/filter_core/filter_core.sln +++ b/Cascading-dropdown-remote-data/filter_core/filter_core.sln @@ -1,9 +1,8 @@ - Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27428.2015 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.2.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "filter_core", "filter_core\filter_core.csproj", "{863C6282-A34E-4B20-B959-8393DEDA592F}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "filter_core", "filter_core.csproj", "{22924FC8-4EFF-8C01-3543-05DF1F01C510}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,15 +10,15 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {863C6282-A34E-4B20-B959-8393DEDA592F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {863C6282-A34E-4B20-B959-8393DEDA592F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {863C6282-A34E-4B20-B959-8393DEDA592F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {863C6282-A34E-4B20-B959-8393DEDA592F}.Release|Any CPU.Build.0 = Release|Any CPU + {22924FC8-4EFF-8C01-3543-05DF1F01C510}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {22924FC8-4EFF-8C01-3543-05DF1F01C510}.Debug|Any CPU.Build.0 = Debug|Any CPU + {22924FC8-4EFF-8C01-3543-05DF1F01C510}.Release|Any CPU.ActiveCfg = Release|Any CPU + {22924FC8-4EFF-8C01-3543-05DF1F01C510}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {E25874A3-9C9B-40BD-B381-05866527B182} + SolutionGuid = {2A0C1549-0B62-4B35-BC56-E207E8A39AA0} EndGlobalSection EndGlobal diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/filter_core.csproj b/Cascading-dropdown-remote-data/filter_core/filter_core/filter_core.csproj deleted file mode 100644 index 8723615..0000000 --- a/Cascading-dropdown-remote-data/filter_core/filter_core/filter_core.csproj +++ /dev/null @@ -1,16 +0,0 @@ - - - - netcoreapp2.0 - - - - - - - - - - - - diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/css/site.css b/Cascading-dropdown-remote-data/filter_core/wwwroot/css/site.css similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/css/site.css rename to Cascading-dropdown-remote-data/filter_core/wwwroot/css/site.css diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/css/site.min.css b/Cascading-dropdown-remote-data/filter_core/wwwroot/css/site.min.css similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/css/site.min.css rename to Cascading-dropdown-remote-data/filter_core/wwwroot/css/site.min.css diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/favicon.ico b/Cascading-dropdown-remote-data/filter_core/wwwroot/favicon.ico similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/favicon.ico rename to Cascading-dropdown-remote-data/filter_core/wwwroot/favicon.ico diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/images/banner1.svg b/Cascading-dropdown-remote-data/filter_core/wwwroot/images/banner1.svg similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/images/banner1.svg rename to Cascading-dropdown-remote-data/filter_core/wwwroot/images/banner1.svg diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/images/banner2.svg b/Cascading-dropdown-remote-data/filter_core/wwwroot/images/banner2.svg similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/images/banner2.svg rename to Cascading-dropdown-remote-data/filter_core/wwwroot/images/banner2.svg diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/images/banner3.svg b/Cascading-dropdown-remote-data/filter_core/wwwroot/images/banner3.svg similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/images/banner3.svg rename to Cascading-dropdown-remote-data/filter_core/wwwroot/images/banner3.svg diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/images/banner4.svg b/Cascading-dropdown-remote-data/filter_core/wwwroot/images/banner4.svg similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/images/banner4.svg rename to Cascading-dropdown-remote-data/filter_core/wwwroot/images/banner4.svg diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/js/site.js b/Cascading-dropdown-remote-data/filter_core/wwwroot/js/site.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/js/site.js rename to Cascading-dropdown-remote-data/filter_core/wwwroot/js/site.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/js/site.min.js b/Cascading-dropdown-remote-data/filter_core/wwwroot/js/site.min.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/js/site.min.js rename to Cascading-dropdown-remote-data/filter_core/wwwroot/js/site.min.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/.bower.json b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/.bower.json similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/.bower.json rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/.bower.json diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/LICENSE b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/LICENSE similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/LICENSE rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/LICENSE diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css.map b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css.map similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css.map rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css.map diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css.map b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css.map similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css.map rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css.map diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.css b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.css similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.css rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.css diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/js/bootstrap.js b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/js/bootstrap.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/js/bootstrap.js rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/js/bootstrap.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/js/npm.js b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/js/npm.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/bootstrap/dist/js/npm.js rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/bootstrap/dist/js/npm.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation-unobtrusive/.bower.json b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation-unobtrusive/.bower.json similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation-unobtrusive/.bower.json rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation-unobtrusive/.bower.json diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation/.bower.json b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation/.bower.json similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation/.bower.json rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation/.bower.json diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation/LICENSE.md b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation/LICENSE.md similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation/LICENSE.md rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation/LICENSE.md diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation/dist/additional-methods.js b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation/dist/additional-methods.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation/dist/additional-methods.js rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation/dist/additional-methods.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation/dist/additional-methods.min.js b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation/dist/additional-methods.min.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation/dist/additional-methods.min.js rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation/dist/additional-methods.min.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation/dist/jquery.validate.js b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation/dist/jquery.validate.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation/dist/jquery.validate.js rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation/dist/jquery.validate.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery/.bower.json b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery/.bower.json similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery/.bower.json rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery/.bower.json diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery/LICENSE.txt b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery/LICENSE.txt similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery/LICENSE.txt rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery/LICENSE.txt diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery/dist/jquery.js b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery/dist/jquery.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery/dist/jquery.js rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery/dist/jquery.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery/dist/jquery.min.js b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery/dist/jquery.min.js similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery/dist/jquery.min.js rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery/dist/jquery.min.js diff --git a/Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery/dist/jquery.min.map b/Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery/dist/jquery.min.map similarity index 100% rename from Cascading-dropdown-remote-data/filter_core/filter_core/wwwroot/lib/jquery/dist/jquery.min.map rename to Cascading-dropdown-remote-data/filter_core/wwwroot/lib/jquery/dist/jquery.min.map diff --git a/README.md b/README.md deleted file mode 100644 index d759146..0000000 --- a/README.md +++ /dev/null @@ -1,14 +0,0 @@ -# ASP.MET CORE DataGrid - Cascading Dropdown Remote Data Editing in Data Binding - -This sample explains about how to achieve the cascading dropdown with remote data-binding in the ASP.NET Core DataGrid inline editing. - -## Prerequisites - -* Visual Studio 2022 - -## How to run the project - -* Checkout this project to a location in your disk. -* Open the solution file using the Visual Studio 2022. -* Restore the NuGet packages by rebuilding the solution. -* Run the project. \ No newline at end of file