In my main MDI RadForm, I added a DockingManager. To enhance the application's appearance, I added a background image to the DockingManager via the BackgroundImage property. So far so good, the background image showed up fine.
Then I created a DocumentPane and attached to DockingManager via the SetDocument() method (via code). Also this is working fine. However when I clicked on the close button on the DocumentPane, the background image disappears. I looked at the BackgroundImage property and found the Image still there, just not being drawn or being covered by something else.
I tried several methods such as Refresh, Update, Invalidate on the DockingManager but got no result.
Any idea?
Thanks,
Phi
Then I created a DocumentPane and attached to DockingManager via the SetDocument() method (via code). Also this is working fine. However when I clicked on the close button on the DocumentPane, the background image disappears. I looked at the BackgroundImage property and found the Image still there, just not being drawn or being covered by something else.
I tried several methods such as Refresh, Update, Invalidate on the DockingManager but got no result.
Any idea?
Thanks,
Phi
5 Answers, 1 is accepted
0
Hello Phi,
Please review your post on the BackgroundImage for information on this.
Sincerely yours,
Julian Benkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Please review your post on the BackgroundImage for information on this.
Sincerely yours,
Julian Benkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Phi
Top achievements
Rank 1
answered on 06 Dec 2008, 07:35 PM
Are you talking about the DockPanel.DefaultPresenter post? I cannot find a similar property for the DockingManager.
Phi
Phi
0
Hi Phi,
This property is only used in all IDockable window objects like DockPanel, DocumentPane and etc. The DockingManager is a host container for all IDockable windows.
I hope this was helpful. If you have additional questions, please contact us.
Greetings,
Julian Benkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
This property is only used in all IDockable window objects like DockPanel, DocumentPane and etc. The DockingManager is a host container for all IDockable windows.
I hope this was helpful. If you have additional questions, please contact us.
Greetings,
Julian Benkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Phi
Top achievements
Rank 1
answered on 09 Dec 2008, 04:22 PM
But my problem is with the DockManager, not IDockable object.
Like I stated before, I added a background image to the DockManager. There is no problem with this. The image showed up fine with no IDockable windows. Then I created a new DocumentPanel object and docked with the DockManager. This window covers the entire DockManager's background image. However, when I closed the DocumentPanel window, the background image of the DockManager does not get redraw. I got a blank space instead of the background picture. The image is still associated with the DockManager but it does not get shown.
Phi
Like I stated before, I added a background image to the DockManager. There is no problem with this. The image showed up fine with no IDockable windows. Then I created a new DocumentPanel object and docked with the DockManager. This window covers the entire DockManager's background image. However, when I closed the DocumentPanel window, the background image of the DockManager does not get redraw. I got a blank space instead of the background picture. The image is still associated with the DockManager but it does not get shown.
Phi
0
Phi
Top achievements
Rank 1
answered on 11 Dec 2008, 07:24 PM
In case anybody else may run into similar problem, here is the solution given to me in the support ticket:
As to the question at hand, you can use the following code:
The first line is currently a workaround - in the next release the only needed operation will be to set the TdiContainerVisible property to false.
Phi
As to the question at hand, you can use the following code:
dockingManager1. |
dockingManager1. |
The first line is currently a workaround - in the next release the only needed operation will be to set the TdiContainerVisible property to false.
Phi