TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > C#(C Sharp)

Notices

Reply
 
Thread Tools Display Modes
Old 19-10-2007, 10:32 PM   #1
jehugaleahsa@gmail.com
Guest
 
Posts: n/a
Radio Button Bind issue

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

  Reply With Quote
Old 20-10-2007, 01:32 AM   #2
jehugaleahsa@gmail.com
Guest
 
Posts: n/a
Re: Radio Button Bind issue

On Oct 19, 8:59 am, "jehugalea...@gmail.com" <jehugalea...@gmail.com>
wrote:
> 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

  Reply With Quote
Reply

Thread Tools
Display Modes




New To Site? Need Help?

All times are GMT +5.5. The time now is 02:29 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional