Hi there,
I am trying to create a several columns in a webdatagrid but in runtime, I have created the normal columns as felds, but when i try to assign the progress bar to the template column i am getting an error like the following. "You cannot convert webprogressbar to a ITemplate.
Is there an example doing that, because all the examples of it, are in the design time.
Thanks in advance.
Hello,
To create a template column in the code behind you need to create a class the implements ITemplate interface and set an instance of it to the ItemTemplate property of the column.
Here is the link which walks through you how to use Item template in the runtime and design time as well
http://help.infragistics.com/NetAdvantage/ASPNET/2010.3/CLR4.0/?page=WebDataGrid_Using_Item_Template.html
Please let me know if I can provide any further assistance regarding this matter.