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

[Bug] Adding Custom Command on Dock

1 Answer 66 Views
Dock
This is a migrated thread and some comments may be shown as answers.
jorex
Top achievements
Rank 1
jorex asked on 11 May 2009, 07:09 AM
Hi,

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

 

 

1 Answer, 1 is accepted

Sort by
0
jorex
Top achievements
Rank 1
answered on 11 May 2009, 07:37 AM
this problem has been solved... i found out that the page was not compliant to the new version of Telerik control... i still have the "HTML 4.0" DocType which i changed to XHTML 1.0 and turned out to be OK!

;)
Tags
Dock
Asked by
jorex
Top achievements
Rank 1
Answers by
jorex
Top achievements
Rank 1
Share this question
or