Click here to Skip to main content
15,881,881 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I need to know the selected rows' count when I check the check box in the Radgrid.
Please provide a good way.

regards,
shefeek
Posted
Updated 22-Aug-11 0:49am
v2

1 solution

You can use this code to get the selected rows count in client side :
$find("<%= RadGrid1.ClientID %>").get_masterTableView().get_dataItems().length;


Hope this helps.
All the best.
 
Share this answer
 
v2
Comments
shefeekcm 23-Aug-11 5:47am    
it gives only the total count.i need to know the checked rows count.
shefeekcm 25-Aug-11 6:33am    
len_grid2 = $find("<%= RadGrid1.ClientID %>").get_masterTableView().get_selectedItems().length; is correct

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900