Hello.
I have an application view that allows user to switch between several pages.
In one view there are a ListBox and a ComboBox which used for a grouping selection.
Items for a ListBox are being added using Timer every several seconds no matter which view is selected by user.
So, when user selects view with grouping ComboBox, chooses grouping value and then switches back to another view and then again switches to the view with grouping the program raises NullReferenceException (if you try to select anyting in ListBox or try to change grouping value).
I gave a link to the sample project that demonstrates the problem.
https://www.dropbox.com/s/3flf3woe5ba76d1/WpfApplication1.zip?dl=0
Is there any workaround?
P.S. If I use standard Visual Studio ListBox no exception is thrown. It gives an error only when RadListBox is used.
Thank you for the help.
I have an application view that allows user to switch between several pages.
In one view there are a ListBox and a ComboBox which used for a grouping selection.
Items for a ListBox are being added using Timer every several seconds no matter which view is selected by user.
So, when user selects view with grouping ComboBox, chooses grouping value and then switches back to another view and then again switches to the view with grouping the program raises NullReferenceException (if you try to select anyting in ListBox or try to change grouping value).
I gave a link to the sample project that demonstrates the problem.
https://www.dropbox.com/s/3flf3woe5ba76d1/WpfApplication1.zip?dl=0
Is there any workaround?
P.S. If I use standard Visual Studio ListBox no exception is thrown. It gives an error only when RadListBox is used.
Thank you for the help.