Binding Errors

9 posts, 0 answers
  1. Paul
    Paul avatar
    38 posts
    Member since:
    Feb 2014

    Posted 21 Jul 2014 Link to this post

    Are y'all still working on this one?

    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')

    It really is annoying when one is trying to make sure that any and all binding errors in the output window are gone.  It would be nice if you guys could rid us of these please.   Or is there something I can do to suppress or get rid of these? 

    Thanks
    Paul
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 22 Jul 2014 Link to this post

    Hello Paul,

    Regarding the "System.Windows.Data Error: 26" we tried to reproduce the error on our side but to no avail.

    Could you give us more information about how that error is reproduced. Additional information on the use case of the RadWatermarkTextBox, like where is it placed, does it have customizations, bindings etc. would be very helpful. I recorded and attached a short video showing how the scenario run on our side, please let us know if we missed something.

    The "System.Windows.Data Error: 4" is a common error caused by the way some controls are loaded by the Framework. Some of the bindings are broken at the start of the application but fast after that they are resolved and no critical exception is thrown. You shouldn't worry about this kind of errors. Suppressing them is possible by setting a different Trace level in your application as described in this blog post.

    Regards,
    Vladi
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Paul
    Paul avatar
    38 posts
    Member since:
    Feb 2014

    Posted 22 Jul 2014 in reply to Vladi Link to this post

    Thanks,

    I am currently using the .net 4.0 versions of the libs from the Hotfix

    Telerik_UI_for_WPF_2014_2_0721_DEV_hotfix.zip

    I will try to put a project together showing it.
  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 25 Jul 2014 Link to this post

    Hello Paul,

    Looking forward to the sample project. Note that you cannot attach zip files or project files directly to forum posts.

    Please send us the sample project as a zip file in a new support thread.

    Regards,
    Vladi
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  6. Dustin
    Dustin avatar
    10 posts
    Member since:
    Sep 2014

    Posted 18 Sep 2015 in reply to Paul Link to this post

    I'm having the exact same problem.  Can't get RadAutoCompleteBox to work and I see the exact same output:

    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 update to this issue?
  7. Nasko
    Admin
    Nasko avatar
    585 posts

    Posted 23 Sep 2015 Link to this post

    Hello Dustin,

    As Vladi already explained in the previous post above the observed errors are related due to a know timing issue in the WPF platform. Please, check the following link from our Feedback portal where you could find more detailed information and an approach how to resolve it:
    http://feedback.telerik.com/Project/143/Feedback/Details/113663-a-binding-error-is-printed-in-the-output-on-start-up-for-elementname-watermarktex

    You shouldn't have any concern regarding such issues because they are a timing one and would not prevent RadAutoCompleteBox from working as expected.

    Hopes the provided information will help you.

    Regards,
    Nasko
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  8. Maxime
    Maxime avatar
    3 posts
    Member since:
    Oct 2015

    Posted 08 Oct 2015 Link to this post

    Hi everyone,

    Same issue here...

    You shouldn't have any concern regarding such issues because they are a timing one and would not prevent RadAutoCompleteBox from working as expected.

    This is simply just not true. Everytime the errors are thrown, my control freezes during the output of the errors.
    See my post here : http://www.telerik.com/forums/autocompletebox-binding-errors

     

  9. Maxime
    Maxime avatar
    3 posts
    Member since:
    Oct 2015

    Posted 08 Oct 2015 in reply to Maxime Link to this post

    Also,

     CPU usage is going crazy when rendering a lot of them.

  10. Nasko
    Admin
    Nasko avatar
    585 posts

    Posted 12 Oct 2015 Link to this post

    Hello Maxime,

    We have already replied you in the post you opened. Please, check my answer there:
    http://www.telerik.com/forums/autocompletebox-binding-errors

    Hope this helps.

    Regards,
    Nasko
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready