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

Exception using access text to go to the backstage

4 Answers 61 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 24 May 2019, 03:08 AM

We recently (a few months ago) switched from Q3 2017 to R1 2019 SP1, and traced the origin of this exception to switching to the new version. I.e. it did not have this issue with the older version.

We are using implicit styles and it only happens in the 2013 theme, at least among the themes that we use.

 

If we press Alt, and then "F" to get to the backstage, we get the following exception. After the exception everything works normally, but you have to press Alt again to get the access text to show on the backstage.

 

Object reference not set to an instance of an object.

Stack Trace:
   at Telerik.Windows.Controls.RibbonView.KeyTipService.<ShowBackstageItemsTips>b__48()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

4 Answers, 1 is accepted

Sort by
0
Steve
Top achievements
Rank 1
answered on 24 May 2019, 04:44 AM
I should clarify that it is the Office 2013 theme that we are using.
0
Dinko | Tech Support Engineer
Telerik team
answered on 28 May 2019, 10:09 AM
Hi Steve,

Thank you for the provided steps.

I have followed them but wasn't able to get such exception on my side. I have tested with the mentioned version and with the latest one: no difference on my side. I think I may miss some additional code from your implementation. Attached to this reply you can find the sample project which I used to test your scenario. Can you go through this sample solution and let me know what I need to modify to mimic your implementation which reproduce this exception.

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.
0
Jennifer
Top achievements
Rank 1
Iron
answered on 29 May 2019, 07:10 PM
I work with Steve and he asked me to look at your example.  The difference is that your example doesn't have any AccessText on the backstage items (e.g., Save).  Once I added it to one of them in your example, I got the same exception.
0
Dinko | Tech Support Engineer
Telerik team
answered on 03 Jun 2019, 11:49 AM
Hi Jennifer,

Thank you for the provided additional information. 

I manage to reproduce this exception, therefore I have logged it in our Feedback Portal where you can track its progress. I am happy to inform you that our development team is currently investigating this exception. You should expect a fix in one of our next LIB. The feedback item will be updated with the version in which it will be available.

I have updated your Telerik Points for bringing this behavior to our attention.

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.
Jennifer
Top achievements
Rank 1
Iron
commented on 01 Sep 2022, 11:48 PM

We are now using the Office2019 theme, and it seems to still have this exception.
Stenly
Telerik team
commented on 06 Sep 2022, 03:40 PM

Hello Jennifer,

Would it be possible to share more information about the setup of the project, in which this exception occurs? More specifically, what is the version of the used Telerik assemblies? This information will allow me to setup a project with the specified DLLs version and try to reproduce this behavior on my end.

Jennifer
Top achievements
Rank 1
Iron
commented on 06 Sep 2022, 05:28 PM

We are using version R3 2021 SP1.
Stenly
Telerik team
commented on 09 Sep 2022, 03:38 PM

Hello Jennifer,

I have tested the backstage of the RadRibbonView control with the 2021 R3 SP1 version and with the Office2019 theme, but I was not able to observe this exception. I am attaching the test application, so, could you try it out and let me know if I am missing something?

Tags
RibbonView and RibbonWindow
Asked by
Steve
Top achievements
Rank 1
Answers by
Steve
Top achievements
Rank 1
Dinko | Tech Support Engineer
Telerik team
Jennifer
Top achievements
Rank 1
Iron
Share this question
or