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

RadGrid Binding

2 Answers 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mohamed
Top achievements
Rank 1
mohamed asked on 16 Jun 2011, 08:15 AM

How to bind radgrid like that image i attach

Thanks,
Mohamed.

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 16 Jun 2011, 09:26 AM
Hello Mohamed,

I suppose you want to achieve the appearence of the lastColumn. If that is the requirement you can use Template column to achieve the desired appearance.
aspx:
<telerik:GridTemplateColumn UniqueName="TempcolFormat">
   <ItemTemplate>
        <table>
              <tr>
                <td>
                    <asp:Label ID="Lb1" runat="server" Text='<%# Eval("Heading") %>'></asp:Label>
               </td>
              </tr>
              <tr>
                 <td>
                    <asp:Label ID="Lb1" runat="server" Text='<%# Eval("Topic") %>'></asp:Label>
                  </td>
              </tr>
              <tr>
                  <td>
                    <asp:Label ID="Lb1" runat="server" Text='<%# Eval("Description") %>'></asp:Label>
                  </td>
              </tr>
      </table>
   </ItemTemplate>
</telerik:GridTemplateColumn>

Thanks,
Shinu.
0
mohamed
Top achievements
Rank 1
answered on 16 Jun 2011, 10:20 AM
Thanks Alot Shinu for ur reply really what i need on that .


Thanks,
Mohamed.
Tags
Grid
Asked by
mohamed
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
mohamed
Top achievements
Rank 1
Share this question
or