There seems to be a bug on the new version of the Dock Control. Previous version our Docks are working fine, and now the command buttons are not showing correctly (pls. see screenshot):
http://img26.imageshack.us/my.php?image=bug1jeu.jpg
Code are as follows:
RadDock dockableObject = new RadDock();
dockableObject.Visible = true;
dockableObject.Style["margin-top"] = "5px";
DockCommand cmdWebPart = new DockCommand();
DockCloseCommand cmdCloseCommand = new DockCloseCommand();
DockExpandCollapseCommand cmdExpandCollapse = new DockExpandCollapseCommand();
cmdWebPart.Text = "View Information";
dockableObject.Commands.Add(cmdWebPart);
dockableObject.Commands.Add(cmdCloseCommand);
dockableObject.Commands.Add(cmdExpandCollapse);
cmdCloseCommand.AutoPostBack = true;
Whenever i add commands dynamically, command buttons are not showing up correctly even if im using default skins.
Your response is truly appreciated.
Thanks,
Rex