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

[Solved] Getting error in scheudlerView while click on readonly slot

1 Answer 97 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Hardik
Top achievements
Rank 1
Hardik asked on 23 Jun 2011, 03:22 PM
Hi Support,

I am getting an error while click on readOnly slots.

   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)     at System.ThrowHelper.ThrowArgumentOutOfRangeException()     at System.Collections.Generic.List`1.get_Item(Int32 index)     at System.Collections.Generic.List`1.System.Collections.IList.get_Item(Int32 index)     at System.Windows.Data.ListCollectionView.ProcessCollectionChangedWithAdjustedIndex(EffectiveNotifyCollectionChangedAction action, Object oldItem, Object newItem, Int32 adjustedOldIndex, Int32 adjustedNewIndex)     at System.Windows.Data.ListCollectionView.ProcessCollectionChangedWithAdjustedIndex(NotifyCollectionChangedEventArgs args, Int32 adjustedOldIndex, Int32 adjustedNewIndex)     at System.Windows.Data.ListCollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)     at System.Windows.Data.CollectionView.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)     at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)     at System.Collections.ObjectModel.ObservableCollection`1.RemoveItem(Int32 index)     at System.Collections.ObjectModel.Collection`1.RemoveAt(Int32 index)     at System.Windows.Data.ListCollectionView.CancelNew()     at Telerik.Windows.Controls.ScheduleView.ScheduleViewDataConnection.HackCollectionViewBug(Boolean isCommit)     at Telerik.Windows.Controls.ScheduleView.ScheduleViewDataConnection.CancelNew()     at Telerik.Windows.Controls.ScheduleViewBase.CreateNew(Slot slot)     at Telerik.Windows.Controls.ScheduleViewBase.CreateAppointmentWithDialog(Object parameter)     at Telerik.Windows.Controls.ScheduleViewBase.OnCreateAppointmentExecuted(Object sender, ExecutedRoutedEventArgs e)     at Telerik.Windows.Controls.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)     at Telerik.Windows.Controls.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)     at Telerik.Windows.Controls.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)     at Telerik.Windows.Controls.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)     at Telerik.Windows.Controls.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)     at Telerik.Windows.Controls.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)     at Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)     at Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)     at Telerik.Windows.RouteItem.InvokeHandler(RadRoutedEventArgs routedEventArgs)     at Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)     at Telerik.Windows.EventRoute.InvokeHandlers(Object source, RadRoutedEventArgs args)     at Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)     at Telerik.Windows.DependencyObjectExtensions.RaiseEvent(DependencyObject element, RadRoutedEventArgs e)     at Telerik.Windows.Controls.RoutedCommand.ExecuteImpl(Object parameter, UIElement target)     at Telerik.Windows.Controls.RoutedCommand.Execute(Object parameter, UIElement target)     at Telerik.Windows.Controls.CommandManager.ExecuteCommand(RoutedCommand routedCommand, Object parameter, UIElement target, RoutedEventArgs inputEventArgs)     at Telerik.Windows.Controls.CommandManager.TranslateInput(UIElement targetElement, RoutedEventArgs args)     at Telerik.Windows.Controls.CommandManager.OnElementEvent(Object sender, RoutedEventArgs e)     at Telerik.Windows.Input.Mouse.RaiseMouseButtonEventImpl(DependencyObject element, RoutedEvent routedEvent, MouseButton button, MouseButtonState state, MouseButtonEventArgs e)     at Telerik.Windows.Input.Mouse.OnElementMouseLeftButtonUp(Object sender, MouseButtonEventArgs e)     at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)     at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

Thanks
H@rdik Pancholi

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 24 Jun 2011, 12:05 PM
Hello Hardik,

This is a bug in ListCollectionView implementation of Silverlight framework. We have reported it to Microsoft.
We managed to find a way to workaround it so if you try the Latest Internal Build or the new 2011 Q2 Beta you won't see this exception.

Regards,
Hristo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ScheduleView
Asked by
Hardik
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or