This question is locked. New answers and comments are not allowed.
I have a grid with editors that I would like to disable in edit mode based on the values of fields in the model the grid is bound to. Let's say, for arguments sake my model contains the following fields:
IsUser1Modifyable (bool)
IsUser2Modifyable (bool)
UserName1 (string)
UserName2 (string)
If IsUser1Modifyable is false I don't want the editor associated with UserName1 to be enabled. The same with UserName2.
What would be the best way to achieve this?
IsUser1Modifyable (bool)
IsUser2Modifyable (bool)
UserName1 (string)
UserName2 (string)
If IsUser1Modifyable is false I don't want the editor associated with UserName1 to be enabled. The same with UserName2.
What would be the best way to achieve this?