Skip to content

Commit 0ba7266

Browse files
Merge pull request #1 from Backiaraj/grid
Update the project
2 parents 200988f + 6765785 commit 0ba7266

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+491
-1471
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
<Router AppAssembly="@typeof(Program).Assembly">
1+
<Router AppAssembly="@typeof(App).Assembly">
22
<Found Context="routeData">
33
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
4+
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
45
</Found>
56
<NotFound>
7+
<PageTitle>Not found</PageTitle>
68
<LayoutView Layout="@typeof(MainLayout)">
7-
<p>Sorry, there's nothing at this address.</p>
9+
<p role="alert">Sorry, there's nothing at this address.</p>
810
</LayoutView>
911
</NotFound>
1012
</Router>

CRUDDialogFileUploader.csproj

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net7.0</TargetFramework>
5+
<Nullable>enable</Nullable>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<PackageReference Include="Syncfusion.Blazor.Grid" Version="23.1.43" />
11+
<PackageReference Include="Syncfusion.Blazor.Inputs" Version="23.1.43" />
12+
<PackageReference Include="Syncfusion.Blazor.Navigations" Version="23.1.43" />
13+
<PackageReference Include="Syncfusion.Blazor.Themes" Version="23.1.43" />
14+
</ItemGroup>
15+
16+
</Project>
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.31729.503
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.4.33213.308
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Grid_DialogTemplate", "Grid_DialogTemplate\Grid_DialogTemplate.csproj", "{51CE9524-D72B-4848-869C-7E601FFD29A4}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CRUDDialogFileUploader", "CRUDDialogFileUploader.csproj", "{0AFB60CF-09B4-478C-963B-633A9C4228AA}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1010
Debug|Any CPU = Debug|Any CPU
1111
Release|Any CPU = Release|Any CPU
1212
EndGlobalSection
1313
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14-
{51CE9524-D72B-4848-869C-7E601FFD29A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15-
{51CE9524-D72B-4848-869C-7E601FFD29A4}.Debug|Any CPU.Build.0 = Debug|Any CPU
16-
{51CE9524-D72B-4848-869C-7E601FFD29A4}.Release|Any CPU.ActiveCfg = Release|Any CPU
17-
{51CE9524-D72B-4848-869C-7E601FFD29A4}.Release|Any CPU.Build.0 = Release|Any CPU
14+
{0AFB60CF-09B4-478C-963B-633A9C4228AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{0AFB60CF-09B4-478C-963B-633A9C4228AA}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{0AFB60CF-09B4-478C-963B-633A9C4228AA}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{0AFB60CF-09B4-478C-963B-633A9C4228AA}.Release|Any CPU.Build.0 = Release|Any CPU
1818
EndGlobalSection
1919
GlobalSection(SolutionProperties) = preSolution
2020
HideSolutionNode = FALSE
2121
EndGlobalSection
2222
GlobalSection(ExtensibilityGlobals) = postSolution
23-
SolutionGuid = {57BE565B-17E4-4CC4-B215-D0DFB9A1C78E}
23+
SolutionGuid = {1D3CC2A6-4D5C-4DB6-BE33-AE092FDD80B2}
2424
EndGlobalSection
2525
EndGlobal
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
using System;
2-
3-
namespace Grid_DialogTemplate.Data
1+
namespace CRUDDialogFileUploader.Data
42
{
53
public class WeatherForecast
64
{
7-
public DateTime Date { get; set; }
5+
public DateOnly Date { get; set; }
86

97
public int TemperatureC { get; set; }
108

119
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
1210

13-
public string Summary { get; set; }
11+
public string? Summary { get; set; }
1412
}
15-
}
13+
}

Data/WeatherForecastService.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
namespace CRUDDialogFileUploader.Data
2+
{
3+
public class WeatherForecastService
4+
{
5+
private static readonly string[] Summaries = new[]
6+
{
7+
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
8+
};
9+
10+
public Task<WeatherForecast[]> GetForecastAsync(DateOnly startDate)
11+
{
12+
return Task.FromResult(Enumerable.Range(1, 5).Select(index => new WeatherForecast
13+
{
14+
Date = startDate.AddDays(index),
15+
TemperatureC = Random.Shared.Next(-20, 55),
16+
Summary = Summaries[Random.Shared.Next(Summaries.Length)]
17+
}).ToArray());
18+
}
19+
}
20+
}

Grid_DialogTemplate/Data/WeatherForecastService.cs

Lines changed: 0 additions & 25 deletions
This file was deleted.

Grid_DialogTemplate/Grid_DialogTemplate.csproj

Lines changed: 0 additions & 14 deletions
This file was deleted.

Grid_DialogTemplate/Program.cs

Lines changed: 0 additions & 26 deletions
This file was deleted.

Grid_DialogTemplate/Project_Readme.html

Lines changed: 0 additions & 186 deletions
This file was deleted.

0 commit comments

Comments
 (0)