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

WindowTitle binding error with R3

5 Answers 73 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
PaulR
Top achievements
Rank 1
PaulR asked on 20 Sep 2016, 08:02 PM

Hi,

I'm seeing a new binding error in the Output window with 2016 R3 that was not there before:

System.Windows.Data Warning: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Telerik.Windows.Controls.RadRibbonView', AncestorLevel='1''. BindingExpression:Path=IsHostedInRibbonWindow; DataItem=null; target element is 'WindowTitle' (Name='WindowTitle'); target property is 'NoTarget' (type 'Object')

 

This is coming from the new MultiDataTrigger condition added to the WindowTitleStyle. It's also coming from the WindowTitle that exists in the RadRibbonWindowStyle control template, which does not have a RadRibbonView ancestor, as opposed to the one in the RadRibbonViewTemplate.

5 Answers, 1 is accepted

Sort by
0
Dinko
Telerik team
answered on 23 Sep 2016, 12:56 PM
Hi PaulR,

Thank you for contacting us.

We are aware of this warning. Our development team knew about it and it will be probably fixed in one of our next LIB (latest internal build released every week).

Regards,
Dinko
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Hans
Top achievements
Rank 1
answered on 30 Jan 2017, 09:41 AM

Hi,

 

In 2017 R1 (Office 2016 theme) the error is still there, is that correct? I get the error in the output window twice.

 

Regards,

Hans

 

0
Evgenia
Telerik team
answered on 02 Feb 2017, 09:43 AM
Hello Hans,

Unfortunately I was able to reproduce this Output binding error with our latest official binaries R1 2017 (NoXAML) when RadRibbonView is hosted in RadRibbonWindow with Title. I logged it in our Feedback portal where you can track its progress.
 
I have also updated your Telerik points as a small appreciation for your cooperation. 
Please excuse us for any inconvenience caused.

Regards,
Evgenia
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Joerg
Top achievements
Rank 1
answered on 22 Oct 2018, 08:40 AM

Good morning,

the feedback portal item is set to 'Completed' as fixed with the 2018.2 bits but the issue still exists in 2018.3 (SP1)  - is there any way to re-open the feedback portal item?

Thanks,

-Jörg B.

0
Dinko
Telerik team
answered on 24 Oct 2018, 11:32 AM
Hello Joerg,

In the latest version of our controls, these errors are replaced with warnings when RibbonView is hosted in RibbonWindow with Title and NoXAML binaries. Can you double check on your side if you got errors or warnings?

Regards,
Dinko
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
RibbonView and RibbonWindow
Asked by
PaulR
Top achievements
Rank 1
Answers by
Dinko
Telerik team
Hans
Top achievements
Rank 1
Evgenia
Telerik team
Joerg
Top achievements
Rank 1
Share this question
or