optimising RadDock

5 posts, 2 answers
  1. Atiq Ur Rehman
    Atiq Ur Rehman avatar
    66 posts
    Member since:
    Jul 2004

    Posted 12 Aug 2008 Link to this post

    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
  2. Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 13 Aug 2008 Link to this post

    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.
  3. Atiq Ur Rehman
    Atiq Ur Rehman avatar
    66 posts
    Member since:
    Jul 2004

    Posted 13 Aug 2008 Link to this post

    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
  4. Answer
    Sophy
    Admin
    Sophy avatar
    636 posts

    Posted 15 Aug 2008 Link to this post

    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.
  5. Answer
    Atiq Ur Rehman
    Atiq Ur Rehman avatar
    66 posts
    Member since:
    Jul 2004

    Posted 15 Aug 2008 Link to this post

    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
Back to Top