Hello
I have a TileList created from a datasource with a group field that groups tiles by day. Now I want to add a GroupTile Header with a ContentTemplate programmatically.
At the moment it is static in the .ascx file (see below). But I need something like this created in code behind and added to the TileListGroup.
I know I can add a group with .Groups.Add(group) but I just don't get how to create and add an RadContentTemplateTile as a header to it.
How can I get there...
<telerik:TileGroup Name="2015-09-18">
<telerik:RadContentTemplateTile runat="server" Shape="Wide" CssClass="noHover OEGroupTile">
<ContentTemplate>
<div class="OEGroupTileContent">
<div class="OETileTopContent">Friday, 18.09.2015 (Today)</div>
<div class="OETileBottomLeftSmall">some text</div>
</div>
</ContentTemplate>
</telerik:RadContentTemplateTile>
</telerik:TileGroup>