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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:39:22+00:00 2026-05-27T10:39:22+00:00

Im trying to implement a lazy load more items when the user gets to

  • 0

Im trying to implement a lazy “load more” items when the user gets to the bottom of the listbox, but everytime i try to add new items to the listbox i get results like this:

“Operation not supported on read-only collection.”

I’ve already tried several solutions from forums to blogs none seem to work. I can’t even understand the logic behinds the problem which seems a bit odd for me.

What i’m doing is basically loading a list of items and assigning as the itemsource of my listbox.

  wineFilterListBox.ItemsSource = wines;

When the user gets to the bottom of the list, i add more items (just like twitter app for wp7)

public ObservableCollection<Wine> wines;
...

   if (atBottom)
   {
       int Count = page.wineFilterListBox.Items.Count;
       int end = Count + 10;
       for (int i = Count; i < end; i++)
       {
           page.LoadWineList(Count);
       }
   }
...

   private void LoadWineList(int Count = 1)
   {
   ...
      wineFilterListBox.Items.Add(wines);
   }
  • 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-27T10:39:23+00:00Added an answer on May 27, 2026 at 10:39 am

    When you use ItemSource the Items collection becomes read-only. It sounds like you’d have to add the data to the collection instead of to the ListBox Items property.

    See the MSDN: ItemsControl.ItemSource Property

    In particular, this section:

    When the ItemsSource property is set, the Items collection is made read-only and fixed-size.

    Try adding the item to the wines collection directly, since your collection is an `ObservableCollection’:

    You should set the ItemsSource to an object that implements the
    INotifyCollectionChanged interface so that changes in the collection
    will be reflected in the ItemsControl. The ObservableCollection(Of T)
    class defines such an object.

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

Sidebar

Related Questions

So I am trying to implement a basic image lazy load feature to speed
I'm having a hard time trying to implement a lazy load for a group
I'm trying to implement a lazy sequence (meaning that the next item is only
Trying to implement AVAudioplayer and get some metering data of the played music, but
I am trying to implement lazy partitioning of an iterator object that yields slices
I'm trying to be lazy and implement the cast operators in the abstract base
I'm relatively new to iOS development, and am trying to implement CocoaLumberjack logging. I
I am trying to implement lazy loading in my app. And I got SDWebImage
I am trying to implement lazy high charts using the following github site GitHub
Assuming an architecture as such. MODEL > BLL > DLL Trying to implement lazy

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.