or
| <telerik:RadDock ID="GridDock" Title="Selected Page" Top="150px" Left="400px" style=" margin-left:auto; margin-right:auto; min-width:305px;min-height:200px;" DefaultCommands='PinUnpin' Pinned="false" DockMode="Floating" runat="server" > |
| <Commands> |
| <telerik:DockPinUnpinCommand /> |
| <telerik:DockExpandCollapseCommand /> |
| <telerik:dockcommand autopostback="true" name="addTab" Text="Add new" /> |
| </Commands> |
| <ContentTemplate> |
| <div style="width: 300px; "> |
| <telerik:RadGrid ID="RadGrid2" runat="server" GridLines="None" Width="100%" AutoGenerateColumns="False"> |
You see here that I take 305px for RadDock and 300px for its contentTemplate: its the only way to avoid scrolling bars on each side.
But I have a ugly space on the right of grid.
Thanks for some help fitting perfectly grid in dock independantly of skin.
CS

Legend.Appearance.ItemTextAppearance.MaxLength = 50;
But it is not working.
Is this the best approach or is there another way so that plotarea will not be overlapped by the legend?
