Hi guys,
i have the following code in Datagrid:
<asp:TemplateColumn HeaderText="Delete"
headerImageUrl=../../Images/i.p.delete.gif">
<ItemTemplate>
<asp:CheckBox ID=Chk1 Enabled="True" runat="server" />
</ItemTemplate>
</asp:TemplateColumn>
when i run the page, i get the following error:
System.Web.UI.WebControls.DataGridColumnCollection must have items of type
'System.Web.UI.WebControls.DataGridColumn'. 'ItemTemplate' is of type
'System.Web.UI.HtmlControls.HtmlGenericControl'.
Can someone tell me whats wrong and how to fix it?
Thanks
Manny