-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Backiaraj/grid
Update the project
- Loading branch information
Showing
63 changed files
with
491 additions
and
1,471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
<Router AppAssembly="@typeof(Program).Assembly"> | ||
<Router AppAssembly="@typeof(App).Assembly"> | ||
<Found Context="routeData"> | ||
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" /> | ||
<FocusOnNavigate RouteData="@routeData" Selector="h1" /> | ||
</Found> | ||
<NotFound> | ||
<PageTitle>Not found</PageTitle> | ||
<LayoutView Layout="@typeof(MainLayout)"> | ||
<p>Sorry, there's nothing at this address.</p> | ||
<p role="alert">Sorry, there's nothing at this address.</p> | ||
</LayoutView> | ||
</NotFound> | ||
</Router> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Syncfusion.Blazor.Grid" Version="23.1.43" /> | ||
<PackageReference Include="Syncfusion.Blazor.Inputs" Version="23.1.43" /> | ||
<PackageReference Include="Syncfusion.Blazor.Navigations" Version="23.1.43" /> | ||
<PackageReference Include="Syncfusion.Blazor.Themes" Version="23.1.43" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.0.31729.503 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.4.33213.308 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Grid_DialogTemplate", "Grid_DialogTemplate\Grid_DialogTemplate.csproj", "{51CE9524-D72B-4848-869C-7E601FFD29A4}" | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CRUDDialogFileUploader", "CRUDDialogFileUploader.csproj", "{0AFB60CF-09B4-478C-963B-633A9C4228AA}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{51CE9524-D72B-4848-869C-7E601FFD29A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{51CE9524-D72B-4848-869C-7E601FFD29A4}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{51CE9524-D72B-4848-869C-7E601FFD29A4}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{51CE9524-D72B-4848-869C-7E601FFD29A4}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{0AFB60CF-09B4-478C-963B-633A9C4228AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{0AFB60CF-09B4-478C-963B-633A9C4228AA}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{0AFB60CF-09B4-478C-963B-633A9C4228AA}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{0AFB60CF-09B4-478C-963B-633A9C4228AA}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {57BE565B-17E4-4CC4-B215-D0DFB9A1C78E} | ||
SolutionGuid = {1D3CC2A6-4D5C-4DB6-BE33-AE092FDD80B2} | ||
EndGlobalSection | ||
EndGlobal |
10 changes: 4 additions & 6 deletions
10
Grid_DialogTemplate/Data/WeatherForecast.cs → Data/WeatherForecast.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
using System; | ||
|
||
namespace Grid_DialogTemplate.Data | ||
namespace CRUDDialogFileUploader.Data | ||
{ | ||
public class WeatherForecast | ||
{ | ||
public DateTime Date { get; set; } | ||
public DateOnly Date { get; set; } | ||
|
||
public int TemperatureC { get; set; } | ||
|
||
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); | ||
|
||
public string Summary { get; set; } | ||
public string? Summary { get; set; } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace CRUDDialogFileUploader.Data | ||
{ | ||
public class WeatherForecastService | ||
{ | ||
private static readonly string[] Summaries = new[] | ||
{ | ||
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" | ||
}; | ||
|
||
public Task<WeatherForecast[]> GetForecastAsync(DateOnly startDate) | ||
{ | ||
return Task.FromResult(Enumerable.Range(1, 5).Select(index => new WeatherForecast | ||
{ | ||
Date = startDate.AddDays(index), | ||
TemperatureC = Random.Shared.Next(-20, 55), | ||
Summary = Summaries[Random.Shared.Next(Summaries.Length)] | ||
}).ToArray()); | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.