@Html.EJ().FileExplorer("fileExplorer").Path("~/media/").AjaxAction(@Url.Content("~/FileExplorer/FileActionDefault")).Width("900px").Height("400px")
@Html.EJ().Button("btnTest").Width("200px").Height("75px").Text("hello")
jquery-1.10.2.min.js
jquery.globalize.min.js
jquery.easing.1.3.min.js
jsrender.min.js
ej.web.all.min.js
flat-azure-dark/ej.web.all.min.css
Did I missed something?
1) 1) This issue may occur if the scripts necessary for our components are not loaded properly. So please ensure that the necessary scripts needed by EJMVC components are referred properly.
2) 2) In the project web.config file, check whether unobtrusive JavaScript (<add key="UnobtrusiveJavaScriptEnabled" value="true" />) is enabled or not. If it is enabled means you should refer ej.unobtrusive.min.js script file in your project file.
(Or)
If it is set to “false” means, make sure @Html.EJ().ScriptManager() is included in your layout page and there is no necessary to refer ej.unobtrusive.min.js file for this case.
We have attached a sample to showcase EJ button / EJ file explorer is working properly. Can you please check with the sample in the following location? If still you face the problem, share your sample with us with addition details. This would be helpful for us to serve you.
Sample: http://www.syncfusion.com/downloads/support/forum/119901/ze/MVCTesting-1510016873
Please let us know if you have any queries.
Thanks,
Balamurugan P
Hi, Balamurugan. Thank you so much for the reply.
After I set <add key="UnobtrusiveJavaScriptEnabled" value="false" /> in web.config and added @Html.EJ().ScriptManager() into my layout page, the MVC component can properly render now. :)
Hi, Balamurugan. Thank you so much for the reply.
After I set <add key="UnobtrusiveJavaScriptEnabled" value="false" /> in web.config and added @Html.EJ().ScriptManager() into my layout page, the MVC component can properly render now. :)