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



I was forced to switch Unobstrusive in Web.Config for Schedule

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

Now AJAX load for Chart PartialView Render Nothing :

    Syncfusion.JavaScript.DataVisualization.Models.ChartProperties mod = new Syncfusion.JavaScript.DataVisualization.Models.ChartProperties();
    Syncfusion.JavaScript.DataVisualization.Models.Series srs = new Syncfusion.JavaScript.DataVisualization.Models.Series();
    foreach(BarInfo bi in Model){
        Syncfusion.JavaScript.DataVisualization.Models.Points pts = new Syncfusion.JavaScript.DataVisualization.Models.Points(bi.Name, bi.Value);

    srs.Opacity = 0.65;
    srs.Type = SeriesType.StepArea;
    srs.Fill = "#009BDE";
    mod.CommonSeriesOptions.EnableAnimation = true;
    mod.Legend.Visible = false;
@Html.EJ().Chart(id, mod)

In View :
                '@Url.Action("GetDetails", "InstituteTill", null, Request.Url.Scheme)', { type: $(this).attr('id') },
                function (data) {

Was working before unobstrusive, set false, 
Anyone can give a clue ? Thx.

1 Reply

AB Akbar Basha K M Syncfusion Team February 20, 2015 01:14 PM UTC

Hi Dumond,
Thanks for using syncfusion product. We have analyzed your requirement and we like to inform you that, if you set the value of UnobtrusiveJavaScriptEnabled key as false you need to add the following code in layout page.
if you set the value of UnobtrusiveJavaScriptEnabled key as true you need to refer the following script file
Script Location : http://www.syncfusion.com/downloads/support/directtrac/118284/ej.unobtrusive.min-513102681.zip
If still you face the problem please share your sample with us. This would be helpful for us to serve you.
Please let us know if you have any concern.
Akbar Basha KM.

Live Chat Icon For mobile
Up arrow icon