Hi,
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.Points.Add(pts);
}
srs.Opacity = 0.65;
srs.Type = SeriesType.StepArea;
srs.Fill = "#009BDE";
mod.Series.Add(srs);
mod.CommonSeriesOptions.EnableAnimation = true;
mod.Legend.Visible = false;
}
@Html.EJ().Chart(id, mod)
In View :
$.post(
'@Url.Action("GetDetails", "InstituteTill", null, Request.Url.Scheme)', { type: $(this).attr('id') },
function (data) {
$("#content").html(data);
ej.widget.init();
Was working before unobstrusive, set false,
Anyone can give a clue ? Thx.