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

How to bind the GridViewSelectColumn to a property?

2 Answers 702 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Wagner
Top achievements
Rank 1
Wagner asked on 16 Jun 2010, 11:04 AM
Hi,

I'm using MVVM and I want to control on the ViewModel which rows are selected.  To accomplish that I'm trying to bind the GridViewSelectColumn to a property, but that doesn't seem to work because it doesn't accept DataMemberBinding.  How can I accomplish that?

            <telerik:RadGridView.Columns> 
                <telerik:GridViewSelectColumn DataMemberBinding=""/> <!-- not valid -->

Thanks in advance,

Wagner

2 Answers, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 16 Jun 2010, 11:28 AM
Hello wdosanjos,

 You might want to take a look at this blog post.

All the best,
Yavor Georgiev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Lee Francis
Top achievements
Rank 1
answered on 24 Jan 2013, 08:53 AM
I have the same challenge as the original poster, but I see that this is an old posting from 2010...

Are there better alternatives to solve this in 2013 or is this still the recommended way to do it?

Regards
Lee Francis
Tags
GridView
Asked by
Wagner
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Lee Francis
Top achievements
Rank 1
Share this question
or