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

Display GridTemplateColumn ItemTemplate value if No Record found in detail tableview

0 Answers 62 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Kishan asked on 20 Oct 2015, 06:32 AM

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

No answers yet. Maybe you can help?

General Discussions
Asked by
Top achievements
Rank 1
Share this question