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

upgrade to Q# adds scrollbar to dock

2 Answers 55 Views
Dock
This is a migrated thread and some comments may be shown as answers.
moegal
Top achievements
Rank 1
moegal asked on 28 Oct 2012, 03:19 PM
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 Answers, 1 is accepted

Sort by
0
moegal
Top achievements
Rank 1
answered on 28 Oct 2012, 03:26 PM
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;}  
</style> 
0
Slav
Telerik team
answered on 31 Oct 2012, 12:51 PM
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.

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.
Tags
Dock
Asked by
moegal
Top achievements
Rank 1
Answers by
moegal
Top achievements
Rank 1
Slav
Telerik team
Share this question
or