i have created dockable DIV inside raddock with controls inside DIV, after doing that i have noticed the extra space in radContent, i tried applying css but not got the result as i expected, for your reference i am attaching the output modified image.
my problem is i want radDock to fit the width with the DIV no extra space required outside the div.
check the image[i have specified background for content to silver color] its appearing right side and bottom side of the DIV
CSS applied for DOCK.
aspx code
my problem is i want radDock to fit the width with the DIV no extra space required outside the div.
check the image[i have specified background for content to silver color] its appearing right side and bottom side of the DIV
CSS applied for DOCK.
.profileBlue
{
width: 126px;
}
.profileBlue .top
{
width: 126px;
height: 8px;
background: url(/images/profileBlueTop.jpg) no-repeat top left;
}
.profileBlue .middle
{
width: 106px;
background-color: #cde6ec;
height: auto;
padding: 0 10px 0 10px;
word-wrap: break-word;
color: #323232;
line-height: 20px;
}
.RadDock .rdLeft, .RadDock .rdRight, .RadDock .rdBottom, .RadDock .rdTop
{
display: none !important;
}
.RadDock .rdContent
{
background-color: Silver;
}
.RadDockZone
{
width: 140px;
}
</
style
>
<
script
type
=
"text/javascript"
>
function SetHandleDock(dock, args) {
dock.set_handle(document.getElementById("Handle_" + dock.get_id()));
}
</
script
>
aspx code
<
telerik:RadDockZone
ID
=
"RadDockZone1"
runat
=
"server"
>
<
telerik:RadDock
ID
=
"RadDock1"
runat
=
"server"
DockHandle
=
"None"
OnClientInitialize
=
"SetHandleDock"
Index
=
"0"
EnableRoundedCorners
=
"True"
DockMode
=
"Docked"
> <
ContentTemplate
>
<
div
class
=
"profileBlue"
>
<
div
id
=
"Handle_RadDock1"
style
=
"cursor: move;"
class
=
"top"
>
</
div
>
<
div
class
=
"middle"
>
- - - - - - - my code ---
</
div
>
</
div
>
</
ContentTemplate
>
</
telerik:RadDock
>