upgrade to Q# adds scrollbar to dock

3 posts, 0 answers
  1. moegal
    moegal avatar
    274 posts
    Member since:
    Jul 2007

    Posted 28 Oct 2012 Link to this post

    I just upgraded to Q3 (I had to uninstall Kendo to stop VS2012 from crashing)

    I noticed my dock now has a scroll bar, I tried to add overflow: hidden; but that broke all of the form decorations in the dock.

    I am dynamically creating the form elements. The dock height cannot be fixed, the height varies.
    It worked fine in Q2.

    I need to remove the unwanted scroll bar in IE9.

    thanks, Marty
  2. moegal
    moegal avatar
    274 posts
    Member since:
    Jul 2007

    Posted 28 Oct 2012 Link to this post

    seems that by placing the following "style" tags any where on the page prevents the dock from using the form decorator. I temporarily added the css to my external css file and it seems to work for now

    <style type="text/css">    
        .RadDock .rdContent {overflow: hidden !important;}  
  3. Slav
    Slav avatar
    1359 posts

    Posted 31 Oct 2012 Link to this post

    Hi Marty,

    The scrollbar usually appears when the RadDock has fixed height and there is not enough space to display all of its content.

    I tried to reproduce your problem by creating a dock and adding a content dynamically, but to no avail. Please compare the attached sample with your actual project and check if there are differences in the setup. Here you can check the behavior of the dock on my end.

    I would suggest checking if there are custom styles on the page that are affecting the skins of RadDock. If the problem persists please open a support ticket and modify the attached page in order to match your scenario. In case this is not possible, you can also send a simple, runnable page that isolates the problem so that I can inspect it locally and provide a concrete solution.

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