RadiantQ Forum
Product => WPF Gantt Package => Topic started by: tim on August 31, 2015, 09:01:27 AM
-
Hello again,
occasionally, when I try to refresh/reload the data displayed in the gantt chart, I get a NullRefernceException.
I debugged the code and narrowed it down to the class "TasksListControl" and its method "TasksListControl_Loaded"
In that case the line "var itemsPresenter = Extensions.GetChild<ItemsPresenter>(this, false);" results in "itemsPresenter" being "null", which will later produce the exception.
It would be great, if you could fix this issue :)
Thanks,
Jan Reker
-
Jan,
Yes, we can provide an update with a fix for this soon. Before that can you tell us what exactly you mean by "refresh/reload"? Is it resetting the data or is the gantt getting refreshed by being on a Tab, for example?
Thanks,
Raja.
-
Raja,
by "refresh" I meant the when I alter the bound ItemSource (with quite a lot of objects) by clearing it and filling it with new data. Most of the time this works flawlessly, but sometimes it results in the mentioned exception.
-
Jan,
We just sent you an updated assembly with the fix. Please verify.
Thanks
RQ Support