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

RadDockableWorkSpace problem

3 Answers 78 Views
CAB Enabling Kit
This is a migrated thread and some comments may be shown as answers.
Sylvester Bos
Top achievements
Rank 1
Sylvester Bos asked on 11 Mar 2008, 01:27 PM

Hello,

The DockingSmartPartInfo is somehow being applyed too late (after the view is visible), making the view being shown on a small size and after loading it's shown with the Fill option as i ddi Dockposition.Fill.

It would had been nice to be able to use an interface like IDockingSmartPartInfo on the View itself.

DockingSmartPartInfo ovzRelatieInfo = new DockingSmartPartInfo();
ovzRelatieInfo.Title =
"Overzicht relaties";
ovzRelatieInfo.TabStripVisible =
false;
ovzRelatieInfo.Width = 700;
ovzRelatieInfo.Height = 500;
ovzRelatieInfo.DockPosition = Telerik.WinControls.Docking.
DockPosition.Fill;
this.ShowViewInWorkspace<OvzRelatieView>("OvzRelatie", WorkspaceNames.DockableWorkspace, ovzRelatieInfo);

3 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 13 Mar 2008, 01:04 PM
Hello Sylvester Bos,

I investigated the code in CAB and TCEK and there is only one call to the SetDock method in
RadDockableWorkSpace.cs file, RadDockableWorkspace class, SetWindowProperties method, line 187:

this.dockManager.SetDock(dockable, parentDockable, smartPartInfo.DockPosition);

The issue that you have may be due to a layout issue in RadDock. In order to help me investigate whether this is the case, please send me your docking setup, i.e. how many dockables (smart parts) you have, what dock settings they have, in what order do you dock them.

I'm looking forward to your response.

Best wishes,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Sylvester Bos
Top achievements
Rank 1
answered on 14 Mar 2008, 09:45 AM
Hello Jordan,

At the moment we are looking at Infragistics as well, i don't like the way those components work but they seem to work with alot of programming. Sadly to say that im not sure if they are better or not.

Telerik for sure is better on ASP.NET but maybe not on Winforms (or WPF?)

Aside from that, here is my feedback about this bug / issue.

The Shelllayout has only 1 DockableWorkspace and only 1 view is being added in a seperate ModuleController. This view is using a injected service which fetches so much data that it takes 1 รก 2 seconds. The RadGrid is filled with 6000 rows. After getting the data the view is being placed in a small size (i don't know why) and then DockPosition.Fill is being applyed somehow in RadDock.

Greetings
0
Jordan
Telerik team
answered on 17 Mar 2008, 11:36 AM
Hello Sylvester Bos,

First off, I'd like to apologize for the delay in my response.

Regarding the issue you described - it is possible that the heavy content of your smart part (RadGridView with 6000 rows) causes the effect that you are observing.

The upcoming Q1 2008 release will feature a re-engineered RadGridView control that will be much faster and more stable. I encourage you to take a look at the beta that we released a couple of weeks ago to get an idea of the performance improvements.

If you are still interested in TCEK I will gladly help you to further investigate your issue. But to be able to do that I will need additional information about the order of loading and displaying your smart part. With this information I will be able to reproduce your scenario locally and identify the reason for this issue.

A code sample will be best, but if you can not send code I suppose that a list of steps will be fine.

I'm looking forward to your response.

Greetings,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
CAB Enabling Kit
Asked by
Sylvester Bos
Top achievements
Rank 1
Answers by
Jordan
Telerik team
Sylvester Bos
Top achievements
Rank 1
Share this question
or