This is a migrated thread and some comments may be shown as answers.

ValidationTooltip Error

1 Answer 70 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 09 Aug 2010, 10:49 PM
Hi,

I get a weird binding error if I use the namespace:

xmlns

 

 

:telerik="http://schemas.telerik.com/2008/xaml/presentation"

 

 

 

This error does not occur if I use the namespace:

 

xmlns

 

 

:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"

 

 

 

The binding error is as follows:

System.Windows.Data Error: Failed to connect to index '0' in object 'System.Collections.ObjectModel.ReadOnlyObservableCollection`1[System.Windows.Controls.ValidationError]' (type 'System.Collections.ObjectModel.ReadOnlyObservableCollection`1[System.Windows.Controls.ValidationError]'). BindingExpression: Path='(Validation.Errors)[0].ErrorContent' DataItem='Telerik.Windows.Controls.RadComboBox' (HashCode=6993202); target element is 'Telerik.Windows.Controls.Chromes.ValidationTooltip' (Name='ValidationTooltip'); target property is 'TooltipContent' (type 'System.Object').


This is just with using the default XAML of <telerik:RadComboBox />

I'd prefer to use the XAML schema namespace as with alot of different libraries it can keep my XAML cleaner.  Is there any way to fix that beyond explictly referencing libraries in my XAML?

Thanks,

Stephen

1 Answer, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 10 Aug 2010, 11:42 AM
Hi Stephen,

It should appear either way. This error is now fixed and it is ok in the latest internal build. I would recommend you to wait for the official SP1 to be released and upgrade.

Greetings,
Panayot
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox
Asked by
Stephen
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or