iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
How is GetSingleAsync(Dictionary<string, object>) being used? We've supplied a dictionary value to the first parameter but an error is being thrown. Do we need to specify includes to make it work when there are navigation properties required?
Hi Jimmy, Yes you need to specify your include if you have navigation properties as you can see in our documentation GetSingleAsync(Dictionary<string, object>, String[]).The object in dictionary is your primary key.Hope this will helps!
Only the original thread that created a view hierarchy can touch its views.
Hi Jimmy,Could you tell me when did you call the GetSingleAsync? from the stack trace looks like every time you change the TextBox you call the getSingleAsync is this right?Note: I ask our developer what the "Only the original thread that created a view hierarchy can touch its views." means, meanwhile i already tested the getSingleAsync however i encounter no error because i put it in Navigated.
Hi Jimmy,
We successfully found the problem, here is the hotfix for CROS-894:
http://git.intersoftpt.com/projects/CROS/repos/updates/browse/Crosslight4_0_5000_298
Hope that'll helps!
The origin of the error stack trace you posted is coming from Crosslight.Android framework.
When you perform GetSingleAsync(), it is done in background thread. When the updated item is retrieved, OnPropertyChanged is triggered, and since the item is bound, the UI is going to be updated, but all of this is still done in background thread. Thus you get the error. Updating the UI should be done in UI thread.
This is a bug in the Android framework, it is filed under CROS-894. Find the hotfix here.
Hope this helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname