Skip to content

Commit 79bc1a5

Browse files
svdimitrdimodi
andauthored
Documentation on missing font icons in 4.6.0 (#1664)
* kb(missing-font-icons): add the missing font icons in 4.6.0 * Update knowledge-base/font-icons-not-rendering.md Co-authored-by: Dimo Dimov <[email protected]> * Update knowledge-base/font-icons-not-rendering.md Co-authored-by: Dimo Dimov <[email protected]> * Update knowledge-base/font-icons-not-rendering.md Co-authored-by: Dimo Dimov <[email protected]> * docs(icons): link the KB in the Icons article * chore(font-icons): add static assets Trial version * chore(font-icons): remove duplicated samples * docs(kb): add formatting --------- Co-authored-by: Dimo Dimov <[email protected]>
1 parent ae0d5be commit 79bc1a5

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

common-features/icons.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ The Telerik Blazor components use built-in icons with the help of two NuGet pack
3737

3838
>tip Unlike the `Telerik.UI.for.Blazor` package, the icon packages are available from the `nuget.org` source. Keep this in mind when using [`packageSourceMapping`](https://learn.microsoft.com/en-us/nuget/consume-packages/package-source-mapping).
3939
40+
> The font icons are detached from the Kendo UI Themes distribution. Read the [Font Icons do not render in Telerik UI for Blazor 4.6]({%slug icon-kb-font-icons-not-rendering%}) to see how to use Font icons in your application after the 4.6.0 Telerik UI for Blazor release.
41+
4042
To use the icons, import one or both namespaces, for example in `_Imports.razor`:
4143

4244
>caption Register Telerik Blazor icon namespaces
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: Font Icons do not Render in Telerik UI for Blazor 4.6.0
3+
description: Font Icons do not render in Telerik UI for Blazor 4.6
4+
type: troubleshooting
5+
page_title: Font Icons do not Render in Telerik UI for Blazor 4.6.0
6+
slug: icon-kb-font-icons-not-rendering
7+
position:
8+
tags: telerik, blazor, fonticon, font, icon
9+
res_type: kb
10+
---
11+
12+
## Environment
13+
14+
<table>
15+
<tbody>
16+
<tr>
17+
<td>Product Version</td>
18+
<td>4.6.0</td>
19+
</tr>
20+
<tr>
21+
<td>Product</td>
22+
<td>Progress® Telerik® UI for Blazor</td>
23+
</tr>
24+
</tbody>
25+
</table>
26+
27+
## Description
28+
29+
After upgrading to the 4.6.0 version of the Telerik UI for Blazor suite the Font Icons in my application are not longer showing (rendering).
30+
31+
## Possible Cause
32+
33+
Each Telerik UI for Blazor version has a dependency on a specific version of the Kendo UI Themes. As part of the [7.0.0 version of the Kendo UI Themes](https://github.com/telerik/kendo-themes/blob/develop/CHANGELOG.md#breaking-changes), the Font Icons were detached from the themes distribution.
34+
35+
The 7.0.0 version of the Kendo UI Themes is a dependency in Telerik UI for Blazor 4.6.0; thus, the font icons are missing.
36+
37+
## Solution
38+
39+
To keep using Font icons in your application use one of the two approaches:
40+
41+
* Add the dedicated Telerik UI for Blazor CDN link in the `_Host.cshtml` or `index.html` (based on the hosting model) file in your application:
42+
43+
````CSHTML
44+
<link href="https://blazor.cdn.telerik.com/blazor/4.6.0/kendo-font-icons/font-icons.css" rel="stylesheet" type="text/css" />
45+
````
46+
47+
* Download the [Telerik UI for Blazor package]({%slug installation/msi%}#how-to-download-the-automated-installer) and reference the static assets for the Font Icons in the `_Host.cshtml` or `index.html` (based on the hosting model) file in your application:
48+
49+
````CSHTML
50+
<!-- For Trial licenses, use
51+
<link href="_content/Telerik.UI.for.Blazor.Trial/css/kendo-font-icons/font-icons.css" rel="stylesheet" />
52+
-->
53+
54+
<link href="_content/Telerik.UI.for.Blazor/css/kendo-font-icons/font-icons.css" rel="stylesheet" />
55+
````

0 commit comments

Comments
 (0)