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

Varible height for the dynamically created RadDoc

2 Answers 35 Views
Dock
This is a migrated thread and some comments may be shown as answers.
prayag ganoje
Top achievements
Rank 1
prayag ganoje asked on 28 Mar 2011, 07:22 PM
Hello,

I am creating raddocs dynamically. I do have dynamic radzones. Also I wish to create raddocs with varible height dynamically. Its height should get varied as per the contents inside it.

If I do not set the height of raddoc while creating it dynamically then it set to some default value and displayes scrollbar.

Prayag

2 Answers, 1 is accepted

Sort by
0
Accepted
Pero
Telerik team
answered on 29 Mar 2011, 06:34 PM
Hello Prayag,

This should not happen by default. I tested our MyPortal demo to see if I can recreate the issue there, but the
Height is adjusted according to the content within the docks. Could you please provide more information about the problem? If possible send us a sample code that shows the issue.
You could enforce height: auto to all docks on the page using the following CSS:
.RadDock
{
    height: auto !important;
}

Greetings,
Pero
the Telerik team
0
prayag ganoje
Top achievements
Rank 1
answered on 29 Mar 2011, 07:57 PM
Thanks Pero. This CSS solved the problem. Bravo!
Tags
Dock
Asked by
prayag ganoje
Top achievements
Rank 1
Answers by
Pero
Telerik team
prayag ganoje
Top achievements
Rank 1
Share this question
or