You can count the tiles on the server and set the appropriate Height and TileRows properties of the control, e.g.:
sender, EventArgs e)
tilesCount = RadTileList1.GetAllTiles().Count;
height = tilesCount * 160;
//a tile is 150px tall and we add some for the padding between them
RadTileList1.Height = height;
RadTileList1.TileRows = tilesCount;
//TileRows defauilts to 3
The tiles are ordered in columns, but as once the TileRows limit is reached a new row is created.
Another point of interest is that this will work with Wide tiles only, the concept of the control is that each column is as wide as the Wide tile, so two Square tiles will fit there every time. Thus, a single column layout is possible only with Wide tiles. If Square tiles are used the height and the tileRows should be divided by 2 and there will be two columns always.
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed