Radio Button Bind issue

  • Thread starter Thread starter jehugaleahsa
  • Start date Start date
J

jehugaleahsa

Hello:

When I clicked on a radio button, it does not get checked. Instead,
the radio button group is cleared.

This occurs because when one radio button loses its check, it sets the
data source. Since the data source is set, the interface is set.

The problem is that the since the interface is set, the click on the
radio button is essentially ignored.

Is there a way to have the check-away set the datasource without the
datasource setting the interface?

Thanks,
Travis
 
Hello:

When I clicked on a radio button, it does not get checked. Instead,
the radio button group is cleared.

This occurs because when one radio button loses its check, it sets the
data source. Since the data source is set, the interface is set.

The problem is that the since the interface is set, the click on the
radio button is essentially ignored.

Is there a way to have the check-away set the datasource without the
datasource setting the interface?

Thanks,
Travis

To answer my own question, I had to set the Binding.ControlUpdateMode
to Never.

While this means I have to do a little more work in other parts of the
code, it prevents changes in the data source from automatically
ignoring my clicks.

It's not really a solution, but it works.

Thanks,
Travis
 
Back
Top