We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

dependencies for webform controls

Can you please provide what .js files to use if I removed script Scripts/ej/web/ej.web.all.min.js from every ASPX file?
Can't I only use scripts for their controls? 
Like,
Scripts/ej/web/ej.rte.min.js for RTE
Scripts/ej/web/ej.progressbar.min.js for progressbar
Scripts/ej/web/ej.grid.min.js for grid .......

When I do this, in some cases like RTE or Toolbar, I get an error in chrome inspection window.
Uncaught ReferenceError: Syncfusion is not defined
    at ej.toolbar.min.js:10
    at ej.toolbar.min.js:10
    at ej.toolbar.min.js:10

in the ej.toolbar.min.js words (jQuery,Syncfusion)}); are redlined.

How to solve this? I can't use the Custom Script Generator for some reasons.

1 Reply

PO Prince Oliver Syncfusion Team March 8, 2019 05:53 AM UTC

Hi Hasindu,  
 
Thank you for contacting Syncfusion support. 
 
We suggest you install the NuGet packages from the below link so that you get all the individual scripts files shipped under “Script/ej/” folder.   
 
Now , you can refer the required individual scripts in site.Master page. You can find the required dependent scripts for each component in API document. Please refer to the below RTE and toolbar API document 
 
 
Similarly, the dependent scripts for all components are available in their respective getting started section in UG documentation or API reference page. Kindly refer to the following link for DropDownList 
 
 
We have prepared a sample with ejRTE and ejToolbar by referring individual scripts as shown below 
 
    <script src="Scripts/ej/common/ej.core.min.js"></script> 
    <script src="Scripts/ej/common/ej.data.min.js"></script> 
    <script src="Scripts/ej/common/ej.draggable.min.js"></script> 
    <script src="Scripts/ej/common/ej.globalize.min.js"></script> 
    <script src="Scripts/ej/common/ej.scroller.min.js"></script> 
    <script src="Scripts/ej/web/ej.button.min.js"></script> 
    <script src="Scripts/ej/web/ej.checkbox.min.js"></script> 
    <script src="Scripts/ej/web/ej.dialog.min.js"></script> 
    <script src="Scripts/ej/web/ej.radiobutton.min.js"></script> 
    <script src="Scripts/ej/web/ej.splitbutton.min.js"></script> 
    <script src="Scripts/ej/web/ej.colorpicker.min.js"></script> 
    <script src="Scripts/ej/web/ej.dropdownlist.min.js"></script> 
    <script src="Scripts/ej/web/ej.editor.min.js"></script> 
    <script src="Scripts/ej/web/ej.menu.min.js"></script> 
    <script src="Scripts/ej/web/ej.rte.min.js"></script> 
    <script src="Scripts/ej/web/ej.toolbar.min.js"></script> 
    <script src="Scripts/ej/web/ej.tooltip.min.js"></script> 
    <script src="Scripts/ej/web/ej.uploadbox.min.js"></script> 
    <%: Scripts.Render("~/Scripts/ej/ej.webform.min.js")%> 
 
Please find the sample at the following location:  
 
Please let us know if you need any further assistance on this. 
 
Regards, 
Prince 


Loader.
Live Chat Icon For mobile
Up arrow icon