Display GridTemplateColumn ItemTemplate value if No Record found in detail tableview

1 posts, 0 answers
  1. Kishan
    Kishan avatar
    4 posts
    Member since:
    Mar 2015

    Posted 20 Oct 2015 Link to this post

    Hello Telerik Team,

              I have one big problem not display GridTemplateColumn Item Template Item If No Record found in detail table view.

    I take Checkbox in GridTemplateColumn ItemTemplate at Detailtableview. See the below code.


              <telerik:GridTableView runat="server" cssClass="​class1" DataKeyNames="​test" Name="​testchild" ShowFooter="true" AllowSorting="true"             EnableLinqExpressions="false" AllowCustomPaging="false" AllowFilteringByColumn="False" AllowMultiRowSelection="false" AutoGenerateColumns="false" >
                                          <div> no child record display</div>
                                        <telerik:GridRelationFields DetailKeyField="​test" MasterKeyField="​test" />

                              <telerik:GridTemplateColumn UniqueName="Checkout" Visible="true" HeaderStyle-Width="25px">
                                                Checkout<br />
                                                <asp:CheckBox ID="chkCheckOutAll" runat="server" AutoPostBack="false" />
                                                <asp:CheckBox ID="chkCheckOut" runat="server" TypeId="1" AutoPostBack="false" />
                                                Count: <asp:Label runat="server" ID="lblcount"></asp:Label>


    In the above code If No record found  at detailtableview then checkbox in Item Template GridTemplateColumn not display it. see the attached screenshot of childList.png. I do too much RND related to NoRecordTemplate display Item values. But I dont get any proper solution related to template column.

    So I request to can you tell me the such type above possibility are available in telerik radgrid control ?. If yes then please give me proper solution about that because its urgent for me to do like that.

     Hope I get my solution from your Team,

    Thanks & Regards

     Kishan Prajapati

Back to Top