I am trying to bring up a modal window and define the content of the modal from
a partial view.
None of the content is appearing in the modal. Once I get this working I will expand on it.
Thanks for the help!
Here is the contents of the partial view file (.cshtml file in views folder)
<div id="mytemplate">
<center>
<span>
<img src="/Home/DownloadResource/16FDD8CA-03CF-492B-8DA9-F7FEFC2EE2D5" style="height: 72px;" class="fa-spin" /><br />
<h3 class="app-title" style="display:inline; vertical-align:middle;"> The scheduler is processing. This might take a moment...</h3>
</span>
</center>
</div>
Here is the portion of JavaScript I am using to create the modal (.js file in scripts folder):
$("#requestLoadDiv").kendoWindow({
modal: true,
width: "1000px",
title: "Event Details",
deactivate: function deactivate() {
this.destroy();
},
actions: [
"Pin",
"Minimize",
"Maximize",
"Close"
],
open() {
$.ajax({
url: "/Files/CalEventPartial.cshtml",
method: 'GET',
success: function (result) {
$('#requestLoadDiv').html(result);
}
});
}
}).data("kendoWindow").center().open();