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

Which event in checkbox from the grid trigger?

1 Answer 16 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 02 Jul 2010, 09:56 PM
Hi,

           Scenario:
                           Please check the code below:
      

 

 

 

<telerik:GridViewDataColumn DataMemberBinding="{Binding IsDefaultForeCast}" IsReadOnly="False" Header="Default" >

 

 

 

 

<telerik:GridViewDataColumn.CellStyle>

 

 

 

 

<Style TargetType="telerik:GridViewCell">

 

 

 

 

<Setter Property="HorizontalContentAlignment" Value="Center"/>

 

 

 

 

</Style>

 

 

 

 

</telerik:GridViewDataColumn.CellStyle>

 

 

 

 

</telerik:GridViewDataColumn>

 



                        This grid shows a checkbox. And this fieldname IsDefaultForeCast and it's datatype is a bit from SQL Server database.

            Problem:
                          When the user clicks on it ,  I have to show a messagbox to prompt the user if he/she really wants to change it.
               What event procedure  do I have to add on this xaml code above ?  Because there's NO CLICK  event  when I do the intellisense.

          Note: 
                     This field shows a checkbox on the grid. Because the datatype is a bit from the table in SQL Server.

      
      Please let me know..

Thanks,
Chris

1 Answer, 1 is accepted

Sort by
0
Accepted
Veselin Vasilev
Telerik team
answered on 05 Jul 2010, 10:30 AM
Hi Chris,

Please find attached a sample project.

Hope you will find it useful.

Greetings,
Veskoni
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
Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or