I have several controls such as radio buttons within a DataTemplate I set as the EditTemplate of a RadDataForm as shown in the "Customized Fields" page code snippet. I'm trying to access the controls of that DataTemplate in code-behind in a similar way as it is supposed to be possible in a SL toolkit DataForm control:
I also tried by accessing the 'Resources' member:
but when the line where the font weight is changed is reached, I get an exception because currentRadioButton is always null. Is there any way to access the controls within a DataTemplate in code-behind to change dynamically their properties?