Unplanned
Last Updated: 12 Sep 2023 11:13 by Markus
Chris
Created on: 23 Feb 2022 09:28
Category: UI for ASP.NET Core
Type: Feature Request
3
Add version number or cdn url to assembly

I know you can query the client side JavaScript version using 

kendo.version

It would be handy if you could query the dll assembly version or cdn url so the URLs can automatically match the dll used in the solution especially when nuget is used to update it currently I work around this using:

    @{  var version = typeof(Kendo.Mvc.KendoServices).Assembly.GetName().Version;
        string kendoCDN = $"//kendo.cdn.telerik.com/{version.Major}.{version.Minor}.{version.Build}";}
    <link href="@Url.Content(kendoCDN + "/styles/kendo.bootstrap-v4.min.css")" rel="stylesheet" type="text/css" />
Just an idea...
2 comments
Markus
Posted on: 12 Sep 2023 11:13

Requiring the same as Chris on my side.

Ideally, the nuget package would expose its version (without assembly analysis) and would return the theme version compatible (bootstrap)

Chris
Posted on: 07 Apr 2023 09:18

Can this be re-considered, As of v 2023.1.314 there has been a change in the structure of the CDN that serves the css files where you need to lookup a theme number so its hidden away on this page https://docs.telerik.com/aspnet-core/styles-and-layout/sass-themes/compatibility

I use the Nuget to get newer versions, so there should be an easy way to get the correct theme for the installed version without manually tweaking the pages.