This is a migrated thread and some comments may be shown as answers.

FIX: Problem in scheduler when bound to WebService or WCF service

0 Answers 112 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Telerik Admin
Top achievements
Rank 1
Iron
Telerik Admin asked on 10 Dec 2009, 01:04 PM
There is a problem with RadScheduler in version 2009.3.1208 (Q3 SP1 2009) if it is bound to Web Service or WCF Service. The problem manifests when you switch the Views. It is already fixed in our latest internal builds (starting from version 2009.3.1210). If you do not want to use the internal bits - please add the following javascript code after the scheduler's declaration:

// Workaround for the view switching bug in RadScheduler (Web Service binding).  
// Should be removed after upgrading to version 2009.3.1210 or later.  
Telerik.Web.UI.RadScheduler.prototype._onWebServiceAppointmentsReceived = function ()  
{  
 this.get_appointments()._clear();  
  
 if (this._newActiveModel)  
 {  
  this._activeModel = this._newActiveModel;  
  this._newActiveModel = null;  
 }  
  
 if (!this._activeModel._getRenderer)  
  return;  
  
 var renderer = this._activeModel._getRenderer();  
 if (renderer)  
 {  
  renderer.refreshView();  
  this._updateScrollAreas();  
 }  
};  

We apologize for the caused inconvenience.

Tags
Scheduler
Asked by
Telerik Admin
Top achievements
Rank 1
Iron
Share this question
or