How to get the disabled checked rows

4 replies. Last post: October 11, 2011 4:12 AM by Madhavan G
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Madhavan GMember

Hi,

I am rendering Hierarchical table structure in Webgrid.

I am setting the e.Row.Cells[0].ForceNoEdit = true; for some rows based on some condition.

I have a scenario like i have two childs rows for a parent row.the check box for the parent row is in disabled mode and the check box for the child can be checked.

So if i check the child rows the parent of the child also will be getting chekced.But it will be in disabled mode.

The problem i am facing is while saving the rows i want to get all the checked rows buy using the code grid.RootTable.GetCheckedRows().Since the parent row is in disabled mode the GetCheckedRows() is returning count as 0

How to get the disabled checked rows?


All times are GMT -5. The time now is 10:34 AM.
Previous Next