I have a dashboard type application that has an ultraTab control with 2 tabs. 1 Tab is a dashboard and the other is another tab where users can double click/select which widgets they want on their dashboard. On each tab is an ultraTilePanel. When they select one from the config. tab it removes the ultraTile from the 1 Tiles collection and then adds it to the Dashboard's Tiles collection.
That's all working aok.
The problem I'm having is that sometimes seemingly randomly when a Tile is added to the Dashboard it gets placed behind a tile that's already there.
Anyone have any thoughts / ideas about what I might be missing and/or how to stop them from doing that? Making them always go to the end of the collection would be ideal I think, then once the user has whatever widgets selected they can then arrange them on their dashboard.
Using a rather old version of Windows Forms: 13.1.20131.2095
Thank you for contacting Infragistics. The UltraTile class exposes a BringToFront method that you can call on each tile. Have you tried this? Please provide a sample or relevant code along with steps to reproduce the issue. It's important to isolate the behavior on my end so I can determine if development issue is occurring or a simple issue in your code.
Let me know if you have any questions.
BringtoFront didnt't work so I ended up working around it
Using a combination of Save|LoadAsXml, and PositionInNormalMode got me where I wanted to be. Basically every time I added from 1 Tile to the other, I incremented the Width and Height of the destination Tile effectively setting its PositionInNormalMode to the end of that Tiles collection.
It would also be very difficult to provide a sample as I'm not using C# or Vb. Using OpenEdge.
Thank you for your feedback. Let us know if you have any additional questions.