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

Is there an event to capture auto hide of dockable window?

6 Answers 123 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Garima Mehta
Top achievements
Rank 1
Garima Mehta asked on 17 Feb 2010, 02:00 PM

Hi,

 We are not able to find out a event for mouse over on auto hide docking panel  and it get displayed and it get hide. Can you please help here?

What are we actually trying accomplish is as follows:

 We added a RadDock on MDI form. RadDock contains two dockable tool windows. Property ‘MainDocumentContainerVisible’ of RadDock is set to false. Initally size of RadDock is set to very small in width, when panel gets docked size of RadDock  is reset , with this we were able to show all tool window in appropiate size in case of docking. But on mouse over tool window is showing with its default size. We tried to set size of tool window using AutoHideSize property but it is not working. If we able to get any event for auto hide occurance then we will be able to add logic to show tool panel appropiately. Can you please help here?

6 Answers, 1 is accepted

Sort by
0
Alain Lavoie
Top achievements
Rank 1
answered on 18 Feb 2010, 09:27 PM
I'm trying to do the same thing but haven't found the answer.  Someone from Telerik answer this please...
0
Nikolay
Telerik team
answered on 19 Feb 2010, 02:28 PM
Hi guys,

Currently, there are no events fired when an AutoHideWindow pops up/collapses. We will introduce such in one of our next releases.

Garima Mehta, please open a new support ticket and send me a sample project which demonstrates the issue that you experience with the AutoHideSize property. This will allow us to address the issue further and provide you with an appropriate workaround if such is available.

Sincerely yours,
Nikolay
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.
0
Graeme Lynch
Top achievements
Rank 1
answered on 20 May 2011, 03:06 PM
I am now using Q1 2011 with SP1 and still getting resize issues when Auto hide windows are opening.
I couldn't find any events that I can capture yet when a tool window that is autohidden is shown.
Any pointers for me?

0
Nikolay
Telerik team
answered on 25 May 2011, 04:40 PM
Hello Graeme,

Thank you for writing.

Unfortunately, Garima did not send us a sample project so we were not able to understand the issue that he had with the AutoHide windows. Therefore, I would kindly ask you to open a new support ticket and send me a sample project which demonstrates the issues that you experience. This will allow me to understand the exact case that you have and provide you with a more precise response.

As to the events, for the AutoHide windows we exposed AutoHideWindowDisplaying, AutoHideWindowDisplayed and AutoHideWindowHidden events.

I am looking forward to your sample project.

Regards,
Nikolay
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
0
Graeme Lynch
Top achievements
Rank 1
answered on 25 May 2011, 04:55 PM
Hi Nikolay

I found those events and have started using them.
I was finding that the size of the autohide window when it was open was being stored in the xml file when I was saving the RadDock file but was not getting reloaded into the control after loading the xml. So I am now saving the same values into the floating window size of the autohide, which I do not use for anything else,  and then reloading the values from there into the autohide size after the XML loads which seems to get around the problem.

If I get a chance to create sample project which shows the same symptoms then I will post one up.

It does seem a bit inconsistent as it did not appear for a while, which seemed to coincide with Q1 2011 but reappeared when I started using Q1 2011 SP1 so not too sure if an old bug crept back in.

Thanks anyway,

Graeme.
0
Nikolay
Telerik team
answered on 30 May 2011, 02:04 PM
Hi Graeme,

Thank you for the details.

The AutoHideSize property is not meant to be saved in the xml file that defines the structure of RadDock. I am logging this case as a feature request in our PITS. You can follow the PITS item and subscribe to its status updates.

Best wishes,
Nikolay
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Tags
Dock
Asked by
Garima Mehta
Top achievements
Rank 1
Answers by
Alain Lavoie
Top achievements
Rank 1
Nikolay
Telerik team
Graeme Lynch
Top achievements
Rank 1
Share this question
or