Radio Button Bind issue

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
 
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

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top