Hi,
my RadGrid uses a CheckBox for row selection as descrbed in the documentation. When the CheckBox is clicked, the following Codebehind is executed:
((sender as CheckBox).Parent.Parent as GridItem).Selected = (sender as CheckBox).Checked; |
This line has been taken from the example code in the documentation. Now, I want to perform some action on the selected items. Therefore I use the SelectedItems Property but it always returns 0. I already red this thread: http://www.telerik.com/community/forums/thread/b311D-bdcmhk.aspx
and I belive it should be working ... but for some reason it doesn't. It seems to me, as if the selection is not precessed properly so the CheckBox is checked but the SelectedItems collection is never updated. What's wrong with my code?
Best Regards,
Robert