Greetings,
I think the thread you read already gave you the correct way ... its only a matter of casting the template column correctly then set the
EditItemTemplate
property to
ItemTemplate
property ... here is the code:
TemplateField colmun = this.GridView1.Columns[0] as TemplateField;<br />colmun.EditItemTemplate = colmun.ItemTemplate;