C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Check Box control hosted in a C1 Silverlight DataGrid unchecks on column sort or filter

rated by 0 users
This post has 1 Reply | 0 Followers

Top 500 Contributor
Posts 21
CTIMike Posted: Wed, May 13 2009 7:36 PM

I have a C1 Silverlight DataGrid that hosts a Check Box control that allows the user to select rows. When I sort on a column I lose the values in the Check Box controls.

Any ideas?

Top 10 Contributor
Posts 1,144
C1_LeoV replied on Wed, May 13 2009 7:45 PM
How are you implementing it?
Have you used our C1DataGrid_CustomColumn sample as a starting point?

You can see an online demo here - Data Visualization - DataGrid - Custom Columns.
The source code is your [installation folder]\Samples\C1DataGrid_CustomColumns.

Seems to me that you are changing the value in the checkbox but not in the underling object bound to it. Please be sure you have TwoWay Binding in the column.

If it doesn't help, can you post a simple project showing the problem?

Regards

Follow me: Twitter.com/leovernazza/

Page 1 of 1 (2 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2009 ComponentOne LLC All Rights Reserved.