RadTileList relative width

2 posts, 1 answers
  1. KTK
    KTK avatar
    9 posts
    Member since:
    Oct 2013

    Posted 24 Feb 2014 Link to this post

    I would like to ask, if there is some way to set width = 100% to RadTileList.

    I tried this:
       <telerik:RadTileList ID="RadTileList1" runat="server" DataSourceID="ObjectDataSource1" Width="100%"></telerik:RadTileList>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetTiles" TypeName="TelerikWebApp1.TilesData"></asp:ObjectDataSource>

    But the width is 100px. Is there any way to achieve this?
  2. Answer
    Marin Bratanov
    Marin Bratanov avatar
    3558 posts

    Posted 24 Feb 2014 Link to this post


    Just don't set width, it will be equivalent to having the CSS width: auto and the tilelist will expand to the width of the container.

    Note that at this point it will not reach to this change, but in Q1 2014 (due shortly) it will have responsive capabilities that will let it react to the viewport size, so I would suggest waiting a bit and testing it out.

    Marin Bratanov
    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 UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top