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

RadRibbonView IsMinimized=true at startup, collapse of ribbon panel is delayed until after ContentRendered event

5 Answers 47 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 15 Jun 2016, 06:58 PM

Hi,

I'm using the RadRibbonView with IsMinimized=true at startup. We're noticing that the ribbon panel part is not collapsed until 'after' the ContentRendered event. As a result, for a brief moment, you can see the layout of the main window with the ribbon panel open and using the vertical space, and then quickly, the layout of the rest of the window shifts up as the ribbon panel is collapsed. It's a bit distracting.

To test:

- Add RadRibbonView with IsMinimized=true
- Override OnContentRendered in main window and put a breakpoint on the base.OnContentRendered line.
- Notice that the ribbon is not yet 'minimized' and is occupying space in the layout.
- Continue and it will minimize.

 


5 Answers, 1 is accepted

Sort by
0
Dinko
Telerik team
answered on 20 Jun 2016, 07:15 AM
Hi Paul Raymond,

Following the described steps in your post, we weren't able to reproduce this behavior. Because of this, we would like to ask you for an additional information and a sample project so that we could examine your scenario.

1. Which version of our assemblies are you using in your application?
2. Which .NET Framework version are you using?
3. What is the OS of the machine where you run the application?

We are looking forward to your answer. 

Regards,
Dinko
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
PaulR
Top achievements
Rank 1
answered on 22 Jun 2016, 06:23 AM

Hi,

So upon further investigation, it does seem intermittent. In my recent test, it would succeed (no delayed minimize effect), and then re-run and fail, then succeed, then fail.

I found that by adding the property "ContentHeight=0", this eliminated the problem completely. Thanks.

(For interest, I was on latest v613, .Net 4.6.1, Win10, VisualStudio2013 dark theme)

0
Dinko
Telerik team
answered on 24 Jun 2016, 01:49 PM
Hello PaulR,

Thank you for the provided information. We are happy to hear that you found a solution for your case.

If you have any other question or concerns please, don't hesitate to contact us again.

Regards,
Dinko
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Tobias
Top achievements
Rank 1
answered on 03 Aug 2018, 10:09 AM

Hello,

I am dealing with the same issue.

the problem by setting the property "ContentHeight=0" is that afterwards the RadRibbonTab-Items are not visible anymore.

Any solution for this problem?

thanks

Tobias

0
Dinko
Telerik team
answered on 08 Aug 2018, 09:02 AM
Hi Tobias,

I will need more information so I can better assist you. Can you send me an image which demonstrates what do you mean by the tabs are not visible?

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
PaulR
Top achievements
Rank 1
Tobias
Top achievements
Rank 1
Share this question
or