Hello,
In additon to the question expressed above regarding how to pass through the "IsRecurring" value, here are some further challenges I have run into.
The lines shown in red generate a JavaScript message, ")" required - this goes away if I comment out the first red line
The element shown in green does nott show up despite being identical to the one that follows it except for the absolute position.
Here is my code. Your input will be appreciated.
oCalendar.MultiDayView.ItemTemplate = "<div id=\"main\" style=\"width:100%; background-color:green; height:100%; border: solid 1px #000; \">" +
"<span style='float:left;'><img border='0' src='Images/o_repeat_white.gif' id=\"isRecurring\"/></span>" +
"<span style='float:right;'><img border='0' src='Images/o_ch0bg.gif' id=\"status\" /></span>" +
"<div id=\"title\" mcc_action=\"move\" style=\"font-weight:bold;cursor:move; min-width:20px;\" unselectable=\"on\"></div>"+
"<div id=\"description\" unselectable=\"on\"></div>"+
"<div id=\"toptraveltime\" unselectable=\"on\" style=\"position:absolute; top:0px; height:10px; width:100%;1; z-index:11;\"></div>"+
"<div id=\"bottomtraveltime\" unselectable=\"on\" style=\"position:absolute; bottom:11px; height:10px; width:100%;1; z-index:11;\"></div>"+
"<div mcc_action=\"resize\" style=\"line-height:1px; font-size:1px; position:absolute; bottom:0px; height:1px; width:100%; border-bottom: solid 1px #000; z-index:11; cursor:s-resize;\"></div>"+
"<div style=\"position:absolute; height:100%; width:1px; right:0px; top:0px; z-ndex:11; border-right: solid 1px #000;\"></div></div>";
oCalendar.MultiDayView.ItemMapping = "[{\"id\":\"title\",\"property\":\"innerHTML\",\"value\":\"Title\"}," +
"{\"id\":\"description\",\"property\":\"innerHTML\",\"value\":\"Description\"}," +
"{\"id\":\"description\",\"property\":\"title\",\"value\":\"Description\"}," +
"{\"id\":\"isRecurring\", \"property\":\"style.display\", \"value\":\"Extensions==true ? 'block':'none'\"}," +
"{\"id\":\"bottomtraveltime\", \"property\":\"style.display\", \"value\":\"Extensions.TravelFrom==true ? 'block':'none'\"},"+
"{\"id\":\"toptraveltime\", \"property\":\"style.display\", \"value\":\"Extensions.TravelTo==true ? 'block':'none'\"},"+
"{\"id\":\"status\", \"property\":\"style.display\", \"value\":\"Extensions.HasStatus ? 'block':'none''\"}," +
"{\"id\":\"status\", \"property\":\"src\", \"value\":\"Extensions.StatusImage'\"},"+
"{\"id\":\"bottomtraveltime\", \"property\":\"style.backgroundColor\", \"value\":\"Extensions.TravelColor\"}," +
"{\"id\":\"main\", \"property\":\"style.backgroundColor\", \"value\":\"Extensions.BackColor\"}]";