Hi,
Please help me in providing sample to achieve the following in 13.1.
TemplatedColumn Delete = new TemplatedColumn();
Delete.IsBound = false;Delete.AllowUpdate = AllowUpdate.Yes;Delete.Type = ColumnType.CheckBox;
Expecting your reply at the earliest.
Thanks in advance.
Hello Jeevitha Manickam,
Thank you for posting in our forums!
The equivalent of the TemplatedColumn in the WebDataGrid is the TemplateDataField.
Given the code you provided, we also provide an UnboundCheckBoxField, which may suit your needs better. You can find more information on the available column types in our documentation.
You can also find online samples for the checkbox column and the column templates here:
http://ko.infragistics.com/samples/aspnet/data-grid/checkbox-column
http://ko.infragistics.com/samples/aspnet/data-grid/using-cell-and-column-templates
If you have any further questions or concerns with this, please let me know.
Hi Michael,
I tried using UnboundCheckBoxField. But i dont find the following properties - HeaderTemplate,IsBound,AllowUpdate in it.
Earlier,
TemplatedColumn Delete = new TemplatedColumn();Delete.HeaderTemplate = new HeaderButtonColumnTemplated(ListItemType.Header,DeleteText(),this,Webdatagrid1.ClientID,sUrl);Delete.IsBound = false;Delete.AllowUpdate = AllowUpdate.Yes;
Please let me know what are the corresponding ones for these in UnboundCheckBoxField.
Kindly Clarify.