I've noticed some funny behavior when I combine the UseStaticHeaders and GridTemplateColumn configurations for the RadGrid.
The grid loses the header and the detail disappears on occasion as well.
Here is a snippet of code:
<
telerik:RadGrid
runat
=
"server"
ID
=
"gridSample"
AutoGenerateColumns
=
"false"
ShowHeader
=
"true"
ShowFooter
=
"false"
OnItemDataBound
=
"gridSample_ItemDataBound"
OnNeedDataSource
=
"gridSample_NeedDataSource"
>
<
ClientSettings
>
<
Scrolling
AllowScroll
=
"true"
ScrollHeight
=
"400px"
UseStaticHeaders
=
"true"
/>
</
ClientSettings
>
<
MasterTableView
EnableNoRecordsTemplate
=
"true"
>
<
NoRecordsTemplate
>
<
asp:Label
runat
=
"server"
Text
=
"There is no file to review"
/>
</
NoRecordsTemplate
>
<
Columns
>
<
telerik:GridTemplateColumn
HeaderText
=
"Name"
UniqueName
=
"Name"
>
<
ItemTemplate
>
<
asp:Label
runat
=
"server"
Text='<%# Eval("LastName") + ", " + Eval("FirstName") + " " + Eval("MiddleName") %>' />
</
ItemTemplate
>
<
ItemStyle
Width
=
"45%"
HorizontalAlign
=
"Left"
/>
<
HeaderStyle
Width
=
"45%"
HorizontalAlign
=
"Left"
/>
</
telerik:GridTemplateColumn
>
.
.
.
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
I believe the sticking point is the use of static headers with the grid template columns. If I remove either the template columns or the UseStaticHeaders declarative, the problem goes away.
This is an older app that i am supporting and it is using the 2015.1.225.35 version of the assembly.