J
Jeremy Chapman
At run time I've added a TemplateColumn to a DataGrid.
Now I'm trying to add a Table control to the TemplateColumns's
HeaderTemplate and ItemTemplate.
In essence, I'm trying to do in code, the equilavent of this html:
<asp:TemplateColumn>
<HeaderTemplate>
<asp:Table>
<asp:TableRow>
<asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
</asp:TableRow>
<asp:Table>
</HeaderTemplate>
<ItemTemplate>
<asp:Table>
<asp:TableRow>
<asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
</asp:TableRow>
<asp:Table>
</ItemTemplate>
</asp:TemplateColumn>
Now I'm trying to add a Table control to the TemplateColumns's
HeaderTemplate and ItemTemplate.
In essence, I'm trying to do in code, the equilavent of this html:
<asp:TemplateColumn>
<HeaderTemplate>
<asp:Table>
<asp:TableRow>
<asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
</asp:TableRow>
<asp:Table>
</HeaderTemplate>
<ItemTemplate>
<asp:Table>
<asp:TableRow>
<asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
</asp:TableRow>
<asp:Table>
</ItemTemplate>
</asp:TemplateColumn>