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

BindingListCollectionView Position not updating

2 Answers 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Burke
Top achievements
Rank 1
Burke asked on 20 May 2009, 04:20 PM
I am binding a GridView to a BindingListCollectionView.  This is being filled by a Linq Query.

I am displaying a GridView of a few fields and a set of text boxes that also display these fields and several others.  The Idea is for GridView to provide Sorting and Filtering on the key fields and make the rest of the fields visible when the record is displayed.

This works great if I navigate the GridView with the keyboard, but as soon as I use the mouse to select the record instead of the keyboard aarow keys, the position in the BindingListCollectionView is not updated.

To recap, the BindingListCollectionView position is updated when the grid is navigated with the keyboard arrow keys, but not when rows are selected with the mouse.

Any Ideas on how to work around this problem?

2 Answers, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 22 May 2009, 07:46 PM
Hello Burke,

I cannot reproduce the reported issue with the 2009_Q1_SP1 release. I'm attaching my test application which according to me correctly changes BindingListCollectionView position both via keyboard and mouse.
Can you provide me with some additional information what else I have to do in order to simulate the problem?

Regards,
Nedyalko Nikolov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
aavadesh
Top achievements
Rank 1
answered on 23 Jan 2012, 08:46 AM

Dear Nedyalko Nikolov,

Further to this sample you have provide can you please show us how can we use the CustomFilter Property of BindingListCollectionView.

For example in provided sample i have extended below code by it gives me error.

 

BindingListCollectionView dataSource = this.CreateBindingListCollectionView();

 

dataSource.CustomFilter ="Age = '30' AND FirstName = 'John'";

I provide the filter as per rules of sql where clause which acceptable to customfilter property of BindingListCollectionView.

Hope for good response.

Thanks in advance.

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