Autocomplete Watermark Binding Error

4 posts, 1 answers
  1. Shengwei
    Shengwei avatar
    12 posts
    Member since:
    Sep 2012

    Posted 13 Jun 2013 Link to this post

    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

  2. Answer
    Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 18 Jun 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Duncan
    Duncan avatar
    5 posts
    Member since:
    Sep 2013

    Posted 30 Jan 2014 in reply to Kalin Link to this post

    Hi,

    the above link does not work.

    Has this been resolved?

    thanks

    Duncan
  5. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 04 Feb 2014 Link to this post

    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 >>
Back to Top