I want to retrieve the Checkbox object from each column of a webgrid. I don't want to set or get the "state" of the control. Just want the object so I can uncheck it and disable it. Can't seem to find the right methods to get the control. Was working with this...
foreach (UltraGridRow row in this.uwgEmailServers.Rows){ CheckBox cb = (CheckBox) (row.Cells[0]. ????? cb.Checked = false; cb.Enabled = false;}
Any help would be appreciated. Thanks
Why not just use:
row.Cells[0].AllowEditing=false;row.Cells[0].Value=false;
Ya...why not? I thought I needed a "handle" to the checkbox itself I don't. Thanks.