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

Dock Icon on SlidingPane

2 Answers 43 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 13 Sep 2010, 05:24 PM
How do I change the dock icon to an 'X' for close  in the slidingpane?  thanks

2 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 16 Sep 2010, 12:24 PM
Hello Jon,

 I am not completely sure what exactly you mean by "How do I change the dock icon to an 'X' for close  in the slidingpane" and thus I will provide you with some directions for the two possible scenarios understood from your explanations.

1) If you want to have the standard close functionality but not to have the docking functionality you should simply set EnableDock="false" as in the second sliding pane in the demo below:

http://demos.telerik.com/aspnet-ajax/splitter/examples/sp_enableresizedock/defaultcs.aspx

2) If you want to keep the docking functionality but only to change the appearance of the icon, you should override the default background image with CSS and set yours instead e.g as shown below:


.rspSlideHeaderDockIcon,
.rspSlideHeaderUndockIcon
{
   background-image: url(myImage) !important;
}

 

Sincerely yours,
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
Jon
Top achievements
Rank 1
answered on 18 Sep 2010, 02:57 PM
Thanks.. that worked
Tags
Splitter
Asked by
Jon
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Jon
Top achievements
Rank 1
Share this question
or