I am using the evaluation copy for POC using the Ajax Control.
The calendar renders but no item for the dates/days is displayed. I stepped through WS return value and it has items returned.
On the client, when I drill from month to date view I get "invalid argument " error below, any suggestions?:
MCCalendar.CalendarEventBar=function(){MCCalendar.CalendarEventBar.initializeBase(this);this.P="";this.F=null;this.aG= -1;this.ai= -1;this.ce= -1;this.ah= -1;this.aq= -1;this.at= -1;};MCCalendar.CalendarEventBar.prototype={get_ItemsManager:function(){return this.o;},set_ItemsManager:function(value){this.o=value;},get_EventBarGrid:function(){return this.au;},set_EventBarGrid:function(value){this.au=value;},get_EventOwnerId:function(){return this.as;},set_EventOwnerId:function(value){this.as=value;},get_ScrollContainerId:function(){return this.dR;},set_ScrollContainerId:function(value){this.dR=value;},get_SelectionDivId:function(){return this.cF;},set_SelectionDivId:function(value){this.cF=value;},get_ItemTemplate:function(){return this.bO;},set_ItemTemplate:function(value){this.bO=value;},get_ItemMapping:function(){return this.bM;},set_ItemMapping:function(value){this.bM=eval(value);},get_ClientID:function(){return this.bl;},set_ClientID:function(value){this.bl=value;},get_OR:function(){return this._or;},set_OR:function(value){this._or=value;},get_CalendarExtension:function(){return this._ce;},set_CalendarExtension:function(value){this._ce=value;},get_ActionName:function(){return this.P;},add_itemCreating:function(handler){this.get_events().addHandler("itemCreating",handler);},add_itemCreated:function(handler){this.get_events().addHandler("itemCreated",handler);},add_itemUpdating:function(handler){this.get_events().addHandler("itemUpdating",handler);},add_itemUpdated:function(handler){this.get_events().addHandler("itemUpdated",handler);},add_itemDeleting:function(handler){this.get_events().addHandler("itemDeleting",handler);},add_itemDeleted:function(handler){this.get_events().addHandler("itemDeleted",handler);},remove_itemCreating:function(handler){this.get_events().removeHandler("itemCreating",handler);},remove_itemCreated:function(handler){this.get_events().removeHandler("itemCreated",handler);},remove_itemUpdating:function(handler){this.get_events().removeHandler("itemUpdating",handler);},remove_itemUpdated:function(handler){this.get_events().removeHandler("itemUpdated",handler);},remove_itemDeleting:function(handler){this.get_events().removeHandler("itemDeleting",handler);},remove_itemDeleted:function(handler){this.get_events().removeHandler("itemDeleted",handler);},raise_itemCreating:function(G){var h=this.get_events().getHandler("itemCreating");if(h){h(this,G);}},raise_itemCreated:function(G){var h=this.get_events().getHandler("itemCreated");if(h){h(this,G);}},raise_itemUpdating:function(G){var h=this.get_events().getHandler("itemUpdating");if(h){h(this,G);}},raise_itemUpdated:function(G){var h=this.get_events().getHandler("itemUpdated");if(h){h(this,G);}},raise_itemDeleting:function(G){var h=this.get_events().getHandler("itemDeleting");if(h){h(this,G);}},raise_itemDeleted:function(G){var h=this.get_events().getHandler("itemDeleted");if(h){h(this,G);}},av:function(){if(navigator.userAgent.indexOf("MSIE")> -1)return "IE";if(navigator.userAgent.indexOf("Gecko")> -1)return "Mozilla";return "Unknown";},ci:function(target){if(this._or==true){this.P="";this.F=null;return;}if(target!=null){var aA=null;while(target){if(target.nodeType==1){aA=target.getAttribute("mcc_action");if(aA!=null&&this.P==""){this.P=aA;}}if(target.MCCID!=null)this.F=target;target=target.parentNode;if(target!=null&&target.id!=null&&target.id==this.as)return;}}},aI:function(r){if(r!=null&&r.target!=null&&r.target.id!=null&&r.target.id==this.as)return r.offsetX;var B=r.target;var bH=r.offsetX;while(B!=null){bH+=B.offsetLeft;B=B.offsetParent;if(B!=null&&B.id!=null&&B.id==this.as)return bH;}return-1;},bg:function(r){var scroll=0;if(this.av()=="Mozilla"&&this.aZ.scrollTop){scroll=this.aZ.scrollTop;}if(r!=null&&r.target!=null&&r.target.id!=null&&r.target.id==this.as){return(r.offsetY+scroll);}var B=r.target;var aQ=r.offsetY;if(this.av()=="IE"&&(B.style==null||B.style.position==null||B.style.position!="absolute"))aQ-=B.offsetTop;if(this.av()=="Mozilla"&&B.style!=null&&B.style.position!=null&&B.style.position=="absolute")aQ+=scroll;while(B!=null){aQ+=B.offsetTop;if(this.av()=="Mozilla"&&B.MCCID!=null&&B.style!=null&&B.style.position!=null&&B.style.position=="absolute")aQ-=scroll;B=B.offsetParent;if(B!=null&&B.id!=null&&B.id==this.as){return(aQ+scroll);}}return-1;},RefreshEventBar:function(){this.au.ct(this.au.get_GridStartDate(),this.au.get_GridEndDate());this.bI();},bI:function(){if(this.o.get_Items()!=null&&this.M!=null){if(this.aZ.style.overflowY&&this.aZ.style.overflowY=="scroll"){if(this.au.bN>0&&this.aZ.offsetHeight<this.au.bN*(this.au.ao+this.au.an)+this.au.an){this.M.style.height=(this.au.bN+1)*(this.au.ao+this.au.an)+"px";this.am.style.height=this.M.style.height;}else{this.M.style.height=this.aZ.offsetHeight+"px";this.am.style.height=this.M.style.height;this.M.parentNode.style.height=this.aZ.offsetHeight+"px";}}else{if(this.au.bN>0){this.aZ.style.height=(this.au.bN+1)*(this.au.ao+this.au.an)+"px";this.M.parentNode.style.height=(this.au.bN+1)*(this.au.ao+this.au.an)+"px";this.M.style.height=(this.au.bN+1)*(this.au.ao+this.au.an)+"px";this.am.style.height=this.M.style.height;}else{this.aZ.style.height=(this.au.ao)+"px";this.M.style.height=this.aZ.style.height;this.am.style.height=this.M.style.height;this.M.parentNode.style.height=this.aZ.style.height;}}if(this.M.hasChildNodes){nodes=this.M.childNodes;if(nodes!=null&&nodes.length>0){for(var i=nodes.length-1;i>=0;i--){this.M.removeChild(nodes[i]);}}}var item=null;var t=null;var aj=null;var bm=this.bM;for(var index=0;index<this.o.get_Items().length;index++){item=this.o.get_Items()[index];if(item.MCCI_EvBarPosition==null)continue;if(item.MCCI_EvBarHTMLItem==null)t=document.createElement("DIV");else t=item.MCCI_EvBarHTMLItem;t.MCCID=index.toString();t.style.position="absolute";t.style.overflow="hidden";if(this.av()=="IE")t.unselectable="on";if(this.av()=="Mozilla")t.style.MozUserSelect="none";t.style.top=item.MCCI_EvBarPosition.Top+"px";t.style.left=item.MCCI_EvBarPosition.Left+"%";t.style.width=item.MCCI_EvBarPosition.Width+"%";t.style.height=item.MCCI_EvBarPosition.Height+"px";aj=document.createElement("DIV");aj.innerHTML=this.bO;nodes=aj.childNodes;if(item.MCCI_EvBarHTMLItem==null||item.MCCI_EvBarHTMLItem=='undefined'){this.aS(index,item,bm,nodes,true);t.innerHTML=aj.innerHTML;}else{aj=item.MCCI_EvBarHTMLItem;nodes=aj.childNodes;this.aS(index,item,bm,nodes,false);}this.M.appendChild(t);this.o.get_Items()[index].MCCI_EvBarHTMLItem=t;}}},aS:function(index,item,V,nodes,cE){if(cE==true){if(nodes==null||nodes.length==0)return;for(var i=0;i<nodes.length;i++){var _ff=false;for(var g=0;g<V.length;g++){if(nodes[i].id!=null&&nodes[i].id==V[g].id){_ff=true;if(V[g].property!=null&&V[g].value!=null){try{eval("nodes[i]."+V[g].property+"=item."+V[g].value);}catch(e){}}}}if(_ff==true){nodes[i].id+="_"+this.bl+"_eventBarItem_"+index.toString();_ff=false;}this.aS(index,item,V,nodes[i].childNodes,cE);}}else{for(var i=0;i<nodes.length;i++){for(var g=0;g<V.length;g++){if(nodes[i].id!=null&&nodes[i].id==V[g].id+"_"+this.bl+"_eventBarItem_"+index.toString()){if(V[g].property!=null&&V[g].value!=null){try{eval("nodes[i]."+V[g].property+"=item."+V[g].value);}catch(e){}}}}this.aS(index,item,V,nodes[i].childNodes,cE);}}},dc:function(aa,title,K,L,description,U,af){var f=new Sys.EventArgs();f.ItemsManager=this.o;f.MouseEvent=aa;f.Title=title;f.StartDate=K;f.EndDate=L;f.Description=description;f.IsAllDay=U;f.Extensions=af;f.Canceled=false;f.CalendarExtension=this._ce;return f;},de:function(aa,title,K,L,description,U,af){var f=new Sys.EventArgs();f.ItemsManager=this.o;f.MouseEvent=aa;f.Title=title;f.StartDate=K;f.EndDate=L;f.Description=description;f.IsAllDay=U;f.Extensions=af;f.CalendarExtension=this._ce;return f;},bG:function(aa,ag,title,K,L,description,U,af){var f=new Sys.EventArgs();f.ItemsManager=this.o;f.MouseEvent=aa;f.Uid=ag;f.Title=title;f.StartDate=K;f.EndDate=L;f.Description=description;f.IsAllDay=U;f.Extensions=af;f.Canceled=false;f.CalendarExtension=this._ce;return f;},cu:function(aa,ag,title,K,L,description,U,af){var f=new Sys.EventArgs();f.ItemsManager=this.o;f.MouseEvent=aa;f.Uid=ag;f.Title=title;f.StartDate=K;f.EndDate=L;f.Description=description;f.IsAllDay=U;f.Extensions=af;f.CalendarExtension=this._ce;return f;},cv:function(aa,ag,title,K,L,description,U,af){var f=new Sys.EventArgs();f.ItemsManager=this.o;f.MouseEvent=aa;f.Uid=ag;f.Title=title;f.StartDate=K;f.EndDate=L;f.Description=description;f.IsAllDay=U;f.Extensions=af;f.Canceled=false;f.CalendarExtension=this._ce;return f;},cw:function(aa,ag){var f=new Sys.EventArgs();f.ItemsManager=this.o;f.MouseEvent=aa;f.Uid=ag;f.CalendarExtension=this._ce;return f;},aD:function(){if(this.F!=null){this.F=null;this.aq=this.at= -1;this.aG=this.ai=this.ce= -1;this.ah= -1;this.P="";this.bI();}if(this.am.style.display=="block"){this.am.style.display="none";}},MouseDown:function(r){this.ci(r.target);this.aq=this.aI(r);this.at=this.bg(r);var handler=null;var I=null;if(this.F!=null){this.ah=parseInt(this.F.MCCID);var item=null;if(this.o.get_Items()!=null&&this.o.get_Items().length!=null&&this.o.get_Items().length>0)item=this.o.get_Items()[this.ah];if(this.P=="delete"){I=this.cv(r,item.Uid,item.Title,item.StartDate,item.EndDate,item.Description,item.IsAllDay,item.Extensions);this.raise_itemDeleting(J);if(I.Canceled==true){this.aD();return;}}if(this.P=="move"){I=this.bG(r,item.Uid,item.Title,item.StartDate,item.EndDate,item.Description,item.IsAllDay,item.Extensions);this.raise_itemUpdating(I);if(I.Canceled==true){this.aD();return;}}this.F.style.zIndex=100;this.aG=this.F.offsetLeft;this.ai=parseInt(this.F.style.top);}else if(this.am.style.display=="none"&&this._or==false){var cG=this.aI(r);var rect=this.au.cq(cG);var al=this.au.bK(cG);var az=new Date(al.getTime());az=az.setHours(23,59,59,0);I=this.dc(r," ",al,az," ",false,null);this.raise_itemCreating(I);if(I.Canceled==true){this.aD();return;}if(rect!=null){this.am.style.top=rect.Top+"px";this.am.style.left=rect.Left+"%";this.am.style.width=rect.Width+"%";this.am.style.display="block";this.aG=rect.Left;this.ce=rect.Width;}}},MouseUp:function(r){var bx=this.aI(r);var eS=null;var eT=null;var I=null;var index= -1;var aP=this.au.bU(this.aq,bx);if(this.F!=null&&this.P!=""){index=parseInt(this.F.MCCID);var item=this.o.get_Items()[index];if(this.P=="delete"){I=this.cw(r,item.Uid);this.raise_itemDeleted(I);}}if(this.F!=null&&this.P!=""){index=parseInt(this.F.MCCID);var item=this.o.get_Items()[index];if(this.F!=null&&(aP!=0)&&this.P!=""){this.F.style.zIndex=null;index=parseInt(this.F.MCCID);var bd=this.au.bK(this.aI(r));var cO=item.EndDate.getTime()-item.StartDate.getTime();if(this.P=="move"){var Q=new Date(bd.setHours(item.StartDate.getHours(),item.StartDate.getMinutes(),item.StartDate.getSeconds(),0));var J=new Date(Q.getTime()+cO);I=this.cu(r,item.Uid,item.Title,Q,J,item.Description,item.IsAllDay,item.Extensions);this.raise_itemUpdated(I);r.stopPropagation();}}}if(this.am.style.display=="block"&&this.ah<0&&this.F==null){var Q=this.au.bK(this.aq);var J=this.au.bK(bx);var U=false;if(Q.getTime()==J.getTime())U=true;if(Q>J){var td=Q;Q=J;J=td;}J=new Date(J.setHours(23,59,59,0));I=this.de(r," ",Q,J," ",U,null);this.raise_itemCreated(I);}if(this.ah>=0&&this.P==""&&Math.abs(this.aq-bx)<3){var item=this.o.get_Items()[this.ah];I=this.bG(r,item.Uid,item.Title,item.StartDate,item.EndDate,item.Description,item.IsAllDay,item.Extensions);this.raise_itemUpdating(I);if(I.Canceled==true){this.aD();return;}this.ah= -1;}this.F=null;this.ah= -1;this.P="";this.aq=this.at= -1;this.aG=this.ai=this.ce= -1;},MouseMove:function(r){var db=this.aI(r);if(this.F!=null){if(this.P=="move"){var rect=this.au.cq(db);if(rect!=null){this.F.style.left=rect.Left+"%";}}}if(this.am.style.display=="block"&&this.aG> -1&&this.ce> -1){var aP=this.au.bU(Math.ceil(this.aG*this.au.C.offsetWidth/100),db);if(aP<0&&this.aG+aP>=0){this.am.style.left=this.aG+aP+"%";this.am.style.width=this.ce+Math.abs(aP)+"%";}if(aP>0){this.am.style.width=this.ce+aP+"%";}if(aP==0){this.am.style.left=this.aG+"%";this.am.style.width=this.ce+"%";}}},initialize:function(){this.M=$get(this.get_EventOwnerId());this.aZ=$get(this.get_ScrollContainerId());this.am=$get(this.get_SelectionDivId());this.get_ItemsManager().dv(this);this.ck=Function.createDelegate(this,this.MouseDown);this.cn=Function.createDelegate(this,this.MouseUp);this.cQ=Function.createDelegate(this,this.MouseMove);$addHandler(this.M,"mousedown",this.ck);$addHandler(this.M,"mouseup",this.cn);$addHandler(this.M,"mousemove",this.cQ);$addHandler(document,"mouseup",Function.createDelegate(this,this.aD));this.o.RefreshEventBar=Function.createDelegate(this,this.RefreshEventBar);MCCalendar.CalendarEventBar.callBaseMethod(this,'initialize');},dispose:function(){$clearHandlers(this.M);MCCalendar.CalendarEventBar.callBaseMethod(this,'dispose');}};MCCalendar.CalendarEventBarGrid=function(){MCCalendar.CalendarEventBarGrid.initializeBase(this);this.bN=0;this.aL=0;this.bj=0;this.bk=0;this.eA=null;};MCCalendar.CalendarEventBarGrid.prototype={get_ContainerId:function(){return this.cV;},set_ContainerId:function(value){this.cV=value;},get_ScrollContainerId:function(){return this.dR;},set_ScrollContainerId:function(value){this.dR=value;},get_ItemHeight:function(){return this.ao;},set_ItemHeight:function(value){this.ao=value;},get_ItemPadding:function(){return this.an;},set_ItemPadding:function(value){this.an=value;},get_ColsCount:function(){return this.O;},set_ColsCount:function(value){this.O=value;},get_VSepBorderWidth:function(){return this.aU;},set_VSepBorderWidth:function(value){this.aU=value;},get_VSepWidth:function(){return this.aV;},set_VSepWidth:function(value){this.aV=value;},get_ServerUTCOffset:function(){return this.aL;},set_ServerUTCOffset:function(value){this.aL=value;},get_TimeOffset:function(){return this.bk;},get_MainViewGrid:function(){return this.eA;},set_MainViewGrid:function(value){this.eA=value;},get_GridStartDate:function(){return this.be;},set_GridStartDate:function(value){if(typeof(value)=='string'){var A=value.split('.');this.be=new Date(parseInt(A[0],10),parseInt(A[1],10)-1,parseInt(A[2],10),parseInt(A[3],10),parseInt(A[4],10),parseInt(A[5],10));}else this.be=value;},get_GridEndDate:function(){return this.bf;},set_GridEndDate:function(value){if(typeof(value)=='string'){var A=value.split('.');this.bf=new Date(parseInt(A[0],10),parseInt(A[1],10)-1,parseInt(A[2],10),parseInt(A[3],10),parseInt(A[4],10),parseInt(A[5],10));}else this.bf=value;},get_ItemsManager:function(){return this.o;},set_ItemsManager:function(value){this.o=value;},initialize:function(){var d=new Date();this.bj=d.getTimezoneOffset();this.bk=this.aL+this.bj;this.C=$get(this.get_ContainerId());this.aZ=$get(this.get_ScrollContainerId());MCCalendar.CalendarEventBarGrid.callBaseMethod(this,'initialize');},aB:function(ar){var bC= -1;if(this.C!=null){var H=this.C.offsetWidth/this.O;for(i=0;i<this.O;i++){if(ar>=i*(H)&&ar<(i+1)*(H)){bC=i;break;}}}return bC;},bU:function(cp,bV){var bb=this.aB(cp);var ba=this.aB(bV);if(bb!= -1&&ba!= -1&&bb!=ba){if(this.C!=null){var H=this.C.offsetWidth/this.O;return(ba-bb)*H/this.C.offsetWidth*100;}}return 0;},cq:function(ar){var ax=this.aB(ar);if(ax>=0){var H=this.C.offsetWidth/this.O/this.C.offsetWidth*100;var rect=new Object();var bT=this.aU*2+this.aV;rect.Top=0;rect.Left=ax*H+bT/this.C.offsetWidth*100;rect.Width=H-bT/this.C.offsetWidth*100;rect.Height=100;return rect;}return null;},bK:function(ar){var ax=this.aB(ar);if(ax>=0){var ae=new Date(this.get_GridStartDate().getTime());ae=new Date(ae.getTime()+ax*24*60*60*1000);ae.setHours(0,0,0,0);return ae;}return null;},dX:function(item){if(this.C!=null){if((item.StartDate<this.get_GridStartDate()&&item.EndDate<this.get_GridStartDate())||(item.StartDate>this.get_GridEndDate()&&item.EndDate>this.get_GridEndDate())||(item.StartDate>item.EndDate)){return null;}if(this.bL(item.StartDate,item.EndDate)==0&&item.IsAllDay==false&&(item.StartDate.getHours()>=this.get_MainViewGrid().get_GridStartDate().getHours()&&item.EndDate.getHours()<=this.get_MainViewGrid().get_GridEndDate().getHours())){return null;}var H=this.C.offsetWidth/this.O;var bT=this.aU*2+this.aV;var aw=new Object();aw.Top= -1;aw.Left= -1;aw.Width= -1;aw.Height= -1;var bw=this.bL(this.get_GridStartDate(),item.StartDate);if(bw<0)bw=0;var by=this.bL(item.EndDate,this.get_GridEndDate());if(by<0)by=this.O-1;else by=this.O-1-by;aw.Top=this.an;aw.Height=this.ao;aw.Left=bw*H/this.C.offsetWidth*100+bT/this.C.offsetWidth*100;aw.Width=(by-bw+1)*H/this.C.offsetWidth*100-bT/this.C.offsetWidth*100;return aw;}return null;},cc:function(){if(this.o.get_Items()!=null&&this.o.get_Items().length>0){for(i=0;i<this.o.get_Items().length;i++){this.o.get_Items()[i].MCCI_EvBarPosition=this.dX(this.o.get_Items()[i]);}}},cd:function(K,L){if(this.o.get_Items()!=null&&this.o.get_Items().length>0){var D=new Array();var cY=null;var item=null;var bw=null;var by=null;for(var i=0;i<this.o.get_Items().length;i++){item=this.o.get_Items()[i];if((item.StartDate<K&&item.EndDate<K)||(item.StartDate>L&&item.EndDate>L)||(item.StartDate>item.EndDate)||(this.bL(item.StartDate,item.EndDate)==0&&item.IsAllDay==false&&(item.StartDate.getHours()>=this.get_MainViewGrid().get_GridStartDate().getHours()&&item.EndDate.getHours()<=this.get_MainViewGrid().get_GridEndDate().getHours())))continue;cY=new Array();for(var g=0;g<this.O;g++)cY[g]= -1;bw=this.bL(this.get_GridStartDate(),item.StartDate);if(bw<0)bw=0;by=this.bL(item.EndDate,this.get_GridEndDate());if(by<0)by=this.O-1;else by=this.O-1-by;if(bw>=0&&bw<this.O)cY[bw]=i;for(var g=bw+1;g<=by;g++)cY[g]= -2;D.push(cY);}if(D.length>1){var bP= -1;var co= -1;var bF=false;i=0;while(i<D.length){bP= -1;co= -1;for(var g=0;g<D[i].length;g++){if(bP<0&&D[i][g]>=0){bP=g;co=1;}if(bP>=0&&co>0&&D[i][g]== -2){co++;}}bF=false;if(bP>=0&&co>0){for(var g=0;g<i;g++){bF=true;for(var k=bP;k<bP+co;k++){if(D[g][k]>=0||D[g][k]== -2){bF=false;break;}}if(bF==true){for(var k=bP;k<bP+co;k++){D[g][k]=D[i][k];}break;}}}if(bF==true){D.splice(i,1);continue;}i++;}}return D;}return null;},cg:function(D){if(this.o.get_Items()!=null&&this.o.get_Items().length>0&&D!=null&&D.length>0){var item=null;for(var i=0;i<D.length;i++){for(var g=0;g<D[i].length;g++){if(D[i][g]>=0){item=this.o.get_Items()[D[i][g]];if(item.MCCI_EvBarPosition)item.MCCI_EvBarPosition.Top=i*(this.an+this.ao)+this.an;}}}}},ct:function(K,L){this.cc();var D=this.cd(K,L);if(D!=null){this.bN=D.length;}if(D!=null&&D.length>0){if(this.aZ.style.overflowY&&this.aZ.style.overflowY=="scroll"){if(this.aZ.offsetHeight<this.bN*(this.ao+this.an)+this.an)this.C.style.height=(this.bN+1)*(this.ao+this.an)+this.an+"px";else this.C.style.height=this.aZ.offsetHeight+"px";}else{this.aZ.style.height=(this.bN+1)*(this.ao+this.an)+this.an+"px";}}this.cg(D);},bL:function(cr,cA){var d=Date.UTC(cA.getFullYear(),cA.getMonth(),cA.getDate(),0,0,0)-Date.UTC(cr.getFullYear(),cr.getMonth(),cr.getDate(),0,0,0);return Math.ceil(d/1000/60/60/24);}};MCCalendar.CalendarEventBar.registerClass('MCCalendar.CalendarEventBar',Sys.Component);MCCalendar.CalendarEventBarGrid.registerClass('MCCalendar.CalendarEventBarGrid',Sys.Component);
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded()