RadDock resizing problem

2 posts, 1 answers
  1. JP
    JP avatar
    120 posts
    Member since:
    Aug 2011

    Posted 26 Aug 2011 Link to this post


    when I resize the raddock to fit it's contents (usually the radDock's width is increaed; the radDock contains a radGrid), the title bar doesn't resize properly.
    The width changes correctly, but the "drag zone" doesn't get wider.
    For example if the radDock's width is increased from 100px to 200px, the left half of the title can be used to drag the radDock (the curser changes to the move icon when hovering) but when I hover the right part of the title it doesn't work.

    After dragging the radDock a bit using the left half of the title, the right part also works correctly.

    What can I do about this issue?
    The resizing is done client side using the set_width property of the rad dock. The function is called by using:


    I also tried using the OnClientInitialize event, but when using that the whole title has no "drag zone" after resizing. Also the title text is missing. But when the RadDock is opened a second time everything works.


    Edit: I just checked something and the problem in OnClientInitialize is the same as in the load event handler. I just set the width to 0 before. It seems that when the radDock is opened and I set the width as described above, the value is not used until the radDock is opened the next time.
  2. Answer
    Dobromir avatar
    1633 posts

    Posted 31 Aug 2011 Link to this post

    Hi JP,

    We are aware of this issue and are working on its fix. Unfortunately, I am unable to provide a firm estimate when it will be available. As a workaround for this problem you can manually call RadDock's repaint() client-side method right after set_width(), e.g.:
    function resizeDock(dock, width)

    Kind regards,
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft R3 2016 release webinar banner
Back to Top