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

Show data in same indentation in RadListView

1 Answer 53 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Naunton
Top achievements
Rank 1
Naunton asked on 17 Aug 2011, 09:40 AM
Hi all,
Please advise, how to show data in same indentation in ListView?
I want to show in 3 Columns(only one field of DataTable), and should be save indentation.
My current UI is as below and it doesn't look good.

Here it is my HTML
<telerik:RadListView ID="rlvBLNo" runat="server"  ItemPlaceholderID="BLNoHolder" Skin="Office2007" >
    <LayoutTemplate>
       <fieldset class="RadListView RadListView_Office2007"  style="width:400px;padding:0px 0px 0px 0px; margin:0px 0px 0px 0px;">
         <legend style="font-weight:bold;">BL Number</legend>
         <asp:Panel ID="BLNoHolder" runat="server" />
       </fieldset>
    </LayoutTemplate>
    <ItemTemplate>
       <%# Eval("bl_no")%>
    </ItemTemplate>
    <ItemSeparatorTemplate>
       <span >   </span>
    </ItemSeparatorTemplate>
</telerik:RadListView>

Thanks :)

1 Answer, 1 is accepted

Sort by
0
Naunton
Top achievements
Rank 1
answered on 17 Aug 2011, 10:20 AM
Got it by add Label in ItemTemplate and set the width of label
<ItemTemplate>
    <asp:Label ID="Label16" runat="server" Text='<%# Eval("bL_no") %>' Width="120"></asp:Label>
</ItemTemplate>



Thanks
Tags
ListView
Asked by
Naunton
Top achievements
Rank 1
Answers by
Naunton
Top achievements
Rank 1
Share this question
or