table control multiple selection restriction
how to restrict the table control for selecting not more than two rows of table control.
i used a loop , if the user selects the 3 rows and says enter. it popups a message to select only 2 rows.
and now i don't want to allow the user to select 3rd rows. the user must be able to select 2 rows only and no 3rd row selection and also no popup message.