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

Quick Navigator

5 Answers 117 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Richard Slade
Top achievements
Rank 2
Richard Slade asked on 07 Jul 2009, 01:19 PM
Hi,

The Quick Navigator does not always seem to show a preview correctly. Even on your demo application. If you launch two windows, and use the quick navigator, sometimes only the first preview is shown. On other occasions, no preview is shown.

Thanks

Richard

5 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 08 Jul 2009, 11:43 AM
Hi Richard,

The Preview area in the QuickNavigator takes a snapshot of the currently selected window. This snapshot is taken with the following bounds - (0, 0, PreviewSize.Width, PreviewSize.Height). If the associated window's size is currently empty - e.g. if the window's state is AutoHide and it is not displayed or it is a DocumentWindow without any content (child controls) - then the preview will appear empty.

Generally we may consider putting some notification like "No Content to display" so that such confusions do not occur.


Greetings,
Georgi
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Richard Slade
Top achievements
Rank 2
answered on 08 Jul 2009, 01:49 PM
Ive realised that the Quick Navigator cannot preview tabbed MDI Document windows.
I.e - I have an MDI Application with RadDock and AutoDetectMDI on.

If you open a series of forms (that display in the RadDock as tabbed documents) then you only get a preview for the tabbed document that you are on. This is quite confusing as I'd have expected a preview for each of the forms that are open.

Thanks
0
Georgi
Telerik team
answered on 09 Jul 2009, 09:36 AM
Hi Richard,

The problem you described is due to the fact that all the DockWindows excluding the first displayed in the tabstrip are not yet Visible and have empty sizes. Once you navigate all tabs, the Preview will work fine.

We will address this issue in two ways:

- Add property in the QuickNavigatorSettings, named ForceSnapshot, which, if true, will update the size and visibility of the Window, so that a correct snapshot may be taken. This will bring some additional overhead and that is why we will allow our users to specify whether this feature is desired or not. It will be true by default.
- Add event, that will allow users to specify the completely custom image as a preview.

Sincerely yours,
Georgi
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Richard Slade
Top achievements
Rank 2
answered on 09 Jul 2009, 09:48 AM
Ok. Thanks for the reply.
I think the property would be my preference. Might this be in SP1?

Thanks
0
Georgi
Telerik team
answered on 09 Jul 2009, 04:55 PM
Hi Richard,

Yes, we will do our best to address this in the first service pack of Q2 2009, due in a few weeks.

Greetings,
Georgi
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Dock
Asked by
Richard Slade
Top achievements
Rank 2
Answers by
Georgi
Telerik team
Richard Slade
Top achievements
Rank 2
Share this question
or