BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
<script type="text/javascript">
$(document).ready(function () {
ej.widget.init($("#Diagram1"));
});
</script>
Hi John,We have created a sample with the partial view which renders diagram initially and at the runtime.Sample:http://www.syncfusion.com/downloads/support/directtrac/general/ze/partialviewsample-1844769863Regards,Shyam G
var pass = args.value;
$.ajax({
url: '@Url.Action("DiagramPartialView", "Diagram")?pass=' + pass,
dataType: "html",
type: "GET",
contentType: "application/html; charset=utf-8",
success: function (result) {
alert("success");
$("#diagramPartialView").html(result);
//initialize a diagram
ej.widget.init($("#diagramPartialView"));
},
error: function (xhr) {
alert("error");
}
}); |
<script type="text/javascript">
onRowSelected = function (args) { var id = args.data["ID"]; $.ajax({ type: 'GET', url: "@Url.Content(call method)", data: { Id: id }, dataType: "html", success: function (result) { $('#Details').html(result); //initialize a diagram
ej.widget.init($("#diagramPartialView"));
} }); } <Script> |