I followed the example to create row-spanning column headers as shown here: Telerik Example, which works great until I add EnableRowHoverStyle="true" to the declaration. The hover bar only works correctly on the non-Template columns. On the Template columns, the rows contain an underline and some extra space... if you hover below that space the hover bar appears, but nowhere else on those columns.
Is there a workaround or fix for this? I've tried the latest version of the DLLs, but still have the problem.
Here's the code:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
</telerik:RadScriptManager> |
<cc1:CslaDataSource ID="cdsMain" runat="server" TypeAssemblyName="" TypeName="" |
TypeSupportsPaging="False" TypeSupportsSorting="False"> |
</cc1:CslaDataSource> |
<telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True" AutoGenerateColumns="False" |
DataSourceID="cdsMain" GridLines="None"> |
<ClientSettings EnableRowHoverStyle="true"> |
</ClientSettings> |
<MasterTableView DataSourceID="cdsMain"> |
<RowIndicatorColumn> |
<HeaderStyle Width="20px"></HeaderStyle> |
</RowIndicatorColumn> |
<ExpandCollapseColumn> |
<HeaderStyle Width="20px"></HeaderStyle> |
</ExpandCollapseColumn> |
<Columns> |
<telerik:GridTemplateColumn UniqueName="TemplateColumn"> |
<HeaderTemplate> |
<table id="Table1" width="100%"> |
<tr> |
<td colspan="2" align="center"> |
<b>Two-Column Header</b> |
</td> |
</tr> |
<tr> |
<td width="50%"> |
<b>Cust Code</b> |
</td> |
<td width="50%"> |
<b>Cust Name</b> |
</td> |
</tr> |
</table> |
</HeaderTemplate> |
<ItemTemplate> |
<table id="Table2" width="100%"> |
<tr> |
<td width="50%"> |
<%# DataBinder.Eval(Container.DataItem, "CUSTCODE")%> |
</td> |
<td width="50%"> |
<%# DataBinder.Eval(Container.DataItem, "CUSTNAME")%> |
</td> |
</tr> |
</table> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
<telerik:GridBoundColumn DataField="CUSTCODE" HeaderText="Cust Code" SortExpression="CUSTCODE" |
UniqueName="CUSTCODE"> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="CUSTNAME" HeaderText="Cust Name" SortExpression="CUSTNAME" |
UniqueName="CUSTNAME"> |
</telerik:GridBoundColumn> |
</Columns> |
</MasterTableView> |
</telerik:RadGrid> |