Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Buttons, RadioButton, CheckBox, etc > Checkbox / RadioButton check not immediate

Answered Checkbox / RadioButton check not immediate

Feed from this thread
  • Brian Brian's avatar

    Posted on Nov 2, 2011 (permalink)

    I have noticed that checking a checkbox does not immediately update the datasource.  It isn't until I click on another control that the databinding occurs.

    This seems inconsistent with how the standard winforms controls behave.

    What is the most normal way of duplicating the standard behavior?

    Reply

  • Answer Peter Peter admin's avatar

    Posted on Nov 4, 2011 (permalink)

    Hello Brian,

    By default .NET Simple data binding updates the bound values on OnValidatng event.
    You can set .NET Simple data binding to update the values on OnPropertyChanged event:
    For example:
    this.radCheckBox1.DataBindings.Add("IsChecked", this.myObject, "MyProperty", true, DataSourceUpdateMode.OnPropertyChanged);

    I hope this helps.

    Best wishes,
    Peter
    the Telerik team

    Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Buttons, RadioButton, CheckBox, etc > Checkbox / RadioButton check not immediate
Related resources for "Checkbox / RadioButton check not immediate"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]