This is a migrated thread and some comments may be shown as answers.

[Solved] Error GridViewSelectColumn auto uncheck when Scroll

3 Answers 143 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
balv
Top achievements
Rank 1
balv asked on 11 Feb 2011, 09:27 AM
Hi All,
I have a project using Q3 2010 SP1. when I use a RadGridView with GridViewSelectColumn to selection rows.If the data is less than height of GridView(has no vertical scrollbar) then the select column works well. But If the data is more than height,After select the first row,I scroll to bottom and select the checkbox column in the bottom page, now I scroll back to top of the page then the checkbox of first row is auto unchecked. How can I fix this bug?
Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 11 Feb 2011, 09:34 AM
Hi balv,

I have tested the scenario you described but I was not able to encounter the behavior you reported. May you provide a bit more details on your settings ? Do you set the SelectionUnit or SelectionMode properties of the grid ?
 

Greetings,
Maya
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
balv
Top achievements
Rank 1
answered on 11 Feb 2011, 11:06 AM
Yes, I do not set SelectionUnit property
SelectionMode="Extended"
ScrollMode="RealTime"
...
ItemSource is loaded by a ViewModel
Morever, when I transform to next page and back then all checkbox(ischecked=true) auto is cleared
Thanks
0
Maya
Telerik team
answered on 11 Feb 2011, 12:42 PM
Hello,

I am still not able to reproduce the issue with the un-checking of an already checked CheckBox on scrolling. I am sending you the sample project I used for testing the case. Please take a look at it and let me know in case of any misunderstandings.
Considering the clearance of the selected items on moving through pages, this is the expected behavior since once you move on the another page, the SelectedItems collection is cleared.

Best wishes,
Maya
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
GridView
Asked by
balv
Top achievements
Rank 1
Answers by
Maya
Telerik team
balv
Top achievements
Rank 1
Share this question
or