GridView Fun
Updated: 21 May 2010 | 1 comment
I am trying to do custom validation on a Gridview and a Checkbox.
What I want to do is to force a user to either :
Select at least one item in the Gridview
OR
Check a checkbox to indicate that the desired item was not in the list
The output variable from the GridView "SelectedSoftware" is null if nothing is selected from the Gridview. When I try to display SelectedSoftware.Count using a Display Content component I get "you cannot perform an array function on a null object".
Is there a way I can determine if nothing is selected in the GridView
discussion Filed Under:
Comments
Variable Exists Rule
Use a variable exists rule to see if there is any value in the selected Variable.
Rob
Would you like to reply?
Login or Register to post your comment.