checkbox eventhandler

2 posts, 0 answers
  1. David
    David avatar
    3 posts
    Member since:
    Feb 2008

    Posted 02 Apr 2008 Link to this post

    Hello,

    just a information for telerik. As far as we could see their is no event for the radCheckBox for WinForms for the Event checked or ischecked. So we had to use the normal win checkbox.
  2. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 02 Apr 2008 Link to this post

    Hello David,

    Thank you for writing.

    To handle the event of RadCheckBox state change, you could use the ToggleStateChanged or ToggleStateChanging events.

    Please review the code-block provided below as reference:

    private void radCheckBox1_ToggleStateChanged(object sender, StateChangedEventArgs args)  
    {  
        if (this.radCheckBox1.IsChecked)  
        {  
            MessageBox.Show("Checked!");  
        }  
        else 
        {  
            MessageBox.Show("Unchecked!");  
        }  

    I hope this was helpful. If you have other questions, do not hesitate to contact me again. 

    Sincerely yours,
    Martin Vasilev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top