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

Instructions to Copy and Run the code

Platform: ASP.NET MVC |
Control: General

How to properly run the copied code properly in aan MVC sample



When a piece of code or sample is copied from the Syncfusion sample browser or UG documentation, it cannot be expected to work properly unless certain prerequisites and conditions are met.





  • A MVC application with Syncfusion assemblies installed. Make sure that the required assemblies are included in the project, for ex: (for e.g., Syncfusion.EJ and Syncfusion.EJ.MVC).


  • Scripts and Theme files that are required by Syncfusion controls are referred in the _Layout page. For ex: (for e.g., jQuery v1.10 or higher, ej.web.all.min.js , and ej.web.all.min.css).


If these above previous requirements are met, then the code copied from the documentation or demo site and pasted in to the application and will work flawless.


Starting from scratch…...


When creating a new application to try out the code, check out our Getting started section in UG documentation: https://help.syncfusion.com/aspnetmvc/getting-started.


Hint: For a quicker way, the sample creator which that is included in the Syncfusion Dashboard or Syncfusion Project templates available in the Visual Studio can be used.

For more information, refer to the following documentation: https://help.syncfusion.com/aspnetmvc/getting-started

Sample Creator -: https://help.syncfusion.com/extension/aspnet-mvc-extension/sample-creator

Project Templates -: https://help.syncfusion.com/extension/aspnet-mvc-extension/syncfusion-project-templates


Already have an MVC application……


For existing applications, check out the manual integration of Syncfusion controls section in the UG documentation: https://help.syncfusion.com/aspnetmvc/getting-started#manual-integration.

Hint: For a quicker way, the project conversion utility included in the Syncfusion Dashboard can be used.

For more information, refer to the following documentation:

Project Conversion -: https://help.syncfusion.com/extension/aspnet-mvc-extension/project-conversion


The above previous steps can help with almost every demo sample. Still if you couldn’t couldnotcould not get the sample working or need any further help, then contact us by creating a support ticket.


2X faster development

The ultimate ASP.NET MVC UI toolkit to boost your development speed.
You must log in to leave a comment

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