Another bug

4 posts, 0 answers
  1. Andrew
    Andrew avatar
    26 posts
    Member since:
    Sep 2011

    Posted 21 Nov 2011 Link to this post

    Not sure where to submit bugs but I noticed that if I have a control, in my case a richtextbox, that is larger than the scroll area it doesn't handle it correctly. Is this a known issue and is there a fix or work around?

    Robert
  2. Andrew
    Andrew avatar
    26 posts
    Member since:
    Sep 2011

    Posted 21 Nov 2011 Link to this post

    And yet another one: NullReferenceException

    Without animation:

       at Telerik.Windows.Controls.RadVirtualizingDataControl.CheckResetBottomScrollableContentPosition()
       at Telerik.Windows.Controls.RadVirtualizingDataControl.ManageViewport()
       at Telerik.Windows.Controls.RadVirtualizingDataControl.BalanceVisualSpace()
       at Telerik.Windows.Controls.RadVirtualizingDataControl.b6(IDataSourceItem A_0)
       at Telerik.Windows.Controls.RadVirtualizingDataControl.OnItemsChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.Windows.Controls.RadDataBoundListBox.OnItemsChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.Windows.Controls.RadVirtualizingDataControl.cf(Object A_0, NotifyCollectionChangedEventArgs A_1)
       at Telerik.Windows.Data.RadListSource.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.Windows.Data.RadListSource.SourceCollectionChangedOverride(NotifyCollectionChangedEventArgs e)
       at Telerik.Windows.Data.RadListSource.OnSourceCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
       at Telerik.Windows.Data.RadListSource.Telerik.Windows.Data.IWeakEventListener.ReceiveEvent(Object sender, EventArgs e)
       at Telerik.Windows.Data.WeakEventHandler`1.ProcessEvent(Object sender, EventArgs e)
       at Telerik.Windows.Data.WeakEventHandler`1.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
       at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, CommentModel item)
       at System.Collections.ObjectModel.Collection`1.Add(CommentModel item)

    With animation:
       at Telerik.Windows.Controls.RadVirtualizingDataControl.PlaySingleItemAddedAnimation(RadVirtualizingDataControlItem item)
       at Telerik.Windows.Controls.RadVirtualizingDataControl.b6(IDataSourceItem A_0)
       at Telerik.Windows.Controls.RadVirtualizingDataControl.OnItemsChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.Windows.Controls.RadDataBoundListBox.OnItemsChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.Windows.Controls.RadVirtualizingDataControl.cf(Object A_0, NotifyCollectionChangedEventArgs A_1)
       at Telerik.Windows.Data.RadListSource.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.Windows.Data.RadListSource.SourceCollectionChangedOverride(NotifyCollectionChangedEventArgs e)
       at Telerik.Windows.Data.RadListSource.OnSourceCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
       at Telerik.Windows.Data.RadListSource.Telerik.Windows.Data.IWeakEventListener.ReceiveEvent(Object sender, EventArgs e)
       at Telerik.Windows.Data.WeakEventHandler`1.ProcessEvent(Object sender, EventArgs e)
       at Telerik.Windows.Data.WeakEventHandler`1.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
       at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, CommentModel item)
       at System.Collections.ObjectModel.Collection`1.Add(CommentModel item)

    The problem is I'm pulling data from the net and it's random when this happens and I can't figure out what causes it.
  3. DevCraft banner
  4. Andrew
    Andrew avatar
    26 posts
    Member since:
    Sep 2011

    Posted 21 Nov 2011 Link to this post

    Further investigation. I made my observablecollection block the notifcations and issue a reset after a batch add. That fixes the exception. Turns out the first item (header item) is larger than the viewport/screen which has the issue I mentioned above. So my guess is that there is a serious bug with items that are larger than the drawable area.
  5. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 22 Nov 2011 Link to this post

    Hi Robert,

    Thanks for contacting us and for reporting this issue.

    We would kindly like to ask you to prepare a sample project that manages to reproduce the aforementioned issue and send it to us for further investigation. This will help us directly take a look at the case and possibly provide a fix for the upcoming Q3 2011 SP1 release.

    Please note that you will have to open a new support ticket in order to be able to attach your project.

    Thanks for your time.

    Kind regards,
    Deyan
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top