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

RadGrid Layout

1 Answer 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nahid Ebrahimi
Top achievements
Rank 1
Nahid Ebrahimi asked on 19 May 2010, 01:54 AM
Hey guys,
I've just purchased the full licence of ASP.NET AJAX yesterday.
I want to have a grid with this layout for each row:
<ul>
       <li class="hover">
        <span class="result-check">
         <input type="checkbox" name="test" value="more-sub" />
        </span>
        <span class="result-img">
         <img src="#" />
        </span>
        <span class="result-detail">
         <span class="info-1">
          <label>Unit</label><span class="value"><%# Eval("Unit")%></span>
          <label>Name</label><span class="value"><%# Eval("Name")%></span>
          <label>Type</label><span class="value"><%# Eval("Type")%></span>
         </span>
         <span class="info-1">
          <label>Area m<sup>2</sup></label><span class="value"><%# Eval("Area")%></span>
          <label>Divisible area</label><span class="value"><%# Eval("DArea")%></span>
         </span>
         <span class="info-1">
          <label>Rent m<sup>2</sup></label><span class="value"><%# Eval("RArea")%></span>
          <label>Rent p.a</label><span class="value"><%# Eval("RPA")%></span>
         </span>
         <span class="hover-info">
          <span><a href="#" class="view">View</a></span>
          <a href="#">Edit</a>
          <a href="#">Email</a>
          <a href="#">Print</a> |
          <a href="#">Add an enquiry</a> |
          <a href="#">Create note</a>
         </span>
        </span>
        <span class="result-medium">
         <span>M</span>
        </span>
       </li>
</ui>

My datasource is a Generic List. When I use Itemtemplate, my grid stays empty.
I would be so thankful if you can reply ASAP.

Cheers

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 19 May 2010, 07:50 AM
Hello Nahid,

If you need to customize the layout of RadGrid you can easily utilize this by using RadListView. You can find more details and demos on the links bellow:
http://demos.telerik.com/aspnet-ajax/listview/examples/firstlook/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/listview/examples/appearancestyling/predefinedlayouts/defaultcs.aspx

http://www.telerik.com/help/aspnet-ajax/listviewoverview.html

Regards,
Nikolay
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.
Tags
Grid
Asked by
Nahid Ebrahimi
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or