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

GridViewSelectColumn selection problem

3 Answers 99 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marcelo
Top achievements
Rank 1
Marcelo asked on 16 Dec 2009, 02:31 AM
I built a simple app with only a grid with four columns (Id, Name, Gender and Active). After I got my app running I clicked on the Id column and the checkbox of the active column, wich is the GridViewSelectColumn, got selected too. Is this a bug or something? Can anyone provide an application that´s working so I can see what the problem is?

WPF version : I´m using the latest trial version of RadControls for WPF
OS: Win 7 Ultimate
Preferred programming language: C#

Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 16 Dec 2009, 07:27 AM
Hi Marcelo,

 Running example can be found here: http://demos.telerik.com/wpf/?GridView/ColumnTypes


Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Marcelo
Top achievements
Rank 1
answered on 16 Dec 2009, 12:13 PM
Hi Vlad.

I saw the demos but they behave exactly the same way my app does. I don´t want the checkbox selected when I don´t check it. The demo example you told me to have a look works differently. Whenever I click on any column which is not a gridviewselectcolumn, the checkbox gets checked and that´s I don´t want. Is it possible to solve this tiny issue or at least answer whether this is a default behavior?
0
Milan
Telerik team
answered on 18 Dec 2009, 08:58 AM
Hello Marcelo,

 

Well, the checkboxes of the select column reflect the selection state of the items, which is natural. You can easily implement the behavior that you've described by creating a custom column or simply creating a GridViewColumn with a custom CellTemplate. 


Kind regards,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Marcelo
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Marcelo
Top achievements
Rank 1
Milan
Telerik team
Share this question
or