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

Autocomplete Watermark Binding Error

3 Answers 67 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Shengwei
Top achievements
Rank 1
Shengwei asked on 14 Jun 2013, 03:29 AM
Hi, 

i have set the watermark for autocompletebox by setting the WatermarkContent, property, it works, however in the visual studio output window i can still see the following errors which i would like to avoid. 


System.Windows.Data Error: 26 : ItemTemplate and ItemTemplateSelector are ignored for items already of the ItemsControl's container type; Type='RadWatermarkTextBox'

System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=WatermarkTextBox'. BindingExpression:Path=ActualWidth; DataItem=null; target element is 'AutoCompleteBoxesWrapPanel' (Name=''); target property is 'Width' (type 'Double')



Any suggestions? 

thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Kalin
Telerik team
answered on 18 Jun 2013, 11:38 AM
Hello Shengwei,

We are aware of the described issue and it has already been logged in our PITS.
You can track its status on the following link:

Those errors are appearing because the framework is looking for the binding before the control is completely initialized and after the control is loaded the binding is resolved. These errors in the output should not bother you as they are not interfering with the application.

Regards,
Kalin
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Duncan
Top achievements
Rank 1
answered on 30 Jan 2014, 10:40 PM
Hi,

the above link does not work.

Has this been resolved?

thanks

Duncan
0
Kalin
Telerik team
answered on 04 Feb 2014, 08:45 AM
Hi Duncan,

We moved all of the items from our Public Issue Tracking System to our new Feedback portal. You can find the same item on the following link:
http://feedback.telerik.com/Project/143/Feedback/Details/113663-a-binding-error-is-printed-in-the-output-on-start-up-for-elementname-watermarktex

However the issue is not fixed yet, but as I have explained in my previous post this shouldn't bother you as the binding gets resolved as soon as the control is fully loaded.

Hope this helps.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
AutoCompleteBox
Asked by
Shengwei
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Duncan
Top achievements
Rank 1
Share this question
or