﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » DevExpress RadioGroup not Binding</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 13:07:44 GMT</lastBuildDate><ttl>20</ttl><item><title>DevExpress RadioGroup not Binding</title><link>http://forum.strataframe.net/FindPost1720.aspx</link><description>I'm sure I'm missing something small here, but the behavior of the Inherited RadioGroup control from DevEx is not binding to my BO like i expected it would.&amp;nbsp; I have placed several on my form with a grid and several other controls which bind to the BO.&amp;nbsp; As I select a row in the grid, I want my controls to populate.&amp;nbsp; This is working perfectly for everything except the radiogroup controls, so it is specific to this type of control.&amp;nbsp; I have my BindingField and BO set correctly.&amp;nbsp; If I set the BindingProperty to SelectedIndex, it populates and changes like I want it to.&amp;nbsp; However, when I edit that record and change the radio group selection it doesn't keep the change.&amp;nbsp; It lets me select a different radio button, but when I click out of the radio group it reverts to the original value from the BO.&amp;nbsp; I changed BindingUpdateMode to Never and it took this behavior away, but I want it to update the BO when I make a change.&amp;nbsp; So what am I missing?&amp;nbsp;</description><pubDate>Wed, 05 Jul 2006 11:22:40 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: DevExpress RadioGroup not Binding</title><link>http://forum.strataframe.net/FindPost1728.aspx</link><description>Andria,&lt;/P&gt;&lt;P&gt;That makes sense.&amp;nbsp; The&amp;nbsp;radio group&amp;nbsp;is trying to bind to the enum value instead of an integer.&amp;nbsp; What you may want to do, so you can keep your customization, is create a custom property that returns the integer value which you use to bind to the radio and leave the original property alone with the customization.&amp;nbsp; This way you can have the best of both worlds.</description><pubDate>Wed, 05 Jul 2006 11:22:40 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DevExpress RadioGroup not Binding</title><link>http://forum.strataframe.net/FindPost1727.aspx</link><description>Yep, yours worked...so I figured it had to be something to do with mine.&amp;nbsp; After looking over it some more I realized that the fields I was binding the radio groups to were all customized as Enum types.&amp;nbsp;&amp;nbsp;I cleared the customization and that fixed the problem.&amp;nbsp; Not sure why this would make a difference, but it works now so I guess it's fine.&amp;nbsp; Thanks for the help!</description><pubDate>Wed, 05 Jul 2006 10:37:36 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: DevExpress RadioGroup not Binding</title><link>http://forum.strataframe.net/FindPost1726.aspx</link><description>Andria,&lt;/P&gt;&lt;P&gt;I created a sample project and the binding appeared to work just fine.&amp;nbsp; I have attached the sample application I created to test the control so you can see how I am binding to the radio group.&amp;nbsp; Please let me know if there is something I am missing on how you are attempting to interact with the control.&amp;nbsp; Thanks.</description><pubDate>Wed, 05 Jul 2006 09:53:25 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: DevExpress RadioGroup not Binding</title><link>http://forum.strataframe.net/FindPost1721.aspx</link><description>I will take a look at it.&amp;nbsp; Thanks.</description><pubDate>Tue, 04 Jul 2006 22:13:56 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>