Hello to the Telerik community!
In the attached image, I don't want to display the area circled in red but when I remove it the table says "no records to display".
<
p
><
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AutoGenerateColumns
=
"false"
ShowFooter
=
"true"
ShowHeader
=
"true"
RegisterWithScriptManager
=
"false"
Width
=
"100%"
Height
=
"100%"
OnNeedDataSource
=
"RadGrid1_OnNeedDataSource"
ViewStateMode
=
"Disabled"
ShowGroupPanel
=
"true"
ClientSettings-Scrolling-AllowScroll
=
"false"
GridLines
=
"None"
AllowSorting
=
"true"
AllowMultiRowSelection
=
"true"
>
<
ClientSettings
>
<
Selecting
AllowRowSelect
=
"true"
/>
</
ClientSettings
>
<
MasterTableView
ShowHeadersWhenNoRecords
=
"true"
>
<
NoRecordsTemplate
>
<
div
style
=
"text-align: center;"
>
<
asp:Literal
ID
=
"NoData_lt"
Text="<%$Resources:Strings,Nodatatodisplay %>:" runat="server" />
</
div
>
</
NoRecordsTemplate
>
<
ItemTemplate
>
<
asp:Label
ID
=
"Label0"
runat
=
"server"
Text="<%$ Resources:Strings, OrderReference %>" TabIndex="5" />
<
asp:Label
ID
=
"Label6"
runat
=
"server"
Text='<%# Eval("TRANS_NB") %>' TabIndex="5" />
<
asp:Label
ID
=
"Label1"
runat
=
"server"
Text="<%$ Resources:Strings, OrderAmount %>" TabIndex="5" />
<
asp:Label
ID
=
"Label7"
runat
=
"server"
Text='<%# Eval("TRANS_AMOUNT") %>' TabIndex="5" />
<
asp:Label
ID
=
"Label2"
runat
=
"server"
Text="<%$ Resources:Strings, ShippingMethod %>" TabIndex="5" />
<%--<
asp:Label
ID
=
"Label8"
runat
=
"server"
Text='<%# Eval("ShippingMethod") %>' TabIndex="5" />--%>
<
asp:Label
ID
=
"Label3"
runat
=
"server"
Text="<%$ Resources:Strings, Date %>" TabIndex="5" />
<
asp:Label
ID
=
"Label9"
runat
=
"server"
Text='<%# Eval("TRANS_DATE") %>' TabIndex="5" />
<
asp:Label
ID
=
"Label4"
runat
=
"server"
Text="<%$ Resources:Strings, BillNumber %>" TabIndex="5" />
<
asp:Label
ID
=
"Label10"
runat
=
"server"
Text='<%# Eval("SHIP_BILL_NUMBER") %>' TabIndex="5" />
<
asp:Label
ID
=
"Label5"
runat
=
"server"
Text="<%$ Resources:Strings, Shipment %>" TabIndex="5" />
<
asp:Label
ID
=
"Label11"
runat
=
"server"
Text='<%# Eval("SHIP_COST") %>' TabIndex="5" />
</
ItemTemplate
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"TRANS_NB"
SortExpression
=
"TRANS_NB"
HeaderText="<%$ Resources:Strings, OrderReference %>" HeaderButtonType="TextButton" />
<
telerik:GridBoundColumn
DataField
=
"TRANS_AMOUNT"
SortExpression
=
"TRANS_AMOUNT"
HeaderText="<%$ Resources:Strings, OrderAmount %>" HeaderButtonType="TextButton" />
<
telerik:GridBoundColumn
DataField
=
"ShippingMethod"
SortExpression
=
"ShippingMethod"
HeaderText="<%$ Resources:Strings, ShippingMethod %>" HeaderButtonType="TextButton" />
<
telerik:GridBoundColumn
DataField
=
"TRANS_DATE"
SortExpression
=
"TRANS_DATE"
HeaderText="<%$ Resources:Strings, Date %>" HeaderButtonType="TextButton" />
<
telerik:GridBoundColumn
DataField
=
"SHIP_BILL_NUMBER"
SortExpression
=
"SHIP_BILL_NUMBER"
HeaderText="<%$ Resources:Strings, BillNumber %>" HeaderButtonType="TextButton" />
<
telerik:GridBoundColumn
DataField
=
"SHIP_COST"
SortExpression
=
"SHIP_COST"
HeaderText="<%$ Resources:Strings, Shipment %>" HeaderButtonType="TextButton" />
</
Columns
>
<
DetailTables
>
<
telerik:GridTableView
ShowHeadersWhenNoRecords
=
"true"
>
<
NoRecordsTemplate
>
<
div
style
=
"text-align: center;"
>
<
asp:Literal
ID
=
"NoData_lt"
Text="<%$Resources:Strings,Nodatatodisplay %>" runat="server" />
</
div
>
</
NoRecordsTemplate
>
<
Columns
>
<
telerik:GridClientSelectColumn
UniqueName
=
"GridClientSelectColumn1"
/>
<
telerik:GridImageColumn
HeaderText="<%$ Resources:Strings, Image %>" HeaderButtonType="None" />
<
telerik:GridBoundColumn
DataField
=
"PRODUCT_NAME"
SortExpression
=
"PRODUCT_NAME"
HeaderText="<%$ Resources:Strings, ProductName %>" HeaderButtonType="TextButton" />
<
telerik:GridBoundColumn
DataField
=
"STORE_NAME"
SortExpression
=
"STORE_NAME"
HeaderText="<%$ Resources:Strings, Supplier %>" HeaderButtonType="TextButton" />
<
telerik:GridBoundColumn
DataField
=
"PRODUCT_PRICE"
SortExpression
=
"PRODUCT_PRICE"
HeaderText="<%$ Resources:Strings, UnitPrice %>" HeaderButtonType="TextButton" />
<
telerik:GridBoundColumn
DataField
=
"PRODUCT_QUANTITY"
SortExpression
=
"PRODUCT_QUANTITY"
HeaderText="<%$ Resources:Strings, Quantity %>" HeaderButtonType="TextButton" />
<
telerik:GridBoundColumn
DataField
=
"TRANS_TOTAL"
SortExpression
=
"TRANS_TOTAL"
HeaderText="<%$ Resources:Strings, TotalPrice %>" HeaderButtonType="TextButton" />
</
Columns
>
</
telerik:GridTableView
>
</
DetailTables
>
</
MasterTableView
>
</
telerik:RadGrid
></
p
><
p
></
p
>