Hi
I am working on a grid that allows for in-line editting and I'm using edit templates.
I have a couple of columns that are inter-related.
The first column allows the user to pick from one of three choices when in edit mode,
No Sort, Sort Ascending, or Sort Descending. I am using a ComboBox in this column's ItemTemplate.
The second column allows the user to determine the sort precidence, 1, 2, 3, etc.
For this column I am using a NumericTextBox with SpinUp and SpinDown buttons.
If the first column has 'No Sort' as its value I would like to prevent the Edit Control for the second
column from appearing when I put the row into edit mode.
I have managed to create some client-side code that hides and shows the NumericTextBox and its spin buttons
and I invoke this code on a selection change in the first column's ComboBox. This works acceptably.
However I have been unable to come up with a method for not showing the NumericEditControl when
I put the row into edit mode.
Any ideas on how to do this with client, or server side could wold be a great help.
THX
I am working on a grid that allows for in-line editting and I'm using edit templates.
I have a couple of columns that are inter-related.
The first column allows the user to pick from one of three choices when in edit mode,
No Sort, Sort Ascending, or Sort Descending. I am using a ComboBox in this column's ItemTemplate.
The second column allows the user to determine the sort precidence, 1, 2, 3, etc.
For this column I am using a NumericTextBox with SpinUp and SpinDown buttons.
If the first column has 'No Sort' as its value I would like to prevent the Edit Control for the second
column from appearing when I put the row into edit mode.
I have managed to create some client-side code that hides and shows the NumericTextBox and its spin buttons
and I invoke this code on a selection change in the first column's ComboBox. This works acceptably.
However I have been unable to come up with a method for not showing the NumericEditControl when
I put the row into edit mode.
Any ideas on how to do this with client, or server side could wold be a great help.
THX