i am not found ig:TemplateDataField <asp:CheckBox ID="CheckBox2" runat="server" ClientIDMode="AutoID" />
value =1 or 0 or true or false.
Please help me .
foreach (GridRecord row in listWebGrid.Rows){
string itm = row.Items[0].text;
}
please help as soon as possible.
thanks
i want to check server side to save value in db
The following threads contain most of the possible case scenarios with the use of CheckBox fields in WDG. Please notice, some of the forum threads have samples attachments available as well:
- Capture checkbox checkedchange event from webdatagrid template coloumn- Checkbox in WebDataGrid- Or using ig:BoundCheckBoxField as for example here:http://www.infragistics.com/samples/aspnet/data-grid/checkbox-column- In case you are using EditTemplate: How get value of checkbox from Edit Template
-What is more, in case you could use the unbound column in you app, you could consider the use of checkboxes with Boolean values as implemented here:http://www.infragistics.com/samples/aspnet/data-grid/unbound-checkbox-column
I believe the above will help you achieve your requirements.