I had created a dynamic Webdatagrid with dynamic Template column containing asp.net checkbox.
In design mode only Webdatagrid defination is there ie no column is defined. Columns are created dynamically at runtime from dataset.
Initially, everything is displayed correctly (in View Mode). But when I click on Edit button, Unchecked checkboxes comes rather then checked ie checkboxes doesnot retain its value true. Wondering what can be the issue? Even I had tried in InitializeRow event to set checkbox(inside Template) value, but things didn't work.
Hello Briendra,
Thank you for contacting Infragistics!
I recommend you use one of the grid’s built in checkbox columns. If you want to bind the checkbox to data from your datasouce you can use the bound checkbox:
http://www.infragistics.com/samples/aspnet/data-grid/checkbox-column
If it isn’t bound to data you will want to use the unbound checkbox column:
http://www.infragistics.com/samples/aspnet/data-grid/unbound-checkbox-column
Thanks for replying.
So, is it not possible with asp's checkbox inside template column?