<telerik:RadSplitter ID="radSplitter" runat="server"> |
<telerik:RadPane ID="paneLeft" runat="server">Left Side</telerik:RadPane> |
<telerik:RadSplitBar ID="splitBar" runat="server" width="20" CollapseMode="Forward" /> |
<telerik:RadPane ID="paneRight" runat="server">Right Side</telerik:RadPane> |
</telerik:RadSplitter> |
16 Answers, 1 is accepted
You can use the following CSS selectors:
<style type="text/css"> |
.rspCollapseBarExpand, |
.rspCollapseBarExpandOver |
{ |
background: #1E90BB url(close.gif) no-repeat 0 0!important; |
height:8px!important; |
width:23px!important; |
} |
.rspCollapseBarCollapse, |
.rspCollapseBarCollapseOver |
{ |
background: #1E90BB url(close.gif) no-repeat 0 0!important; |
height:8px!important; |
width:23px!important; |
} |
.rspResizeBar, |
.rspResizeBarOver, |
.rspCollapseBarWrapper |
{ |
background:#5f5c5a!important; |
height: 8px !important; |
} |
</style> |
You can also set the size of teh splitbar by setting the SpliBarSize property of the splitter as well.
All the best,
Svetlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
The boutons to expand/collapse are very small. Can't i modifie the size of this boutons ?
Thnak you,
Santiago
The embedded buttons are actually images and thus you cannot modify their size by using CSS. However, you can prepare your own images, as big as you need and use the styles I provided in my reply - just put url to your images in the background setting as shown with close.gif image.
Greetings,
Svetlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Since the height in the CSS is 8px and is marked to important.
Best regards,
Santiago.
PS: Yours controls are genial.
You can put whatever pixel value you need in the CSS I have provided. The keyword !important is actually part of the CSS syntax and it is used to give a higher priority to your style and to prevent the default embedded styles to overridde yours. This being said, there is no problem to set, let's say
.rspResizeBar, |
.rspResizeBarOver, |
.rspCollapseBarWrapper |
{ |
background:#5f5c5a!important; |
height: 18px !important; |
} |
as far as you have the !important jkeyword, it will get applied.
You can find more information about this below:
http://webdesign.about.com/od/css/f/blcssfaqimportn.htm
I hope that my explanation and teh provided resource are helpful, let me know if you have additional questions.
Sincerely yours,
Svetlina
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
How can I do this?
Try overriding the default CSS as follows to achieve your scenario.
CSS:
<style type=
"text/css"
>
.RadSplitter_Default .rspResizeBar
{
margin-top
:
0px
!important
;
position
:
fixed
!important
;
}
</style>
Hope this helps.
Regards,
Princy.
Great post !
It work very fine between to vertical pane....but in my page a have also on the top, an RadSplitbar beween 2 horizontal pane
An this one is not changing !
How can I do for applying (one or two css differents)
Thank you for your help and sorry for my English !
The class of the Splitbars placed inside a horizontal Splitter is rspResizeBarHorizontal, so you will need to apply the following styles:
<style type=
"text/css"
>
.RadSplitter_Default .rspResizeBar
{
margin-top
:
0px
!important
;
position
:
fixed
!important
;
}
.RadSplitter_Default .rspResizeBarHorizontal
{
margin-left
:
0px
!important
;
position
:
fixed
!important
;
}
</style>
Regards,
Vesi
the Telerik team
Can you send us the exact configuration and custom styling you are using, so we can examine it and advice you further? Can you test whether switching to Classic render mode resolves the issue?
Regards,
Vessy
Telerik by Progress
Is there a solution for the question above from Aparna?
I am seeing this issue as well, using lightweight rendering. Changing to "Classic" does appear to resolve it. I'm using the "Simple" skin, I've tried several others but the skin doesn't appear to matter.
Hello
I have a css file that control my split bar
/* SplitBar VERTICAL */
.rspCollapseBarExpand, .rspCollapseBarExpandOver {
/* SplitBar Fermé */
background: url('../../Images/Detail.png') no-repeat center 0 !important;
height: 260px !important;
width: 5px !important;
}
.rspCollapseBarCollapse, .rspCollapseBarCollapseOver {
background: #1E90BB !important;
height: 100px !important;
width: 5px !important;
}
/* SplitBar HORIZONTAL */
.rspCollapseBarHorizontalExpand, .rspCollapseBarHorizontalCollapse {
/* SplitBar Fermé */
background: url('../../Images/DetailRecherche.png') no-repeat center 0 !important;
height: 5px !important;
width: 300px !important;
}
Note that I you want to know what fonction you need to use
In FF open the developpement tool, and inspect element... it show all fonctions used
Hope this function help you
Anne
Thanks Anne,
The issue appears to be that both images are being rendered. Mine set via the background tag as well as the original Telerik image. Only happens with lightweight rendering. What rendering mode are you using?
Hi Ralt
I m not sure, but I think it was lightweight rendering
I leave my job this night and i remove all files on my computer
Sorry