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

GridViewCheckBox Column issue

4 Answers 72 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dameion Bryan
Top achievements
Rank 1
Dameion Bryan asked on 25 Mar 2011, 04:17 PM
After reading a couple posts on here I was able to figure out how to eliminate the need for multiple clicks to check/uncheck a GridViewCheckBox using "EditTriggers" and "AutoSelectOnEdit".  Now my problem is when I check or uncheck a checkbox in a RadGridView it doesn't fire the SelectedItem event for the RadGridView.  Can anyone tell me how to accomplish this?  I need the SelectedItem to be fired so I know which Row has been selected in the RadGridView.

4 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 27 Mar 2011, 06:09 PM
Hello Dameion,

 
The better solution is to use GridViewSelectColumn. You may use SelectedItem and SelectedItems to achieve your goal. Just cast it to your object type and access any property you need.

Greetings,
Vanya Pavlova
the Telerik team
0
Vuyiswa
Top achievements
Rank 2
answered on 30 Mar 2011, 06:47 PM
Thank you Vanya for your reply

The Checkbox i have there i bind it from an object with a Boolean value. So if the checkbox is unchecked, i will need to collect that value when i do the updates. can GridViewSelectColumn

<
telerik:GridViewSelectColumn>

be binded ?

Thanks

0
Vanya Pavlova
Telerik team
answered on 31 Mar 2011, 07:15 AM
Hi Vuyiswa,

 

I have already replied to your questions in the following forum thread.


Kind regards,
Vanya Pavlova
the Telerik team
0
Vanya Pavlova
Telerik team
answered on 31 Mar 2011, 07:50 AM
Hello Vuyiswa,

 
It seems that the provided link is broken please use the following one. Also you may also review our online documentation for further information.


If you need any further assistance please let me know.

It seems that the link in my previous post was broken. Here is the correct one


Kind regards,
Vanya Pavlova
the Telerik team
Tags
GridView
Asked by
Dameion Bryan
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Vuyiswa
Top achievements
Rank 2
Share this question
or