I have a datagrid with multipleSelection=true.

I just want to trap how many options the user has selected.

How can I trap this.

I want the users to selects 10 options. If they don't then a message box will appear asking them to select 10 options.

Thank you in advance