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 7176545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:31:51+00:00 2026-05-28T16:31:51+00:00

My application is using Self-Tracking Entities & I get my data from a WCF

  • 0

My application is using Self-Tracking Entities & I get my data from a WCF Service. In my WCF service query I am using the .Include(“”) to load entity relationships with my query.

    public List<IndividualDisability> GetIndividualDisabilities()
    {
        using (var context = new ADATrackingEntities())
        {
            return context.IndividualDisabilities.OfType<IndividualDisability>().Include("ADACode").ToList();
        }
    }

I’m then adding the results to an ICollectionView. I have a ListView that is bound to the ICollectionView, some of the columns in my ListView are bound to values from my entities relationship. I have a master-details setup with the current item of the listview bound to the entity object i’m editing.

<ListView Margin="0,0,10,0" MaxHeight="400" MaxWidth="300" HorizontalAlignment="Left" AlternationCount="2" ItemsSource="{Binding Path=IndividualDisabilitiesSource}" IsSynchronizedWithCurrentItem="True" SelectedItem="{Binding Path=CurrentIndividualDisability, Mode=TwoWay}" SelectionMode="Single" ItemContainerStyle="{DynamicResource ListViewItemContainerStyle}">
    <ListView.View>
        <GridView>
            <GridViewColumn Header="Case #" Width="Auto"  
                DisplayMemberBinding="{Binding Individual.CaseNumberShort}" />
            <GridViewColumn Header="LName" Width="Auto"  
                DisplayMemberBinding="{Binding Individual.LastName}" />
            <GridViewColumn Header="FName" Width="Auto"  
                DisplayMemberBinding="{Binding Individual.FirstName}" />
            <GridViewColumn Header="ADA Code" Width="Auto" 
                DisplayMemberBinding="{Binding ADACode.ADACodeDesc}" />
        </GridView>
    </ListView.View>
</ListView>

The problem is that on my edit section i’m using a combobox to change a value from the selected record and its changing the related value in my ListView to a blank value in the cell. The only way I can get it to show up again is by going back to the database and loading the data again. Is there something im missing with my combobox or listview binding??

<ComboBox Height="25" Width="200" ItemsSource="{Binding ADACodesSource}"
    DisplayMemberPath="ADACodeDesc" SelectedValuePath="ADACodeID" 
    SelectedValue="{Binding Path=CurrentIndividualDisability.ADACodeID, Mode=TwoWay, 
    NotifyOnValidationError=True, ValidatesOnDataErrors=True}" />
  • 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-28T16:31:52+00:00Added an answer on May 28, 2026 at 4:31 pm

    I havent been able to get it working still with the combobox, so I settled for creating a custom control. Its an AutoComplete/ComboBox that seems to have the correct type of binding. Everything works great with this control detailed in this blog post:

    http://weblogs.asp.net/dwahlin/archive/2009/07/06/creating-an-combobox-style-autocompletebox-control-in-silverlight.aspx

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

Sidebar

Related Questions

I'm using self-tracking entities in a WCF client-server application. My WCF service returns various
I have a Php application using stream_socket_client(), to get data through tcp from a
I am writing a WPF application using Self-Tracking Entities. I'm having trouble Disabling/Enabling my
I have developed my DAL using Entity Framework (Self Tracking Entities). I have written
I created an application using UITableView . I parsing the data from URL and
I'm using the Self-Tracking Entities codegen option in EF4 (VS2010 RC), and I'm trying
How can I self-sign an iPhone application using Xcode? I have done the following:
I have made an application (for my self) for feeds reading, using SyndicationFeed ,
An older application using System.Web.Mail is throwing an exception on emails coming from hr@domain.com
When starting a django application using python manage.py shell , I get an InteractiveConsole

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.