Note: The Calendar can be initialized using a jQuery plugin.
Source
<div id="dpc"></div> <script type="text/javascript"> $(document).ready(function() { dp = $("#dpm").daypilotMonth({ backendUrl: '@Url.Content("~/Month/Backend")', timeRangeSelectedHandling: "JavaScript", onTimeRangeSelected: function(start, end) { createEvent(start, end); }, eventMoveHandling: "CallBack", eventResizeHandling: "CallBack", }); }); </script>