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

Hide SlidingPane header

2 Answers 24 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
WombatEd
Top achievements
Rank 1
WombatEd asked on 27 May 2010, 05:44 AM
I don't know what you call the part of a SlidingPane that contains the close and dock buttons, but I'd like to hide it.
Server-side would be preferable.

TIA,

  Ed

2 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 01 Jun 2010, 09:25 AM
Hello WombatEd,

As far as I understand you want to remove the titlebar of the RadSlidingPane. By design the RadSplitter does not offer removing the titlebar but you can achieve what you need by going through the following steps:

1) set EnableDock="false" for all the sliding panes
2) Include the following CSS in the page's head:

<style type="text/css"
        .rspSlideHeaderIconWrapper, .rspSlideTitleContainer 
        
            
            display: none !important
        
            
        .rspSlideTitle, .rspSlideTitleContainer 
        
            background-image: none !important
            height: 1px !important
        
    
    </style>


Note the usage of the keyword !important because if you miss it, your custom settings will get overridden by the default ones and you will not get the desired result.

The solution I  prepared for you and suggested works fine on my side, let me know whether tit works for you as well. Note, also that I tested with the version you have selected - if you are using a very old version the CSS selectors might be different.




Kind regards,
Svetlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Ed McCarroll
Top achievements
Rank 1
answered on 01 Jun 2010, 11:59 PM
Thanks, Svetlina.  That worked.
Tags
Splitter
Asked by
WombatEd
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Ed McCarroll
Top achievements
Rank 1
Share this question
or