Moving appointment javascript error

7 posts, 0 answers
  1. Piyush Bhatt
    Piyush Bhatt avatar
    166 posts
    Member since:
    Nov 2007

    Posted 14 Mar 2008 Link to this post

    Whille moving an appointment in Scheduler works only sometime successfully, some other time browser gives Javascript error at following location:

    var _af=_a5[i].parentNode.parentNode.rows[_ae].cells[_a5[i].cellIndex];

    in following script: (I am trying move appointment when there is scrollbar in the scheduler and I am almost at the middle or bottom of the scrollbar).

    _onDocumentMouseMove:function(e){ var _a5=this.get_cells(); var _a6=$telerik.getScrollOffset(document.body,true); if(this._dragging&&this._draggingAppointment){ for(var i=0,_a8=_a5.length;i<_a8;i++){ var _a9=_a5[i].targetRect; var x=e.clientX; var y=e.clientY; x+=_a6.x; y+=_a6.y; var _ac=_a9.y+_a9.height; var _ad=_a9.x+_a9.width; if(x>=_a9.x&&x<=_ad&&y>=_a9.y&&y<=_ac){ var _ae=0; if(this._dragOrigin){ _ae=this._draggingAppointment._originalParent.parentNode.parentNode.rowIndex+(_a5[i].parentNode.rowIndex-this._dragOrigin.parentNode.rowIndex); }else{ this._dragOrigin=_a5[i].parentNode.cells[0]; } if(_ae<0){ _ae=0; } var _af=_a5[i].parentNode.parentNode.rows[_ae].cells[_a5[i].cellIndex]; if(_af.firstChild==this._draggingAppointment._domElement.parentNode){ return; } if(_af.firstChild.nodeType==3){ _af.removeChild(_af.firstChild); var _b0=this._draggingAppointment._domElement.parentNode.cloneNode(false); _b0.style.zIndex=999; if($telerik.isFirefox){ _b0.style.height=_af.clientHeight+"px"; } _af.appendChild(_b0); } if(this.get_selectedView()!="MonthView"){ _af.firstChild.appendChild(this._draggingAppointment._domElement); }else{ _af.childNodes[1].appendChild(this._draggingAppointment._domElement); } this._keepElementInView(this._draggingAppointment._domElement); return; } } } }
  2. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 17 Mar 2008 Link to this post

    Hi Piyush,

    In the current version of RadScheduler moving appointments is slightly unstable with certain combinations of browser and DOCTYPEs. The next version of RadScheduler will be greatly improved in this area as we have completely rewritten this part of the client-side code.

    If this is crucial for your project and you cannot wait for the next release, please open a support ticket and send us a sample project that reproduces the issue so we can investigate the problem and hopefully provide a workaround.

    Sincerely yours,
    Dimitar Milushev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Piyush Bhatt
    Piyush Bhatt avatar
    166 posts
    Member since:
    Nov 2007

    Posted 17 Mar 2008 Link to this post

    when will your next version be released? I should be okay for April.

    If your next version is June or after then please let me know soon.

    -Piyush
  5. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 17 Mar 2008 Link to this post

    Hello Piyush,

    The next release of the Prometheus suite is scheduled for mid-April.

    Greetings,
    Dimitar Milushev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Corey Alguire
    Corey Alguire avatar
    43 posts
    Member since:
    Sep 2004

    Posted 14 May 2008 Link to this post

    I have a scheduler with MinutesPerRow set to 10. I am using the Q1 2008 release. For some reason, when I drag an appointment, the new start time is always off by two hours. For instance, when I drag an appointment from 9:00 Tuesday straight over to (what should be) 9:00 Wednesday, the new start time is evaluated as 11:00 Wednesday. Any idea what could be going on here?
  7. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 15 May 2008 Link to this post

    Hi Corey,

    The problem is fixed with service pack 1 which will be released today (May 15).

    Greetings,
    Peter
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. Corey Alguire
    Corey Alguire avatar
    43 posts
    Member since:
    Sep 2004

    Posted 16 May 2008 Link to this post

    Hi Peter,
    Thanks. Sure enough, the Service Pack did the trick!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017