 ASPxClientCalendar.prototype.GetSelectedDate=function(){return this.GetValue();};ASPxClientCalendar.prototype.GetVisibleDate=function(){return this.visibleDate;};ASPxClientCalendar.prototype.SelectDate=function(date){if(_aspxIsExists(date)){this.selection.Add(date);this.Update();}};ASPxClientCalendar.prototype.SelectRange=function(start,end){if(_aspxIsExists(start)&&_aspxIsExists(end)){this.selection.AddRange(start,end);this.Update();}};ASPxClientCalendar.prototype.DeselectDate=function(date){if(_aspxIsExists(date)){this.selection.Remove(date);this.Update();}};ASPxClientCalendar.prototype.DeselectRange=function(start,end){if(_aspxIsExists(start)&&_aspxIsExists(end)){this.selection.RemoveRange(start,end);this.Update();}};ASPxClientCalendar.prototype.ClearSelection=function(){this.selection.Clear();this.Update();};ASPxClientCalendar.prototype.GetSelectedDates=function(){return this.selection.GetDates();}
ASPxClientCalendar.prototype.RaiseSelectionChanged=function(processOnServer){if(!this.SelectionChanged.IsEmpty()){var args=new ASPxClientProcessingModeEventArgs(processOnServer);this.SelectionChanged.FireEvent(this,args);processOnServer=args.processOnServer;}return processOnServer;};ASPxClientCalendar.prototype.RaiseVisibleMonthChanged=function(offsetInternal){var processOnServer=this.autoPostBack;if(!this.VisibleMonthChanged.IsEmpty()){var args=new ASPxClientProcessingModeEventArgs(processOnServer);args.offsetInternal=offsetInternal;this.VisibleMonthChanged.FireEvent(this,args);processOnServer=args.processOnServer;}return processOnServer;};ASPxClientCalendarSelectionEventArgs=_aspxCreateClass(ASPxClientProcessingModeEventArgs,{constructor:function(processOnServer,selection){this.constructor.prototype.constructor.call(this,processOnServer);this.selection=selection;}});