Binding error using RadDocking with DocumentHost

8 posts, 1 answers
  1. Sean 2212
    Sean 2212 avatar
    4 posts
    Member since:
    May 2010

    Posted 23 Jun 2011 Link to this post

    Create a new WPF project, add a RadDocking to the page, then add a DocumentHost to the RadDocking, like so:

    <telerik:RadDocking HasDocumentHost="True">
        <telerik:RadDocking.DocumentHost>
            <telerik:RadSplitContainer>
                <telerik:RadPaneGroup>
                    <telerik:RadDocumentPane Header="Document 1" Title="Document 1" />
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
        </telerik:RadDocking.DocumentHost>
    </telerik:RadDocking>
    

    Run the app in debug mode and you'll get the following error in the VIsual Studio output window:

    System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=DropDownButtonElement'. BindingExpression:Path=IsChecked; DataItem=null; target element is 'DropDownMenu' (Name='DropDownMenuElement'); target property is 'IsOpen' (type 'Boolean')

    Using version 2011.1.419.40. Noticed that there was a similar problem with the RadTabControl (see http://www.telerik.com/community/forums/wpf/tabcontrol/strange-error-message-in-debug-view.aspx). Can't reproduct the same error with RadTabControl. Suspect this is a similar issue. Doesn't cause any problems but would be nice to remove the error.

    Can can anyone else confirm this?
  2. Answer
    Yana
    Admin
    Yana avatar
    4554 posts

    Posted 28 Jun 2011 Link to this post

    Hello Sean,

    We were able to reproduce this issue, I've logged it in our public issue tracking system and it will be fixed. You can track its progress here.

    As a small token of gratitude for your involvement, I've updated your points.

    Greetings,
    Yana
    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. Kristoffer
    Kristoffer avatar
    30 posts
    Member since:
    Oct 2012

    Posted 05 Dec 2012 Link to this post

    I'm running the latest build of RadControls, and I also get this warning in the Debug window.

    System.Windows.Data Warning: 4 : Cannot find source for binding with reference 'ElementName=DropDownButtonElement'. BindingExpression:Path=IsChecked; DataItem=null; target element is 'DropDownMenu' (Name='DropDownMenuElement'); target property is 'IsOpen' (type 'Boolean')

    Wasn't this fixed?
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 05 Dec 2012 Link to this post

    Hi Kristoffer,

    This issue is not fixed yet. I would suggest to track the PITS item in order to get notified when it is resolved.

    Kind regards,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Amer
    Amer avatar
    1 posts
    Member since:
    Oct 2013

    Posted 16 Oct 2013 Link to this post

    Hi,
    I'm new here and this is my first post , so I'd like to start by saying "a BIG Thank you" to all of Telerik team for your great work , I really love your components :)

    Now back to the main thread issue, I know this is not critical and it is just a warning and can be safely ignored, but it is strange that it is still exists in the latest version "2013 Q3" ..
  7. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 21 Oct 2013 Link to this post

    Hi Amer,

    Thank you for the nice words.

    Indeed, the fix wasn't  included in Q3 2013 release, we will do our best to fix it for some of the upcoming internal builds.

    We're sorry for any inconvenience caused.

    Regards,
    Yana
    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 >>
  8. Kristoffer
    Kristoffer avatar
    158 posts
    Member since:
    Dec 2012

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

    Just like car enthusiasts want their car paint scratch free, software enthusiasts want their code free of warnings. Please fix this annoyance now!

    This minor issue actually becomes quite expensive in the long run. When our developers see this warning they go 'Wait, what's that?!' - losing their concentration for a minute. So far, this annoyance has cost us $1800. (2011-2014, roughly two years with approximately 225 days per year. Four developers with a minute price of $1: 2*225*4*1=1800)

    You get my point :)
  9. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 04 Feb 2014 Link to this post

    Hello Kristoffer,

    I understand and I'd like once again to apologize for the caused troubles.

    We have moved the item into our new Telerik UI for WPF Feedback Portal, here is the link:
    http://feedback.telerik.com/Project/143/Feedback/Details/113135-raddocking-with-documenthost-shows-a-binding-error-in-the-vs-output-window

    and I have raised its priority as well.

    Regards,
    Yana
    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
UI for WPF is Visual Studio 2017 Ready