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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to render controls when unobtrusive is in enabled state?

Platform: ASP.NET MVC |
Control: General

Render Syncfusion controls in unobtrusive mode

When you enable the unobtrusive in your application, refer to the ej.unobtrusive.min.js file in the application.


You have to set the value of UnobtrusiveJavaScriptEnabled to true in Root directory web.config file as shown in the following code example.



    . . .

    <add key="UnobtrusiveJavaScriptEnabled" value="true" />

    . . .



After setting the value as true, refer to the unobtrusive script file in the _Layout page as shown in the following code example.


<script src="http://cdn.syncfusion.com/"></script>


MVC sample is attached in unobtrusive mode and it can be downloaded from the following location.



2X faster development

The ultimate ASP.NET MVC UI toolkit to boost your development speed.
You must log in to leave a comment
Sep 10, 2016
added the unobtrusive js reference to asp.net webform but now got another error said "widget is undefined", does to make it work for asp.net webform?

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile