Skip to content

Commit

Permalink
Merge pull request #1 from Backiaraj/grid
Browse files Browse the repository at this point in the history
Update the project
  • Loading branch information
rajendranr-5483 authored Nov 10, 2023
2 parents 200988f + 6765785 commit 0ba7266
Show file tree
Hide file tree
Showing 63 changed files with 491 additions and 1,471 deletions.
6 changes: 4 additions & 2 deletions Grid_DialogTemplate/App.razor → App.razor
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>
16 changes: 16 additions & 0 deletions CRUDDialogFileUploader.csproj
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>
16 changes: 8 additions & 8 deletions Grid-DialogTemplate.sln → CRUDDialogFileUploader.sln
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
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; }
}
}
}
20 changes: 20 additions & 0 deletions Data/WeatherForecastService.cs
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());
}
}
}
25 changes: 0 additions & 25 deletions Grid_DialogTemplate/Data/WeatherForecastService.cs

This file was deleted.

14 changes: 0 additions & 14 deletions Grid_DialogTemplate/Grid_DialogTemplate.csproj

This file was deleted.

26 changes: 0 additions & 26 deletions Grid_DialogTemplate/Program.cs

This file was deleted.

186 changes: 0 additions & 186 deletions Grid_DialogTemplate/Project_Readme.html

This file was deleted.

Loading

0 comments on commit 0ba7266

Please sign in to comment.