StrataFrame Forum
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
RadioButton is missing IBusinessBindable
http://forum.strataframe.net/Topic14062.aspx
By Guillermo Vilas
-
2/5/2008
Do I need to add this implementation by my self sub classing the radiobutton control?
By Ivan George Borges
-
2/6/2008
Hi Guillermo.
It might not be what you want, but have you tried the RadioButtonGroup?
By Trent L. Taylor
-
2/6/2008
Ivan is correct, you will want to use the RadioGroup instead of the Radio button. The RadioGroup has the implementation and is to what you will want to bind your BO.
By Guillermo Vilas
-
2/7/2008
Thanks Ivan and Trent, but for the scenario I´m working on it doesn´t work with the radio button group.
I´m attaching the UI. I have a field in the database (IsTaxable) but instead of having the checkbox I wanted to use two radiobuttons:
"gravable" = taxable
"no gravable" = non taxable
With the radiobutton group, when editing the row it always check the taxable item no matter I´m editing the non taxable one. Maybe is something I´m doing wrong but for now I found a work around managing radiobutton checked state at code side.
By Trent L. Taylor
-
2/7/2008
You're welcome to put a sample out here and I can correct what you might be doing here...but if you have it bound, and you specify a different value for each option within the group, then you shouldn't have any issues.