Databinding Work?

3 posts, 0 answers
  1. Morgan
    Morgan avatar
    80 posts
    Member since:
    Dec 2009

    Posted 31 Oct 2012 Link to this post

    I am databinding but nothing appears on the screen when I bring it up... I am using caliburn.burn + the lastest build.
  2. Deyan
    Deyan avatar
    2026 posts

    Posted 01 Nov 2012 Link to this post

    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?

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Tim
    Tim avatar
    19 posts
    Member since:
    Dec 2011

    Posted 15 Dec 2012 Link to this post

    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.

Back to Top