This question is locked. New answers and comments are not allowed.
Hi, I think there is a problem in VisibleRangeChange command.
I implemented my project in MVVM but when I trace it during it runs , at first this command executed for twice. loading time takes long time. but in other execution every thing is ok. Is it normal ? or it's a bug?
I implemented my project in MVVM but when I trace it during it runs , at first this command executed for twice. loading time takes long time. but in other execution every thing is ok. Is it normal ? or it's a bug?
<telerik:RadScheduleView DataContext="{StaticResource CalendarViewerViewModel}" HorizontalAlignment="Left" FontFamily="Tahoma" AppointmentsSource="{Binding Path=Events,Mode=TwoWay}" VisibleRangeChangedCommand="{Binding Path=VisibleRangeChanged}" telerik:StyleManager.Theme="{StaticResource TelerikOfficeBluePersianWrapper}" VisibleRangeChangedCommandParameter="{Binding Path=VisibleRange, RelativeSource={RelativeSource Self}}" ActiveViewDefinitionIndex="0" Name="radScheduleView1" VerticalAlignment="Top">private ICommand visibleRangeChanged; public ICommand VisibleRangeChanged { get { return this.visibleRangeChanged; } set { this.visibleRangeChanged = value; } } private void VisibleRangeExecuted(object param) { IDateSpan dateSpan = param as IDateSpan; _dataProvider.LoadTimeSlicesAsync(new DateTimeRange(dateSpan.Start, dateSpan.End)); } private bool CanVisibleRangeCanExecuted(object param) { return param != null; }