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

Partial View

Thread ID:

Created:

Updated:

Platform:

Replies:

126391 Oct 13,2016 05:00 AM UTC Oct 13,2016 10:48 AM UTC ASP.NET MVC 1
loading
Tags: HeatMap
Bibhu Kalyan Das
Asked On October 13, 2016 05:00 AM UTC

I have the heatmap generated when the page laod for the first time, but when i select some value from dropdown, and try to load the partial view, it does not load. It somehow comes as an empty div.


In _Layout.cshtml, i have
.....
    <script src="@Url.Content("~/js/jsviews.min.js")"></script>
        <script src="~/lib/jsrender/jsrender.js"></script>
        <script src="@Url.Content("~/js/jquery.easing-1.3.min.js")"></script>
        <script src="@Url.Content("~/js/ej.web.all.min.js")"></script>
        <script src="@Url.Content("~/js/ej.unobtrusive.min.js")"></script>
        <script src="@Url.Content("~/js/CommunityIndicator.js")"></script>
        <script src="@Url.Content("~/js/bootstrap-tagsinput.js")"></script>
        <script src="~/js/site.min.js" asp-append-version="true"></script>
    </environment>

    @Html.EJ().ScriptManager()



In Main CSHTML

@model Syncfusion.JavaScript.DataVisualization.Models.HeatMapProperties
<div class="rm-padding" id="heatmapcontainer">
                                        @{ Html.RenderPartial("CIChart", Model); }                                    
                                    </div>


In Partial view

@model Syncfusion.JavaScript.DataVisualization.Models.HeatMapProperties
@using Syncfusion.JavaScript.DataVisualization.Models.Collections

@{Html.EJ().HeatMap("heatmap", Model as Syncfusion.JavaScript.DataVisualization.Models.HeatMapProperties).Render(); }


In JS

 $.ajax({
                type: "POST",
                url: "CommIndicator",
                data: postData

            })
            .done(function (partialViewResult) {
                $("#heatmapcontainer").html(partialViewResult);
                ej.widget.init($("#heatmapcontainer"));
            });



In Controller

 public ActionResult CommIndicator(List<String> values)
        {

.....

return PartialView("CIChart",Heatmap);

}



Kameshwaran R [Syncfusion]
Replied On October 13, 2016 10:48 AM UTC

Hi Kalyan Das, 
   
A support incident has been created under your account to track the status of the reported query. Please log on to our support website to check for further updates.   
   
Regards,   
Kameshwaran R.  


CONFIRMATION

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.

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

;