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

optimising RadDock

4 Answers 80 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Atiq Ur Rehman
Top achievements
Rank 1
Atiq Ur Rehman asked on 12 Aug 2008, 09:23 AM
Hi, I am using raddocks in one of my project. The problem is sometime I have to load around 150/200 docks on a page, which makes the page very slow. I have disabled view state as well for all of these docks but it's still slow.
Is there anyway I can make it quick. All the docks are not really big as well they only contain some text in title and some text in the content.
Any help suggestion would be helpfull.

Thanks
Atiq

4 Answers, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 13 Aug 2008, 03:57 PM
Hi Atiq,

The number of docks you mention that you have on the page is too big and it is normal to make the loading of the page slower. When the RadDock control is dragged or any other operations with the control are executed it is needed to go through all the controls in order to make some check-ups. Why do you need to add so many docks on the page? We do not recommend using more than 20-30 docks on a page. A larger number than that is certainly not very convenient for the user either.

Best wishes,
Sophy
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Atiq Ur Rehman
Top achievements
Rank 1
answered on 13 Aug 2008, 04:29 PM
hi,

Ok I am using them to re arrange the order. I have some rows in the database which have a column called order (int). The order is basically the order of all the rows. What I want is, to show all the rows in order in the form of docks to the user and then they can drag the docks up and down to change the order. There is a button which when user clicks, it loops through the dock zone and saves the order of all the docks.
Is there any better way of doing this? Can I do this in Grid? Any help would be great. Normally its just text in the docks content but sometime there can be controls (textbox, dropdownlist) as well in content.

Thanks
Atiq
0
Accepted
Sophy
Telerik team
answered on 15 Aug 2008, 12:32 PM
Hello Atiq,

I suggest you try to achieve the desired functionality using RadGrid for ASP.NET AJAX. You can use the Items drag and drop online demo for reference. It demonstrates a similar scenario to the one you describe.
If you experience any difficulties with the implementation of this functionality, do contact us again.

Sincerely yours,
Sophy
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Accepted
Atiq Ur Rehman
Top achievements
Rank 1
answered on 15 Aug 2008, 01:31 PM
Hi,

Thanks for the help. I have already done it this way. I didn't look at the new features of grid. It's looking great now.

thanks for the help
Atiq
Tags
Dock
Asked by
Atiq Ur Rehman
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Atiq Ur Rehman
Top achievements
Rank 1
Share this question
or