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

Exception from TileListPanel.ArrangeOverride method

2 Answers 51 Views
TileList
This is a migrated thread and some comments may be shown as answers.
Kareem
Top achievements
Rank 1
Kareem asked on 11 Aug 2015, 09:38 AM

 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 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 11 Aug 2015, 11:25 AM
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
0
Kareem
Top achievements
Rank 1
answered on 11 Aug 2015, 11:38 AM

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

 

Tags
TileList
Asked by
Kareem
Top achievements
Rank 1
Answers by
Maya
Telerik team
Kareem
Top achievements
Rank 1
Share this question
or