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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Unable to Render Chart

Thread ID:





127565 Nov 23,2016 04:22 PM UTC Nov 25,2016 04:48 AM UTC ASP.NET MVC 3
Tags: Chart
cory wynn
Asked On November 23, 2016 04:22 PM UTC

I'm having issues rendering the chart in my MVC app. I've followed all of the guides online but nothing is displaying.


    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - My ASP.NET Application</title>

    @RenderSection("scripts", required: false)    

<compilation debug="true" targetFramework="4.5.2">
        <add assembly="Syncfusion.Linq.Base, Version=14.4400.0.15, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.EJ"/>
        <add assembly="Syncfusion.EJ.Export, Version=14.4400.0.15, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Compression.Base, Version=14.4400.0.15, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.XlsIO.Base, Version=14.4400.0.15, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.Pdf.Base, Version=14.4400.0.15, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.DocIO.Base, Version=14.4400.0.15, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.OfficeChart.Base, Version=14.4400.0.15, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" />
        <add assembly="Syncfusion.EJ.MVC"/>

Views Web.config:
    <host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <pages pageBaseType="System.Web.Mvc.WebViewPage">
        <add namespace="System.Web.Mvc" />
        <add namespace="System.Web.Mvc.Ajax" />
        <add namespace="System.Web.Mvc.Html" />
        <add namespace="System.Web.Optimization" />
        <add namespace="System.Web.Routing" />
        <add namespace="SyncFusionTest" />
        <add namespace="Syncfusion.MVC.EJ" />
        <add namespace="Syncfusion.JavaScript" />
        <add namespace="Syncfusion.JavaScript.DataVisualization" />

Is there anything that stands out?


Dharanidharan Dharmasivam [Syncfusion]
Replied On November 24, 2016 12:02 PM UTC

Hi Cory, 

Thanks for using Syncfusion product. 

We have analyzed your query and we suspect that UnobtrusiveJavaScriptEnabled is set to true, if so you have to refer ej.unobtrusive.min.js file. The main goal with unobtrusive is to reduce the weightage of the web page.  

For more details on unobtrusive, kindly follow the below link, 

You can find unobtrusive file from below location, 
Location: C:\Users\username\AppData\Local\Syncfusion\EssentialStudio\XX.X.X.XX\Web\Samples\Web\Scripts\ej  
Note : XX.X.X.XX denotes the product version which you have installed 

Else you can also make UnobtrusiveJavaScriptEnabled to false in the Web.config file. Kindly find the code snippet below, 
    <add key="webpages:Version" value="" /> 
    <add key="webpages:Enabled" value="false" /> 
    <add key="ClientValidationEnabled" value="true" /> 
    <add key="UnobtrusiveJavaScriptEnabled" value="false" /> 

For your reference we have attached the sample. Kindly find the sample from below location, 
Also to render the chart control, no need to refer SyncfusionTest dll, so you can remove it from the reference if it is added mistakenly. 

cory wynn
Replied On November 24, 2016 12:08 PM UTC

Thank you the issue has been resolved, installing:

Syncfusion.AspNet.Mvc5  rather than Syncfusion.AspNet.Mvc4

Dharanidharan Dharmasivam [Syncfusion]
Replied On November 25, 2016 04:48 AM UTC

Hi Cory, 

Thanks for your update. 

Kindly revert us, if you need further assistance on this. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

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