Bonnie,
This is the last DataBindings question I promise (I have my fingers crossed just in case <s>, which makes it really difficult to type<s>).
The control of the hour is the radiobutton. I have in the past created a property in my usercontrol (containing a number of radio), the set would check one of the radiobuttons and the get would return a value related to the checked radiobutton. Then I would have a similar (same type) property in my biz object. Then I would do the following to databind the usercontrol:
this.myUserControl.DataBindings.Add("myUserControlProperty", myObject, "myObjectProperty")
This worked great until I late last night noticed some odd behaviour.
So after I was 100% sure that the Panthers would loose :) I created a test app: a usercontrol with 7 radiobuttons, a class with 7 bool properties. The usercontrol also has a method called DataBind where I add a databinding between each of the radiobuttons and the appropriate object property. I called the DataBind method from the form's load event. I guess I expected it to work, but I wasn't surprised when it didnt work.
So any hints for my radiobuttin "group" data binding?
Thanks,
Einar
PS. Anyone can reply I just figured Bonnie would reply first so I might as well create the message to her.
UPDATE: I just discovered that my radio button group binding issue was related to something else. I am not exacly sure what, but I am sure it is something else. Any who I would still like to know how ya'll bind a radiobutton group.
Semper ubi sub ubi.