I'm trying to get RadGrid to conditionally hide or disable a field when it is in edit mode based on the value of another field.
I have been able to get this to work when the grid displays the list of items, but once the grid enters edit mode, the columns display ...
I am using OnItemDataBound to successfully conditionally display during the initial load, but setting the items when the user clicks a row to get it into batch mode is not working.
I'm also trying to set the tab order when I go into edit mode, for some reason, the grid throws the cursor to the 2nd column ...
Note: PValue and CValue and in GridTemplateColumns, as is CardStatus.
I just need to be able to selectively prevent data entry in a column
The ASPX source is below:
Any help / workarounds would be appreciated ... again, "just" need to
prevent editing in the CValue column when the CardStatus value is true
(bit field) ... using batch mode (using another solution isn't an option
Also, the issue with the tab order being messed up is particularly frustrating ... any hints on that one?
(sorry , this is cross-posted elsewhere, but am a bit desperate right now).