Which event in checkbox from the grid trigger?

2 posts, 1 answers
  1. Chris
    Chris avatar
    53 posts
    Member since:
    Oct 2012

    Posted 02 Jul 2010 Link to this post

    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
  2. Answer
    Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 05 Jul 2010 Link to this post

    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
Back to Top