1.how pass id to CallReceiveDate method.
The parameters can be passed in URL, and they will the available in the controller's method.
2.how show charts image in each cells of schedular month by call this
2) If you want to load an image in each cell of the scheduler, you can hide the cell body, which is generated by default, and resize the cell header (you can define the header through the template). Something like:
<style>
.dhx_month_body
{
display:none;
}
.dhx_month_head
{
width:187px !important;
height:160px !important;
border-top: 1px solid #A4BED4;
}
</style>
<!--
<select id='selectBox'>
<option value='1' selected>1</option>
<option value='2'>2</option>
<option value='3'>3</option>
</select>
<script type="text/javascript">
scheduler.templates.month_day = function (date) {
var fullMonth = (date.getMonth() + 1) < 10 ? ("0" + (date.getMonth() + 1).toString()) : date.getMonth() + 1;
var dateString = [fullMonth, date.getDate(), date.getFullYear()].join(".");
var id = document.getElementById("selectBox").value;
var removed = '<div style="text-align:right;">' + date.getDate() + '</div>';
content += '<img src="@Url.Action("Data", "Calendar")?id=' + id + '&date=' + dateString + '" width="160px" height="160px"/>';
return content;
};
document.getElementById("selectBox").onchange = function () { scheduler.update_view() };
scheduler.init('scheduler_here', new Date(2011, 8, 19), 'month');
</script>
NOTE: You don't need to call
scheduler.load("/Calendar/CallReceiveDate");
, since it loads all data with images in the month_day template.