New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Missing Font Icons

Environment

Product Telerik UI for ASP.NET MVC
Progress Telerik UI for ASP.NET MVC version 2023.1.314

Description

In some components, we often use commands with IconClass() to display icon buttons for the majority of the components. However, after updating we noticed that the font icon classes are no longer applied.

Solution

As of the R3 2023 release, the Telerik UI toolset supports rendering of SVG icons instead of the traditional Font icons.

Although the SVG icons are used as the predominant font toolset for the suite, this does not stop you from reverting to the Font icons:

  • Configure the added server-side Kendo service in the Global.asax class:

       KendoMvc.Setup(x=>
       {
           x.IconType = IconType.Font;
       });
    
  • Invoke the Html.Kendo().DefaultSettings() method within the _Layout.cshtml of the application in order for the components to utilize font-icon rendering:

        @Html.Kendo().DefaultSettings()
    

See Also

In this article