Skip to content

Commit db72691

Browse files
fix build errors
1 parent d9740de commit db72691

File tree

10 files changed

+15
-16
lines changed

10 files changed

+15
-16
lines changed

common/message-box/dynamic-creation/Pages/FetchData.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<GridColumn Field="TemperatureF" />
1414
<GridColumn Field="Summary" />
1515
<GridCommandColumn Width="150px">
16-
<GridCommandButton OnClick="@AddForecast" Icon="@plus"></GridCommandButton>
16+
<GridCommandButton OnClick="@AddForecast" Icon="plus"></GridCommandButton>
1717
<GridCommandButton OnClick="@((args)=> EditForecast(args.Item as WeatherForecast))" Icon="arrow-chevron-right"></GridCommandButton>
1818
</GridCommandColumn>
1919
</GridColumns>

common/message-box/dynamic-creation/Shared/PopupLayout.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</WindowContent>
1313

1414
<WindowActions>
15-
<WindowAction Icon="@close" OnClick="@Close"></WindowAction>
15+
<WindowAction Icon="close" OnClick="@Close"></WindowAction>
1616
</WindowActions>
1717

1818
</TelerikWindow>

common/pdf-jpg-export-js/PdfExportJS/Pages/Export_Chart.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@using PdfExportJS.Services
44
@inject DrawingService DrawingService
55

6-
<TelerikButton Icon="@image" OnClick="@ExportChartToJPG">Export to .jpg</TelerikButton>
6+
<TelerikButton Icon="image" OnClick="@ExportChartToJPG">Export to .jpg</TelerikButton>
77

88
<div @ref="ExportChart">
99
<TelerikChart Height="480px" Width="640px">

common/pdf-jpg-export-js/PdfExportJS/Pages/Index.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
FilterMode="Telerik.Blazor.GridFilterMode.FilterRow"
1010
Resizable="true" Reorderable="true">
1111
<GridToolBar>
12-
<TelerikButton Icon="@file-pdf" OnClick="@ExportPdf">Export to PDF</TelerikButton>
13-
<TelerikButton Icon="@image" OnClick="@ExportJpg">Export to JPG</TelerikButton>
12+
<TelerikButton Icon="file-pdf" OnClick="@ExportPdf">Export to PDF</TelerikButton>
13+
<TelerikButton Icon="image" OnClick="@ExportJpg">Export to JPG</TelerikButton>
1414
</GridToolBar>
1515
<GridColumns>
1616
<GridColumn Field="@(nameof(SampleData.Id))" Width="120px" />

drawer/sidenav/Shared/MainLayout.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
@* This layout is now in the drawer Content, and is very similar to the default template layout *@
4747
<div class="main">
4848
@* This is the button to collapse/expand the drawer, in this sample it is positioned absolutely so it moves with the drawer and stays above the rest of the content *@
49-
<TelerikButton OnClick="@( () => DrawerRef.ToggleAsync() )" Icon="@menu" Class="drawer-hamburger"></TelerikButton>
49+
<TelerikButton OnClick="@( () => DrawerRef.ToggleAsync() )" Icon="menu" Class="drawer-hamburger"></TelerikButton>
5050

5151
<div class="top-row px-4">
5252
<a href="https://docs.microsoft.com/en-us/aspnet/" target="_blank">About</a>

drawer/template/template/Shared/MainLayout.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<Template>
5151
@* the header *@
5252
<TelerikButton OnClick="@( () => DrawerRef.ToggleAsync() )"
53-
Icon="@menu"
53+
Icon="menu"
5454
Class="drawer-hamburger" />
5555
<div class="mt-5">
5656
@if (DrawerExpanded)

editor/ImportExport/EditorImportExport/Pages/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<div class="notification-container">
2121
<TelerikAnimationContainer @ref="@FailureNotification" Width="300px" Height="200px" Top="20px" AnimationType=@AnimationType.SlideDown>
2222
<div class="k-widget k-popup k-notification k-notification-info">
23-
<h3><TelerikIcon Icon="@cancel" /> Problem</h3>
23+
<h3><TelerikIcon Icon="cancel" /> Problem</h3>
2424
<p>
2525
The operation failed, there is probably something in the content that prevents the conversion. Try simplifying the content and removing images/lists.
2626
</p>

grid/batch-editing/BatchEditing.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Telerik.UI.for.Blazor" Version="2.7.0" />
9+
<PackageReference Include="Telerik.UI.for.Blazor" Version="2.20.0" />
1010
</ItemGroup>
1111

1212
</Project>

grid/batch-editing/Pages/Index.razor

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
@{
1414
if (GridIsDirty())
1515
{
16-
<TelerikButton Icon="@save" OnClick="@SaveAllChanges" Primary="true">Save All Changes</TelerikButton>
17-
<TelerikButton Icon="@cancel" OnClick="@RevertAllChanges">Cancel All Changes</TelerikButton>
16+
<TelerikButton Icon="save" OnClick="@SaveAllChanges" Primary="true">Save All Changes</TelerikButton>
17+
<TelerikButton Icon="cancel" OnClick="@RevertAllChanges">Cancel All Changes</TelerikButton>
1818
}
1919
<GridCommandButton Command="Add" Icon="add">Add Employee</GridCommandButton>
2020
if (SelectedItems.Count() > 0)
2121
{
22-
<TelerikButton Icon="@delete" OnClick="@DeleteSelected">Delete Selected</TelerikButton>
22+
<TelerikButton Icon="delete" OnClick="@DeleteSelected">Delete Selected</TelerikButton>
2323
if (SelectionIsDirty())
2424
{
25-
<TelerikButton Icon="@undo" OnClick="@RevertSelected">Revert Selected</TelerikButton>
25+
<TelerikButton Icon="undo" OnClick="@RevertSelected">Revert Selected</TelerikButton>
2626
}
2727
}
2828
}
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.0</TargetFramework>
5-
<LangVersion>7.3</LangVersion>
4+
<TargetFramework>net5.0</TargetFramework>
65
</PropertyGroup>
76

87
<ItemGroup>
9-
<PackageReference Include="Telerik.UI.for.Blazor" Version="2.7.0" />
8+
<PackageReference Include="Telerik.UI.for.Blazor" Version="2.20.0" />
109
</ItemGroup>
1110

1211
</Project>

0 commit comments

Comments
 (0)