12 Answers, 1 is accepted
Hello Laurie,
You need to include the .woff file in your project. You can find it in the following folder of the downloaded package
...\telerik.ui.for.aspnetmvc.[version-number].commercial\styles\images
Include the file in your project and the problem should be resolved.
Regards,
Kiril Nikolov
Telerik
Digging a bit, I found the file in my project, then realized this happened only when I was running my project locally, and that the reason is that my IIS is not set up to serve the .woff mimetype.
Thanks.
Laurie
Hello Laurie,
That could be a reason as well :) (sorry for missing it)
Anyway - I am happy to hear that the issue is resolved.
In case you have any further questions, please do not hesitate to contact us.
Regards,
Kiril Nikolov
Telerik
I have a related issue. I am also getting several 404s for fonts and other shared Telerik images while loading a MVC.Net page. It seems like the path is off. The page wants to load "http://[www.somewebhost.com]/kendo/images/kendoui.woff?v=1.1", instead of "http://[www.somewebhost.com]/content/kendo/2017.1.223/images/kendoui.woff?v=1.1". All the files are already included in the project and published to the second URL. How can I make a global change to let the telerik scripts know that the resources are under the second directory?
Keith
Could you share how the files are loaded? Are you using a bundler? Is the server set up to serve mime types?
<
staticContent
>
<
remove
fileExtension
=
".woff"
/>
<
mimeMap
fileExtension
=
".woff"
mimeType
=
"application/x-font-woff"
/>
</
staticContent
>
Please elaborate on the specifics of the application so I can advise further. A snippet with the folder structure and bundling(if any) would be helpful.
Regards,
Alex Hajigeorgieva
Telerik by Progress
I am using bundling, Alex. The telerik content files are under /Content/kendo/2017.1.223. The script files are under /Scripts/kendo/2017.1.223. I was able to get everything to work by following Atanas' instructions on this post (and obviously substituting 2017.1.223 for 2012.3.1315.
http://www.telerik.com/forums/kendo-projects-and-mvc-bundling
Thanks.
Keith
If you are experiencing 404 errors for the font icons, you will need a folder with /fonts/ as well in your application. Further code will not be needed as the CSS declarations refer to the /fonts folder for their styles. Please see the folder structure article for more details:
http://docs.telerik.com/kendo-ui/styles-and-layout/appearance-styling#theme-related-folders
If the folder structure you have corresponds to the one in the article, please provide more details about the error and also a code snippet of the bundling if any is used and the folder structure of the project.
Kind Regards,
Alex Hajigeorgieva
Progress Telerik
I am getting this error while i migrated .net 4.5 project to .net core 3.1
Any idea where exactly i need to add above can you explain it would be great help
Hi Team,
please find attached copy for reference and let me know your suggestion attach copy working fine in asp.net but breaking in asp.net core
Hello,
I'm attaching a sample Telerik ASP.NET Core 3.1 application containing a Grid with latest Telerik version 2020.3.915, which is working properly on my end with no 404 errors and missing icons:
You could consider it as a reference for implementing your setup with a similar configuration.
In addition you may find the following article for bundling in ASP .NET Core web applications useful:
I hope you will find this information useful.
In case you have other questions related to Kendo UI components, please do not hesitate to contact us.
Best Regards,
Misho
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).