Hello,
Frequently Asked Question: How to enable individual checkbox cells in WebGrid based on selection changes in the other cell.
Solution:
One possible approach is to use SelectedCellsChange on server side. In this event based on value of the current cell it is possible to enable the adjacent cell.
I have attached sample that demonstrates the above functionality. Run the sample on your machine and uncheck checkbox in “flag1” column. It will cause post back and enable the editing for adjacent cell of “flag2” column. I have tested the sample using Windows 7 and version the 10.3.20103.2082 of Net Advantage for .NET’s toolset, Visual Studio 2010, C#.NET.
Hope this helps.
Thanks,
Bhadresh