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

DocumentPane Activate Event fires twice

3 Answers 62 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 10 May 2009, 12:01 PM
Hi

I am evaluating the docking controls at the moment and have a few issues.

Is there an easy way to tell when a DocumentPane becomes active. There looked to be a promising event on the DockingManager (DockTabChanged) but this doesn't seem to get fired when tabs are added or deleted or the document pane is split.

The DockingWindow activate event seems to allow me to do what I want, but I have to add event handlers to each Document (which is doable but a pain). However the event fires twice for each activation (which is a pain to deal with). This is evident in your TabbedDocument sample (2009 Q1).

Thanks 
   Simon

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 13 May 2009, 01:44 PM
Hello Simon,

I was able to reproduce the described issues regarding the DockTabChanged and Activated events. They will be addressed in the new RadDock control.

I am updating your Telerik points for the report. If you have additional questions, feel free to contact me.

Kind regards,
Nikolay
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
erwin
Top achievements
Rank 1
Veteran
answered on 04 Jun 2009, 10:14 PM
Not only that, in some cases the Activate event and associated painting fires even when the document does not get visible (except for the tab header) at all. With a lot of open documents this leads to unnecessary repainting of the docked documents. This most noticeable if you have controls on your documents that do not support double buffering (for example the Split Bar of the Standard.net Split Container).
When it happens you see a ripple of split bars from docked documents in the background painting through your current foreground window.

0
Nikolay
Telerik team
answered on 12 Jun 2009, 01:25 PM
Hi erwin,

Thank you for the feedback.

As I mentioned in my previous reply, the issues of the old DockingManager will be addressed in the new RadDock control.

If want to share your feedback on the new RadDock Beta, we will be glad to take it.

Regards,
Nikolay
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
Simon
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
erwin
Top achievements
Rank 1
Veteran
Share this question
or