Comments (3)
Hi Sekulicb,
I tried to reproduce scenario issue with steps you mentioned.
I figured there are two separate issue here-
1) Crash on clearing all items -
Are you getting serialization error in exception? If so, try making entity public. i.e. TestData
2) Property throwing exception -
This is highly not recommended doing so. Try creating new property which does not throw exception or wrapper object. However, if you don't control that entity (Third Party) or don't want to create wrapper one, handle property exception in Look-up contract. I was able to do so. Should work for you as well.
One suggestion, implement LookUpContract only if you need custom sorting or want to support new object creation on UI. Basic, filtering is by default provided by control on DisplayMemberPath.
Let me know if this helps!
Thanks,
Nilay Joshi
from blackpearl.
- No, sorry my bad, I forgot to include the public keyword at the beginning. Entity is public
- I actually considered creating wrapper object, and I think it should be a way to go. Catching exception for each object will not be performant, since ItemSource will contain right from the start ~4500 items.
Yes, "starts with" query will not work for me. I need to match cases not just check if the string starts with given input. I need to check if substring is found in string. So for example:
user starts typing "lay"
it will find the nilay as search result instead of typing "ni...." to get the same result.
Thanks
from blackpearl.
Closing issue as all points are addressed.
Thanks,
Nilay Joshi
from blackpearl.
Related Issues (15)
- BlackPearl | Feature | Provide Support for extended item selection in Suggestion drop-down
- BlackPearl | Bug | Mouse click does not work for Suggestion drop down HOT 4
- BlackPearl | Bug | Minor issue fixes
- Add style for Search text
- Add support for .NET core 3.1 HOT 1
- Convert UserControl to CustomControl
- BlackPearl | Feature | Delay search by configured time for performance
- BlackPearl | Bug | Null reference exception is SelectedItems is not initialized
- BlackPearl | Bug | Setting SelectedItems property after load changes popup visibility
- BlackPearl | Bug | Popup placement issue HOT 1
- BlackPearl | Bug | Pasted text gets ignored HOT 5
- BlackPearl | Feature | Make creating new items more intuitive HOT 1
- DataGridTemplateColumn δΈδ½Ώη¨ MultiComboBox HOT 2
- BlackPearl | Feature | Instantly Open Suggestions On Focus HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blackpearl.