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

RadRibbonWindow duplicates ApplicationName

3 Answers 120 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 1
Anthony asked on 27 Apr 2014, 02:30 AM
I encountered a peculiar problem when using the RadRibbonView within the RadRibbonWindow. The problem doesn't occur when the RadRibbonView is hosted in a vanilla Window.

The problem is that the ApplicationName is duplicated when you set the Title property to empty or null in XAML or code. It doesn't occur when the property is unset. Setting the XAML using Title="" will display the ApplicationName twice. Setting a binding to the Title when the property value is null or an empty string will display the ApplicationName thrice.

For example, take this XAML (namespaces removed for brevity):

​<telerik:RadRibbonWindow x:Class="RadRibbonViewTitle.MainWindow" ...>
  
<Grid>
     
<telerik:RadRibbonView ApplicationName="My App Name"
                            
Title="{Binding AppTitle, Mode=OneWay}" />
  
</Grid>
</telerik:RadRibbonWindow>


Initially, the AppTitle property has a null value. This results in the window displaying "My App Name - My App Name - My App Name" as shown in the attached screen clip. Removing the binding and changing the relevant XAML to Title="" results in "My App Name - My App Name".

This seems to be a bug, but I'm open to the idea that I'm missing something.

3 Answers, 1 is accepted

Sort by
0
Anthony
Top achievements
Rank 1
answered on 27 Apr 2014, 02:43 AM
I forgot to mention that it works as it should when the AppTitle property has a value. For example, if the AppTitle property has the value "abc" then the window displays "abc - My App Name" as expected.
0
Pavel R. Pavlov
Telerik team
answered on 30 Apr 2014, 08:56 AM
Hello,

Thank you for contacting us on that matter. You are right for the behavior of the RadRibbonView control. This is why I logged the reported issue in our feedback portal as a bug report. Please follow the item and stay tuned for any changes. We will do our best to fix it as soon as possible.
As a small sign of compensation I updated your Telerik account.

Please accept our apology for any inconvenience caused.

Regards,
Pavel R. Pavlov
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.
 
0
Anthony
Top achievements
Rank 1
answered on 30 Apr 2014, 02:00 PM
Thank you.

I have to say the support I get from Telerik is night-and-day better than the last tool provider we used. I won't name them specifically, but they start with an "I" and end with a "gistics."
Tags
RibbonView and RibbonWindow
Asked by
Anthony
Top achievements
Rank 1
Answers by
Anthony
Top achievements
Rank 1
Pavel R. Pavlov
Telerik team
Share this question
or