This is a migrated thread and some comments may be shown as answers.

kendoUI version

2 Answers 291 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Yevhen Poshyvaylo
Top achievements
Rank 1
Yevhen Poshyvaylo asked on 13 Feb 2013, 11:20 AM
Is there any approach to get currently used version of kendoUI?
This could be useful in cases when source code is customized and it's sensitive to some particular version.

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 14 Feb 2013, 12:41 PM
Hello Yevhen,

Although the Kendo UI version is stated in a comment at the beginning of the JS file, the Kendo UI scripts do not provide a property or a method to check the version. Providing such thing would require either regular manual modification in the source or change in our build procedure. The latter is not difficult to implement, so I will log it as a feature request.

I am not sure what your scenario is and why you may not know the exact Kendo UI version that is currently deployed, but usually each major Kendo UI version is compatible with a specific major jQuery version. So checking the jQuery version may turn out an acceptable way to find out the Kendo UI version.

In case you are not using the Kendo UI CDN and can modify the Kendo UI source, you can inject a custom property, according to your preferences.

Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Yevhen Poshyvaylo
Top achievements
Rank 1
answered on 14 Feb 2013, 02:36 PM
Thank you very much for your suggestions, Dimo.
I'm wondering about how to check version for scenario when there is some code what was written taken into consideration specific KendoUI version, so in future, when version will be upgraded I want to make developer sure to double check whether that code will remain valid.

As for me, at the moment the most suitable approach - is to add some property, where to store currently deployed version.

Best regards,
Yevhen
Tags
General Discussions
Asked by
Yevhen Poshyvaylo
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Yevhen Poshyvaylo
Top achievements
Rank 1
Share this question
or