Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6655031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:27:48+00:00 2026-05-26T01:27:48+00:00

I have a Silverlight project (in VB), which uses a (WCF RIA) Domain Service,

  • 0

I have a Silverlight project (in VB), which uses a (WCF RIA) Domain Service, which uses POCO Entities. I’m displaying the data with a DataForm. My Domain Service has InsertUser, UpdateUser, DeleteUser-methods (correctly) specified. CommandButtonsVisibility is not set (so I guess it has default values).

However, the Commit-Button is not visible (it’s not only disabled, it’s not even there). When I set CommandButtonsVisibility=All I can use the edit button and it is working (changes are saved in db). I would like to use the default behavior though.

I recognized the DataForm automatically shows or hides the buttons if the CRUD-methods are written or not written in the Domain Service (I tested it with my Delete-methods).

What am I doing wrong, are my Update-methods not defined correctly? This is how they look like:

Public Sub UpdateUser(ByVal user As User)
     '... update the user
End Sub

For the C#-users:

public void UpdateUser(User user)
     //... update the user
End Sub
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:27:48+00:00Added an answer on May 26, 2026 at 1:27 am

    First thing is first. The DataForm is the buggiest piece of code I’ve ever encountered in my life. It was mainly designed to be used as a Child view to a DataGrid, in a Master/Child type of a view. And I guess they only tested it with the unmaintainable drap & drop code that’s generate, which you see a lot in the intro videos.

    Let’s get to your problem now:
    The most common reason for this is that you’re not binding your DataForm to the correct backing data store. If you’re binding to a single item, then you’re pretty much out of luck. Just implement your own OK and Cancel buttons. But if you’re working against a collection, than make sure it implements ICollectionView. (You may get lucky with ObservableCollection as well.)

    If you need more specific help, please post the relevant parts of your XAML and code behind.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Silverlight Project which passes data using the Data Contract to a
I have created a RIA DataDomainService which I exposed to my silverlight project. The
I have a silverlight application that uses wcf service. This application is shown from
I have a Silverlight project which takes some encrypted string thru its Service Reference:
I have a silverlight application which has a class library project in it. th
I have built a web setup project in VS2008 which installs my ASP.NET/Silverlight app
I have a Silverlight application which uses 2 separate databases. I have a situation
I have a Silverlight project in which I compile to both Silverlight 2 and
I have a specialprice lookup window in my silverlight project which is bound to
I have a default Class Library project, which I want to link to WCF

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.