I am databinding but nothing appears on the screen when I bring it up... I am using caliburn.burn + the lastest build.
2 Answers, 1 is accepted
0
Deyan
Telerik team
answered on 01 Nov 2012, 09:52 AM
Hello Morgan,
Thanks for writing.
Can you please share some further details on your scenario? What exactly do you mean by 'databinding'? If you are binding the CurrentItem property in XAML to an object - your DataForm should be working fine, as we also have similar scenarios on our side that work as expected.
Can you please share a sample that we can use to debug your scenario and see how we can help?
Sounds like you are having the same issue I had...A basic example giving the control a class, but nothing displays on the form. I opened a ticket and received a response...There is a property reference missing in the 'Getting Started' example. You need to set the EditorCreationmode = CreateByDefault.
The EditorCreationMode property
The EditorCreationMode property is used to define how
RadDataForm creates editors for the public properties of the business
object assigned as CurrentItem. Two options are available:
CreateByDefault
IgnoreByDefault
The CreateByDefault option implies that editors for each public
property will be created unless the property is marged with the
IgnoreAttribute.
The IgnoreByDefault option implies that editors for each public
property are created as long as the property is marked with the
FormFieldAttribute.
The EditorCreationMode property is used only when RadDataForm
has no XAML definition of its layout. When the layout of the fields is defined
in XAML the presence or absence of DataField elements for the
corresponding properties defines whether editors will be or will no be created
for the properties.