Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Exception :An ItemsControl is inconsistent with its items source

$
0
0

Hi all,

I am using the datatable as itemsource for WPF datagrid , this datatable updated by the multiple background worker thread (using lock(datatable) while updating the datatable),

the following error occured in my application (only in 64bit machines),

Application_DispatcherUnhandledException: An ItemsControl is inconsistent with its items source. See the inner exception for more information. Stack Trace : at System.Windows.Controls.ItemContainerGenerator.Verify() at System.Windows.Controls.VirtualizingStackPanel.MeasureChild(....

Anyone please help me to find the cause of this exception..

Thanks,
Gowtham


Viewing all articles
Browse latest Browse all 18858

Trending Articles