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

RadSlidingPane: Different Text on side than on top?

3 Answers 43 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 26 Aug 2010, 09:41 PM
Could you take a look at this image I've prepared: http://mwtech.com/downloads/public/RadSlidingPaneExample.jpg

With the RadSlidingPane is there a way to have different text on the side than on the top?

Robert

3 Answers, 1 is accepted

Sort by
0
Accepted
Dobromir
Telerik team
answered on 30 Aug 2010, 12:27 PM
Hi Robert,

The required functionality is not supported by RadSplitter out-of-the-box. Nevertheless, you can achieve this using one of the following approaches:
  • Configuring RadSlidingPane to display image instead of text in the Tab, e.g.:
    <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Title="Pane's Title" TabView="ImageOnly" IconUrl="path_to_image">
    .....
  • Manually change the Text displayed in the sliding pane's titlebar, e.g.:
    function splitterLoad(splitter, args)
    {
        var slidingZone = $find("<%=RadSlidingZone1.ClientID%>"); //get reference to the sliding zone
        var slidingPane = slidingZone.getPaneById("RadSlidingPane1"); //get reference to the sliding pane
        var titleContainer = slidingPane.getSlidingContainerTitle(); //get reference to the DOM element containing the title
        titleContainer.innerHTML = "New Title"; //set the new title
    }

I hope this helps.

Best wishes,
Dobromir
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
Robert
Top achievements
Rank 1
answered on 30 Aug 2010, 10:20 PM
Dobromir,

Thank you so much!

I adapted your code for my needs.

It worked great!!

Robert
0
Robert
Top achievements
Rank 1
answered on 31 Aug 2010, 02:43 AM

Tags
Splitter
Asked by
Robert
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Robert
Top achievements
Rank 1
Share this question
or