Create GroupTile programmatically

2 posts, 0 answers
  1. rugydp
    rugydp avatar
    15 posts
    Member since:
    Jul 2014

    Posted 18 Sep 2015 Link to this post


     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">
                                    <div class="OEGroupTileContent">

                                       <div class="OETileTopContent">​Friday, 18.09.2015 (Today)</div>

                                        <div class="OETileBottomLeftSmall">​some text</div>

  2. Marin Bratanov
    Marin Bratanov avatar
    3551 posts

    Posted 18 Sep 2015 Link to this post


    The following article shows how you can create groups and add tiles to them programmatically:


    Marin Bratanov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top