kendo-react-ui

Include Kendo React with Script Tag

邮差的信 提交于 2019-12-13 03:23:33
问题 I am trying to develop with Kendo React in a .NET Web Forms application. It looks like Kendo distributes their packages as a variety of JavaScript modules -- the dist folder in their node packages contains the following four subfolders: cdn/js es npm systemjs I'm sure this is relatively painless to work with in some of the newer JavaScript systems, but I do not have access to utilities such as node.js to manage modules. I am trying to simply include a JavaScript file with a script tag, but so

How to access kendo-react widgets when accessing the react dropdowns javascript by script instead of import?

China☆狼群 提交于 2019-12-11 16:33:13
问题 I added this to my page: <script type="text/javascript" src="{!URLFOR($Resource.kendoReact, 'kendoReact/kendo-dropdowns-react-wrapper.min.js')}"></script> To access a static resource of the kendo react script I downloaded. Then set this up in page: class MultiSelectContainer extends React.Component { constructor(props) { super(props); console.log('Setting up multiselect', props.data); this.dataSource = new kendo.data.DataSource({ data: props.data, sort: { field: 'name', dir: 'asc' }, group: {