I have a problem using backgroundworker object.
If I use a code to load with Entity Framework a SQL table for fill a combobox, the program takes a lot of time and user experience is bad.
If I use a backgroundworker object, simply the combobox is'nt filled; my MVVM class that have a public property ObservableCollection<MyRecord>. I debug the code and this collection is filled right but WPF appears dont know that collection is recently
filled. I try to use on Source property of combo the OneWay and TwoWay attributes, but dont work
I'm sure that any thing do it bad ¿Any body can tell me where try to fix up the problem?
Private Sub LoadCountries()
'This code works fine, but user experience is affected
'Me.Recursos = New ObservableCollection(Of Recurso)(Application.Contexto.Recursos.Include("User"))
Using worker As New BackgroundWorker()
Dim p As System.ComponentModel.DoWorkEventHandler =
View Complete Post