Hi,
I have got an exception when I add item toRadComboBox Control for silverlight of Telerik.My Code is Below this:
protected void _client_GetDefaultCounter_CategoryCompleted (object sender, DataSvr.GetDefaultCounter_CategoryCompletedEventArgs e)
{
System.Collections.ObjectModel.ObservableCollection<string> _list = new System.Collections.ObjectModel.ObservableCollection<string>();
_list = e.Result;
RadComboBoxItem _cmbItem = null;
foreach (string _item in _list)
{
_cmbItem = new RadComboBoxItem();
_cmbItem.Content = _item;
if (!this.cbCategory.Items.Contains(_cmbItem))
{
this.cbCategory.Items.Add(_cmbItem);
}
}
}
The exception is about:
Error: Unhandled Error in Silverlight Application
Code: 2511
Category: ParserError
Message: Overlapping properties“System.Windows.Controls.Panel.Children”。
File:
Line: 717
Position: 36
Did you have this exception before?My Data is load from wcf service.
Thanks.