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

Dock performance issue

2 Answers 56 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Hrvach
Top achievements
Rank 1
Hrvach asked on 21 Jul 2012, 05:08 PM
Hello!

I'm experiencing serious Dock performance issues and I'm afraid that things might get even worse so any help is appreciated. 

I'm using Docks to create employee's schedule/to-do list  which means that each employee has about 50-60 visible Docks on his screen at a time. The problem is, as I assume, that old docks that are closed slow down loading of opened ones and because of it loading takes about 30 seconds which is far too much for a business application.

What I'd need is to suggest me the best practice on how to fix this.

Thank you!

Regards,

Hrvoje

2 Answers, 1 is accepted

Sort by
0
Accepted
Slav
Telerik team
answered on 24 Jul 2012, 11:11 AM
Hello Hrvoje,

When a RadDock is closed, the CSS style display: none; is applied to the rendered dock control. This means that the objects of the RadDocks and their content, in which most probably you are loading additional controls, still exist on the page. To ensure that the RadDock's object is disposed when the control is closed, I would suggest performing a request to the server and setting the Visible property of the closed RadDock to false. This approach will most probably decrease the loading time for opening a new dock control. The online demo My Portal implements it so you can use it as a reference for your further development.

Kind regards,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Hrvach
Top achievements
Rank 1
answered on 24 Jul 2012, 06:17 PM
Hello Slav,

thank you for the response and the answer to my problem. I must have overlooked that closing RadDock only sets CSS tag display to none.

Regards,

Hrvoje
Tags
Dock
Asked by
Hrvach
Top achievements
Rank 1
Answers by
Slav
Telerik team
Hrvach
Top achievements
Rank 1
Share this question
or