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

A RadGrid is great at showing rows of data, but sometimes a row needs room to breathe. That’s where the DetailTemplate comes in. Instead of forcing every field into the main grid layout, you can expand a row and reveal a richer, more flexible block of content—anything from a simple list of child records to a fully custom layout with buttons, forms, or nested controls. In this article, we’ll walk through the practical steps for wiring up a detail template in Telerik ASP.NET AJAX RadGrid, how to bind it cleanly, and the patterns that keep it fast, predictable, and easy to maintain.

                       

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>
                       

RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences