[Bug] Adding Custom Command on Dock

2 posts, 0 answers
  1. jorex
    jorex avatar
    16 posts
    Member since:
    Jan 2009

    Posted 11 May 2009 Link to this post

    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

     

     

  2. jorex
    jorex avatar
    16 posts
    Member since:
    Jan 2009

    Posted 11 May 2009 Link to this post

    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!

    ;)
Back to Top