It was the today morning I just start preparing to do my work and opened Visual Studio. Now what I found that there was lots popup showing the error for load fail of the designer packages respectively.
The error was “The 'DesignerPackage' package did not load correctly” and I did following trick to solve this issue in Visual studio 2013. If you are using older version then look for 11.0 or 10.0 folder for this “ComponentModelCache” directory.
- First open windows explorer and go to “C:\Users\<your users name>\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache”.
- Delete all the files located in this folder after closing the visual studio.
After doing this start your visual studio and all errors went away.
This is related to DevExpress question - How to loop through tiles in TileView, which help me to achieve the required functionality in the XtraGrid using the TileView. I require to implement the selection process for TileView similar to GridView in XtraGrid, but I require to iterate through all the TileView items. TileView actually use TileViewControl internally so it require to access under laying tileview control items to access more information about the TileViewItems. See the below code snippet:
private void HandleTileItemSelection(TileViewItem tileViewItem)
if ((ModifierKeys & Keys.Control) != Keys.Control)
Dictionary visibleTiles = ((tileView1.GetViewInfo() as ITileControl).ViewInfo as TileViewInfoCore).VisibleItems;
int alternateCheckedItemsCount = 0;
foreach (KeyValuePair item in visibleTiles)
if (item.Value != tileViewItem && item.Value.Checked)
item.Value.Checked = false;
tileView1.SetRowCellValue(item.Value.RowHandle, "CheckedStatus", false);