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

stretching ListView 100%

1 Answer 11 Views
ListView
This is a migrated thread and some comments may be shown as answers.
El
Top achievements
Rank 1
El asked on 28 Jan 2011, 01:15 AM
I have a RadListView with 3 columns! My problem is that when there is only one items to be displayed the ListView width is just like the item width.

http://img220.imageshack.us/img220/1303/nonstretched.jpg

If i have three items to be shown up it is displayed correctly fully stretched across the page.

http://img98.imageshack.us/img98/6531/stretchedy.jpg

How do i make it remain fully stretched even if there is only one item (or two) ???

Thanks

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 02 Feb 2011, 08:41 AM
Hello El,

Could you please try adding a div element around the RadListView with set width in pixels:
<div style="width: 600px;">
        <telerik:RadListView ID="RadListView1" 
....

 Also it will be helpful if you post your RadListView declaration with the related css styles.

Greetings,
Radoslav
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
ListView
Asked by
El
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or