This is a migrated thread and some comments may be shown as answers.

RadTileList relative width

1 Answer 75 Views
TileList
This is a migrated thread and some comments may be shown as answers.
KTK
Top achievements
Rank 1
KTK asked on 24 Feb 2014, 12:08 PM
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?

1 Answer, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 24 Feb 2014, 04:31 PM
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.
Tags
TileList
Asked by
KTK
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or