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

Adding tile to group

3 Answers 83 Views
TileList
This is a migrated thread and some comments may be shown as answers.
JC
Top achievements
Rank 1
JC asked on 05 Sep 2013, 08:33 AM
There is a radtilelist defined in the aspx. I created two radimagetile object from C# on a click event. Now I want to add them to tile group. I canot find any group reference such as ID in order to add the created tile to that particular group. What should I do to add tile to a particular group?

Please help. Thanks
JC

3 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 05 Sep 2013, 09:35 AM
Hi JC,

At this point you can loop through the groups and use their index, e.g.
RadTileList1.Groups[3].Tiles.Add(yourTileObject);
will add the tile to the fourth group.

For the Q3 2013 release the groups will have a Name property and this RadTileList will expose a GetGroupByName(string) method.


Regards,
Marin Bratanov
Telerik
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 now.
0
Morten
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 20 Sep 2013, 06:18 PM
Will Programmatic Creation of RadContentTemplateTiles also be supported?

http://www.telerik.com/help/aspnet-ajax/tilelist-server-side-tile-object.html
http://www.telerik.com/help/aspnet-ajax/tilelist-server-side-programmatic-creation.html

0
Marin Bratanov
Telerik team
answered on 23 Sep 2013, 03:07 PM
Hello Morten,

Programmatic creation of ContentTemplate tiles is supported. You can use their ContentContainer property to add controls, much like you would add controls in an UpdatePanel or in the PeekTemplate. This property is listesd in the server-side RadTile API you linked.


Regards,
Marin Bratanov
Telerik
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 now.
Tags
TileList
Asked by
JC
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Morten
Top achievements
Rank 2
Iron
Iron
Veteran
Share this question
or