Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
675
How can I have UltraCheckEditor update bound data source right after state change?
posted

It looks that the UltraCheckEditor updates its bound data source after the focus has left the checkBox itself. What do I have to do so that without leaving the control, I can update the bound data source just by changing the Checked state of the checkBox control?

Thanks.

  • 469350
    Suggested Answer
    Offline posted

    Hi,

    The UltraCheckEditor has no control over this. When the data source gets updated is determined by the BindingManager.

    I think you can acheive what you want with something like this:

                Binding binding = this.ultraCheckEditor1.DataBindings.Add("CheckedValue", dt1, "Boolean 1");           
                binding.DataSourceUpdateMode = DataSourceUpdateMode.OnPropertyChanged;