Use telerik controls in pure Javascript with JQuery or other libraries

1 Answer 103 Views
Integration with other JS libraries
kashif
Top achievements
Rank 1
kashif asked on 13 Dec 2022, 03:36 PM

Hi,

I am developing an Excel Add-in for a client and clients requirement is not to use jQuery. Now I need to add a combo box to a page in it, and convinced client to use telerik combo box for it, but I am still unable to decide which one I need to download to avoid dependency on jQuery or other frameworks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Lyuboslav
Telerik team
answered on 15 Dec 2022, 09:44 AM

Hello Kashif,

The Kendo UI for jQuery components are entirely based on jQuery, thus I am afraid that there is no way to avoid dependency on jQuery when using the Kendo jQuery Components.

However, if you need to load not the entire Kendo UI for the jquery library, but only the scrips needed for the ComboBox, you could create a custom bundle of scripts as you can see in the following link:

https://docs.telerik.com/kendo-ui/intro/scripts/what-you-need#creating-your-own-custom-bundles

As you could see, here is presented the scripts you needed for the given Kendo Component, Combobox in your way.

However, with the bundle above the jQuery library still will be needed.

Let me know if you have additional questions.

Regards,
Lyuboslav
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

kashif
Top achievements
Rank 1
commented on 02 Jan 2023, 03:26 PM

Thanks for the guidance. One more question related to solution you provided, there is no option to download style/css files for it. How can I get them related to combobox only?
Neli
Telerik team
commented on 05 Jan 2023, 11:19 AM

Hi kashif,

I am afraid that the styles could not be loaded or downloaded per widget. You need to load an entire theme. You can customize the themes as described here, but you will still have the styles for all the components.

Regards,

Neli

Tags
Integration with other JS libraries
Asked by
kashif
Top achievements
Rank 1
Answers by
Lyuboslav
Telerik team
Share this question
or