Hello,
I"m having some troubles. I'm using this VirtualQueriableCollectionView with a RadCarousel. It's working well up until i change the VirtualItemCount in the ItemsLoading event.
little more information:
We're using this VirtualQueriableCollectionView to load only a portion of the entire file. that part is working great.
On this control we have a TextBox that we use to search each column. unfortunately we're not using sql so we need to read each record and check the fields to see if any of them mach the TextBox text value. Doing it this way we wont know how many records we have in total so when we're finally done searching all of the records we will have a total count of records that match the textbox value and we'll need to change the VirtualItemCount in the ItemsLoading EventHandler. Now when i change the VirtualItemCount in my test wpf application it works just fine. But when i change it when it's hosted in WindowsForms (our main app is using winforms) I get "Collection was modified after the enumerator was instantiated.".
I'm curious if you have any ideas of how i can work around this issue?
I hope that makes sense. If you need more information please let me know. I can hook you up with a test application too if needed.
Thanks Much,
~Boots
I"m having some troubles. I'm using this VirtualQueriableCollectionView with a RadCarousel. It's working well up until i change the VirtualItemCount in the ItemsLoading event.
little more information:
We're using this VirtualQueriableCollectionView to load only a portion of the entire file. that part is working great.
On this control we have a TextBox that we use to search each column. unfortunately we're not using sql so we need to read each record and check the fields to see if any of them mach the TextBox text value. Doing it this way we wont know how many records we have in total so when we're finally done searching all of the records we will have a total count of records that match the textbox value and we'll need to change the VirtualItemCount in the ItemsLoading EventHandler. Now when i change the VirtualItemCount in my test wpf application it works just fine. But when i change it when it's hosted in WindowsForms (our main app is using winforms) I get "Collection was modified after the enumerator was instantiated.".
I'm curious if you have any ideas of how i can work around this issue?
I hope that makes sense. If you need more information please let me know. I can hook you up with a test application too if needed.
Thanks Much,
~Boots