Dataform (Pencil doesn't work)


  • Hi!

    I'm new in silverlight, so i'm follwing the tutorial

    to understand ria services. However when i get to the part when i can use the pencil to edit data in dataform, it just don't let me edit the fields. The button is pressed, but the fields keep closed. I did this tutorial many times and always get the same issue.

    Please Help!

    • Moved by Yves.Z Sunday, March 27, 2011 3:02 PM silverlight related (From:Windows Presentation Foundation (WPF))
    Thursday, March 24, 2011 12:05 AM

All replies

  • What is the datacontext of your dataform?  It should be an entity framework object, or at least an object that implements IEditableObject.

    Also, if you are using RIA did you create a DomainService?  If so there is a metadata file that gets generated for you as well, and it is possible to control the dataform access, read/write properties via attributes in that file.


    • Proposed as answer by BryanCC Monday, April 25, 2011 1:18 AM
    Thursday, March 24, 2011 5:58 PM
  • Welcome to MSDN Forums!


    I move this thread here because of it's likely to get quicker and better responses to Silverlight develop issues at

     where Silverlight develop experts live in.


    Have a nice day!


    Yves Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Sunday, March 27, 2011 3:02 PM