L
Lubos
Hi,
I'd like to create TemplateColumn at runtime.
I want to add an Control (like Button,..) to this column.
Is there any example how to this this?
Thanks in advance,
Lubos
PS:
I can do this with the BountColumn:
BoundColumn bc2 = new BoundColumn();
bc2.DataField = "product_nm";
bc2.HeaderText = "Number";
myDataGrid.Columns.Add(bc2);
I'd like to create TemplateColumn at runtime.
I want to add an Control (like Button,..) to this column.
Is there any example how to this this?
Thanks in advance,
Lubos
PS:
I can do this with the BountColumn:
BoundColumn bc2 = new BoundColumn();
bc2.DataField = "product_nm";
bc2.HeaderText = "Number";
myDataGrid.Columns.Add(bc2);