Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

GridView Fun

Updated: 21 May 2010 | 1 comment
Bondo's picture
0 0 Votes
Login to vote

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

Rob Moore's picture
16
Nov
2009
0 Votes 0
Login to vote

Variable Exists Rule

Use a variable exists rule to see if there is any value in the selected Variable.

Rob