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

Cell Template - Checkbox Event Trigger Issue.

4 Answers 94 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Karthikeyan
Top achievements
Rank 1
Karthikeyan asked on 19 Dec 2011, 07:59 AM
Hi,

I've tried to create the column with checkbox. While checking the before column need to edit, like uncheck we need recover the original value.
For this, I've triend with both approach given by you people.

1. By using <GridViewCheckBoxColumn> after setting  EditTriggers="CellClick" and AutoSelectOnEdit="True", its not working. I cant check or uncheck the checkbox. So I'm using the following way,

2.                      <telerik:GridViewDataColumn x:Name="EditCheckboxColumn" Header="Edit" UniqueName="Edit" IsReadOnly="True">
                                <telerik:GridViewDataColumn.CellTemplate>
                                    <DataTemplate>
                                        <CheckBox IsChecked="{Binding IsActive, Mode=TwoWay}" Unchecked="CheckBox_Unchecked" />
                                    </DataTemplate>
                                </telerik:GridViewDataColumn.CellTemplate>
                                <telerik:GridViewDataColumn.CellEditTemplate>
                                    <DataTemplate>
                                        <CheckBox IsChecked="{Binding IsActive, Mode=TwoWay}" />
                                    </DataTemplate>
                                </telerik:GridViewDataColumn.CellEditTemplate>
                            </telerik:GridViewDataColumn>

Here In the Cell Template - declared checkbox has a event as "UnChecked". But In the code behind its NOT TRIGGERING.

Please help/guide me to do the requirement or do let me know if i'm missing something.

Thanks in advance,
Karthikeyan Manickam.

4 Answers, 1 is accepted

Sort by
0
Karthikeyan
Top achievements
Rank 1
answered on 22 Dec 2011, 02:59 AM
Hi,

Is there anybody there to reply my query.
We also 10 no of license holders from you guys.
Please support us properly.

Thanks,
Karthikeyan Manickam.
0
Vlad
Telerik team
answered on 22 Dec 2011, 08:22 AM
Hello,

 According to your account you do not have any licence. You should ask the licence holder to add you as a licence developer and you will be able to use our support system not only our forums which are available for everyone. 

To your question: I'm not sure how it is related to RadGridView. Do you see any difference in your case between RadGridView and the standard Silverlight DataGrid when you have CheckBox in the column CellTemplate? 

Greetings,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Karthikeyan
Top achievements
Rank 1
answered on 22 Dec 2011, 11:57 AM
Hello Vlad,

As I'm working in the customer place, if possible sure I'll ask the admin to add my name to the license developer.

Reg question, As we're holding the RadControls. We didnt use the Silverlight Datagrid, insted that we're using RadGridView.
As well the sample and document, telerik mentioned like follows,

<CheckBox IsChecked="{Binding IsActive}" />

I've tried to trigger the event from that checkbox, but its not working.
Is there anyway to trigger the unchecked event from this checkbox.?

Please guide me, ASAP.

Thanks,
Karthikeyan Manickam.
0
Vlad
Telerik team
answered on 22 Dec 2011, 12:15 PM
Hello,

As I said in my previous reply you should ask your licence holder to add you as licence developer. As to the CheckBox my question was if you see anything different in RadGridView compared to Silverlight DataGrid.

Let us know!

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Karthikeyan
Top achievements
Rank 1
Answers by
Karthikeyan
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or