Exception from TileListPanel.ArrangeOverride method

3 posts, 0 answers
  1. Kareem
    Kareem avatar
    3 posts
    Member since:
    Mar 2015

    Posted 11 Aug 2015 Link to this post

     Hi,

    I am using a customized control derived from TileListPanel. and I have overriden ArrangeOverride() in this control. I am using this control in two different windows and those two windows are being shown at a time on UI.

    I am seeing a crash whose callstack is origination from Mycontrols' ArrangeOverride(). Below is the callstack. could you please help me out in fixing this issue.

    Object reference not set to an instance of an object.
       at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       at Telerik.Windows.Controls.TilesPlacementLocator.MarkTakenPlaceHolders(Int32 row, Int32 column, Tile tile)
       at Telerik.Windows.Controls.TileListPanel.DistributeTiles(Size availableSize, List`1 tiles, Int32 firstColumnIndex)
       at Telerik.Windows.Controls.TileListPanel.ArrangeOverride(Size finalSize)

     

    Thanks,

    Nausheen

     

  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 11 Aug 2015 Link to this post

    Hi Kareem,

    Will it be possible to clarify which version of the controls you are working with ? Could you try the current official one instead to verify whether you still get such exception ?

    Regards,
    Maya
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Kareem
    Kareem avatar
    3 posts
    Member since:
    Mar 2015

    Posted 11 Aug 2015 in reply to Maya Link to this post

    Hi Maya,

    Thanks for the prompt response. I am currently using the version  2015-1.401 (APR.01.2015).

    I will try with the current official version and update you back.

     

    Thanks,
    Nausheen

     

Back to Top