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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:33:09+00:00 2026-05-16T04:33:09+00:00

When I bind a SubSonic 3 produced IQueryable result to the ItemsSource of a

  • 0

When I bind a SubSonic 3 produced IQueryable result to the ItemsSource of a WPF ComboBox or DataGrid, I’m unable to change the selected item in the ComboBox or the DataGrid more than once. I’m using SubSonic 3.0.0.3 and ActiveRecord.

Here’s an example:

In my code:

var foo = FooDB.Customer.All();
FooComboBox.ItemsSource = foo;

In my xaml:

<ComboBox DisplayMemberPath="CustomerName" Name="FooComboBox" />

Steps to reproduce:

  1. Run application. Note that there is (initially) no items selected in my ComboBox.
  2. Click on the ComboBox. The drop down appears with several customer names.
  3. Choose customer name X in the drop down. The drop down disappears and X is now selected.
  4. Click on the ComboBox again. The drop down appears.
  5. Choose customer name Y in the drop down. The drop down disappears, but X is still selected.

Thanks in advance.

  • 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-16T04:33:10+00:00Added an answer on May 16, 2026 at 4:33 am

    Wrapping the SubSonic generated class with your own class (which contains one property, which gets/sets the generated class instance) and using that in a collection, works.

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

Sidebar

Related Questions

In WPF and SubSonic 2 using Active Record, I was able to bind to
I bind a list<> to a datagrid. Then, in the code behind, I change
I bind the ItemsSource of a ComboBox to an ObservableCollection<MyClass> . In code I
I was trying to bind my DataGrid columns to a list where the item
i bind linq result data to datagrid but nothing comes. here is my code
I bind a dataset to a datagrid wpf like this DataSet d = Database.getBabies();
boost::bind overloads several operators for its placeholders: For convenience, the function objects produced by
Is BIND DNS + DLZ reliable? scalable? Is it a better solution than writing
I am unable to bind the selectedIndex public property of a spark DropDownList to
I am trying to bind a listview item to a member of a structure,

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.