Is there a way to show a validation message on attempting to expand or collapse?
What I have is a grid with an editable NumericTextBox in the ItemTemplate of one of the columns. It is the only value that is editable on the given row of the grid but it is editable immediately on viewing the grid. I have a top level Save button such that when clicked it saves all of the values entered in any of the textboxes on the grid.
However, these same rows can have child records. The catch is that if there is no value greater than zero entered in the parent row's NumericTextBox, the user shouldn't be able to expand the child rows.
What I have is a grid with an editable NumericTextBox in the ItemTemplate of one of the columns. It is the only value that is editable on the given row of the grid but it is editable immediately on viewing the grid. I have a top level Save button such that when clicked it saves all of the values entered in any of the textboxes on the grid.
However, these same rows can have child records. The catch is that if there is no value greater than zero entered in the parent row's NumericTextBox, the user shouldn't be able to expand the child rows.