Summary:
Well, first off...thanks for the compliment. Now, let's cut to the chase. What you are asking, adding a TemplateColumn to an embedded DataGrid, can certainly be done. We are going to take a slightly different approach for this however. In this tutorial I will show you how to embed a DataGrid in a DataGrid, with a TemplateColumn in the embedded DataGrid. The design for the embedded DataGrid will actually be done in the Web Form, and we will call a method in our code behind class to populate the embedded DataGrid. |