RadTileList relative width

2 posts, 1 answers
  1. KTK
    KTK avatar
    11 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:
    <div>
       <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>
    </div>

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

    Posted 24 Feb 2014 Link to this post

    Hi,

    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.


    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 UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top