Maven4Champ
Technical User
- Jun 16, 2004
- 154
All,
I have a near-complete solution built to manage our application roles and responsibilities. In the Grid View, I run a validation on what is checked and if two roles that should not be associated with a single person (segregation of duties) then it highlights the row in red, disables the submit button, and displays a warning.
Now, if the user sees this warning and unchecks the box and hits the validation button again, it yields the same result - same row is highlighted red with the same warning.
It's as if unchecking the box doesn't persist/remember in the Grid View and my Validation sub doesn't pick it up.
I am already using a statement of "If CheckBox.Checked = True Then "do stuff....." but that logic doesn't persist all the way though apparently.
By the way, the validation does a post-back so I think I need to account for that in the logic - any advice is appreciated!
I have a near-complete solution built to manage our application roles and responsibilities. In the Grid View, I run a validation on what is checked and if two roles that should not be associated with a single person (segregation of duties) then it highlights the row in red, disables the submit button, and displays a warning.
Now, if the user sees this warning and unchecks the box and hits the validation button again, it yields the same result - same row is highlighted red with the same warning.
It's as if unchecking the box doesn't persist/remember in the Grid View and my Validation sub doesn't pick it up.
I am already using a statement of "If CheckBox.Checked = True Then "do stuff....." but that logic doesn't persist all the way though apparently.
By the way, the validation does a post-back so I think I need to account for that in the logic - any advice is appreciated!