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

How do I make a compare list?

2 Answers 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
louis chan
Top achievements
Rank 1
Iron
louis chan asked on 13 Apr 2010, 10:19 AM

Hi all,

I am wondering if anyone has any idea that writing a row header of compare list.
At the begining, i decided to make a listview to do this. 

              <LayoutTemplate> 
                <table id="Table1" runat="server" border="1"   
                    style="background-color: #FFFFFF;border-collapse: collapse;border-color: #999999;border-style:none;border-width:1px;font-family: Verdana, Arial, Helvetica, sans-serif;">  
                    <tr> 
                        <td>Happy</td> 
                        <%-- Goes here? --%> 
                        <asp:PlaceHolder ID="EmployeesContainer" runat="server" /> 
                    </tr> 
                    <tr> 
                        <td>Money</td> 
                    </tr> 
                    <tr> 
                        <td>Good</td> 
                    </tr> 
                 </table> 
            </LayoutTemplate> 
 
 
            <ItemTemplate> 
                <td> 
                    <asp:Label ID="YSE" runat="server"   
                        Text='<%# Eval("YES") %>' /> 
                    <%-- How about "Money" and "Good" column? --%>                  
                </td> 
            </ItemTemplate> 
 

It is difficult to make a codeless listview but now I just want to achieve this with anyway.

 

As u can see the attachment, happy, money and good are columns. A, B, C... are data.
If this is impossible, then I will write a table for this. Thx!

2 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 13 Apr 2010, 12:10 PM
Hello louis,

I think that the most convenient option for your case would be to use grid predefined layout for your RadListView instance (presented here) having Happy, Money and Good as columns and A, B, C and D defined as rows.

Best regards,
Sebastian
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
louis chan
Top achievements
Rank 1
Iron
answered on 14 Apr 2010, 12:09 PM
Hi Sebastian ,
This is what I expected to do and I found this on yr demo website.
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/pivot/defaultcs.aspx
Tags
General Discussions
Asked by
louis chan
Top achievements
Rank 1
Iron
Answers by
Sebastian
Telerik team
louis chan
Top achievements
Rank 1
Iron
Share this question
or