File tree 10 files changed +15
-16
lines changed
message-box/dynamic-creation
pdf-jpg-export-js/PdfExportJS/Pages
editor/ImportExport/EditorImportExport/Pages
10 files changed +15
-16
lines changed Original file line number Diff line number Diff line change 13
13
<GridColumn Field =" TemperatureF" />
14
14
<GridColumn Field =" Summary" />
15
15
<GridCommandColumn Width =" 150px" >
16
- <GridCommandButton OnClick =" @AddForecast" Icon =" @ plus" ></GridCommandButton >
16
+ <GridCommandButton OnClick =" @AddForecast" Icon =" plus" ></GridCommandButton >
17
17
<GridCommandButton OnClick =" @((args)=> EditForecast(args.Item as WeatherForecast))" Icon =" arrow-chevron-right" ></GridCommandButton >
18
18
</GridCommandColumn >
19
19
</GridColumns >
Original file line number Diff line number Diff line change 12
12
</WindowContent >
13
13
14
14
<WindowActions >
15
- <WindowAction Icon =" @ close" OnClick =" @Close" ></WindowAction >
15
+ <WindowAction Icon =" close" OnClick =" @Close" ></WindowAction >
16
16
</WindowActions >
17
17
18
18
</TelerikWindow >
Original file line number Diff line number Diff line change 3
3
@using PdfExportJS .Services
4
4
@inject DrawingService DrawingService
5
5
6
- <TelerikButton Icon =" @ image" OnClick =" @ExportChartToJPG" >Export to .jpg</TelerikButton >
6
+ <TelerikButton Icon =" image" OnClick =" @ExportChartToJPG" >Export to .jpg</TelerikButton >
7
7
8
8
<div @ref =" ExportChart" >
9
9
<TelerikChart Height =" 480px" Width =" 640px" >
Original file line number Diff line number Diff line change 9
9
FilterMode =" Telerik.Blazor.GridFilterMode.FilterRow"
10
10
Resizable =" true" Reorderable =" true" >
11
11
<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 >
14
14
</GridToolBar >
15
15
<GridColumns >
16
16
<GridColumn Field =" @(nameof(SampleData.Id))" Width =" 120px" />
Original file line number Diff line number Diff line change 46
46
@* This layout is now in the drawer Content, and is very similar to the default template layout *@
47
47
<div class =" main" >
48
48
@* 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 >
50
50
51
51
<div class =" top-row px-4" >
52
52
<a href =" https://docs.microsoft.com/en-us/aspnet/" target =" _blank" >About</a >
Original file line number Diff line number Diff line change 50
50
<Template >
51
51
@* the header *@
52
52
<TelerikButton OnClick =" @( () => DrawerRef.ToggleAsync() )"
53
- Icon =" @ menu"
53
+ Icon =" menu"
54
54
Class =" drawer-hamburger" />
55
55
<div class =" mt-5" >
56
56
@if (DrawerExpanded )
Original file line number Diff line number Diff line change 20
20
<div class =" notification-container" >
21
21
<TelerikAnimationContainer @ref =" @FailureNotification" Width =" 300px" Height =" 200px" Top =" 20px" AnimationType =@AnimationType.SlideDown >
22
22
<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 >
24
24
<p >
25
25
The operation failed, there is probably something in the content that prevents the conversion. Try simplifying the content and removing images/lists.
26
26
</p >
Original file line number Diff line number Diff line change 6
6
</PropertyGroup >
7
7
8
8
<ItemGroup >
9
- <PackageReference Include =" Telerik.UI.for.Blazor" Version =" 2.7 .0" />
9
+ <PackageReference Include =" Telerik.UI.for.Blazor" Version =" 2.20 .0" />
10
10
</ItemGroup >
11
11
12
12
</Project >
Original file line number Diff line number Diff line change 13
13
@{
14
14
if (GridIsDirty ())
15
15
{
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 >
18
18
}
19
19
<GridCommandButton Command =" Add" Icon =" add" >Add Employee </GridCommandButton >
20
20
if (SelectedItems .Count () > 0 )
21
21
{
22
- < TelerikButton Icon = " @ delete" OnClick = " @DeleteSelected" > Delete Selected < / TelerikButton >
22
+ < TelerikButton Icon = " delete" OnClick = " @DeleteSelected" > Delete Selected < / TelerikButton >
23
23
if (SelectionIsDirty ())
24
24
{
25
- < TelerikButton Icon = " @ undo" OnClick = " @RevertSelected" > Revert Selected < / TelerikButton >
25
+ < TelerikButton Icon = " undo" OnClick = " @RevertSelected" > Revert Selected < / TelerikButton >
26
26
}
27
27
}
28
28
}
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netcoreapp3.0</TargetFramework >
5
- <LangVersion >7.3</LangVersion >
4
+ <TargetFramework >net5.0</TargetFramework >
6
5
</PropertyGroup >
7
6
8
7
<ItemGroup >
9
- <PackageReference Include =" Telerik.UI.for.Blazor" Version =" 2.7 .0" />
8
+ <PackageReference Include =" Telerik.UI.for.Blazor" Version =" 2.20 .0" />
10
9
</ItemGroup >
11
10
12
11
</Project >
You can’t perform that action at this time.
0 commit comments