TelerikDeveloper.com

TelerikDeveloper.com

sgray128 11/8/2013 9:39:50 AM

ASP.NET - Radgrid - Add a comment row below each detail row

It is occasionally convenient to add a comment row below each detail row, like this:

                       



The code to do it looks like this:

        <telerik:GridCheckBoxColumn DataField="ProdTix" HeaderText="Prod. Ticket" ReadOnly="True"></telerik:GridCheckBoxColumn>
        <telerik:GridBoundColumn DataField="Status" HeaderText="Item Status" ReadOnly="True"></telerik:GridBoundColumn>
 
    </Columns>
    <DetailItemTemplate>
        <%# Eval("LineComments")%>
    </DetailItemTemplate>
</MasterTableView>