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

Can't select first record in GridView using QueryableCollectionView

1 Answer 35 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Evgeny
Top achievements
Rank 1
Evgeny asked on 12 May 2012, 12:15 PM
you can get such behaviour, doing following steps:
1. create QueryableCollectionView and filling it any data. Collection have to contain more than one record.
2. Bind this QueryableCollectionView to GridView.
3. Call MoveCurrentToPosition(0) for QueryableCollectionView.

Item in GridView will not be selected, if CurrentPosition for QueryableCollectionView was 0 or -1. But, I think, first record has to be selected.

How can I solve this problem?

1 Answer, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 14 May 2012, 08:29 AM
Hi,

I've tried to simulate the reported issue, unfortunately to no avail. I'm attaching my sample application for a reference. Could you please elaborate a little bit how to reproduce the issue? When do you call MoveCurrentToPosition() method?
Thank you in advance.

All the best,
Nedyalko Nikolov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Evgeny
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Share this question
or