Hide the X button

3 posts, 1 answers
  1. Mark
    Mark avatar
    132 posts
    Member since:
    Feb 2008

    Posted 30 Apr 2008 Link to this post

    Hi,
    How do i hide the X (close) button.
    All i want is the expnad button

    Thanks
    Mark
  2. Mark
    Mark avatar
    132 posts
    Member since:
    Feb 2008

    Posted 02 May 2008 Link to this post

    anyone ?
  3. Answer
    Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 02 May 2008 Link to this post

    Hi Mark,

    The built-in commands perform their function without any programming on your part. If you are not adding any custom commands to the RadDock control, you can specify which built-in commands using the DefaultCommands property.

    DefaultCommands can be set to any of the following values: None, PinUnpin, ExpandCollapse, Close, All. You can build your own combinations, e.g. DefaultCommands="Close, ExpandCollapse". In your particular scenario you can specify only the expanding behavior by setting DefaultCommands = "ExpandCollapse".

    You can also set the DefaultCommands property which controls the behavior from server - as shown below:

    RadDock1.DefaultCommands = Telerik.Web.UI.Dock.DefaultCommands.Close |  
                              Telerik.Web.UI.Dock.DefaultCommands.PinUnpin;  

    You can find more information about specifying the commands in the RadDock's Titlebar here.

    Best wishes,
    Svetlina
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top