Adding tile to group

4 posts, 0 answers
  1. JC
    JC avatar
    30 posts
    Member since:
    Feb 2013

    Posted 05 Sep 2013 Link to this post

    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
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3596 posts

    Posted 05 Sep 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Morten
    Morten avatar
    267 posts
    Member since:
    Jul 2012

    Posted 20 Sep 2013 Link to this post

    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

  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3596 posts

    Posted 23 Sep 2013 Link to this post

    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.
Back to Top