Hi everyone,
I have this piece of code :
My problem is I can't select an Item by clicking in the table of the TemplateColumn. I have to click in the row just near the table. If I test without table in the template everything works well.
Is there any workaround ?
Is it possible to use a table in a GridtemplateColumn and keep active selection on row click?
Thanks,
Sebastien.
I have this piece of code :
| <telerik:RadGrid ID="gridViewCtrl" runat="server" AutoGenerateColumns="false" Skin="Default"> |
| <MasterTableView> |
| <Columns> |
| <telerik:GridTemplateColumn HeaderText="Product Name" SortExpression="Name" GroupByExpression="Name Group by Name"> |
| <ItemTemplate> |
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
| <tr> |
| <td> |
| <img src="../images/i_product.png" alt="" /> |
| </td> |
| <td> |
| <asp:Label ID="lbProductName" runat="server" /> |
| </td> |
| </tr> |
| </table> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| </Columns> |
| </MasterTableView> |
| <ClientSettings EnablePostBackOnRowClick="true"> |
| <Selecting AllowRowSelect="True" /> |
| </ClientSettings> |
| </telerik:RadGrid> |
My problem is I can't select an Item by clicking in the table of the TemplateColumn. I have to click in the row just near the table. If I test without table in the template everything works well.
Is there any workaround ?
Is it possible to use a table in a GridtemplateColumn and keep active selection on row click?
Thanks,
Sebastien.