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

Localization for RadSplitter

1 Answer 35 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
July
Top achievements
Rank 2
July asked on 08 Aug 2011, 07:48 PM
I imnplement culture dynamically for all the controls.
But I didn't found the way to change the culture for RadSplitter.

How I can do this?

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 10 Aug 2011, 04:44 PM
Hi Julieta,

In order to localize RadSplitter you need to set the corresponding properties to its child controls. Here is the list of the properties for each child control:

RadSlidingPane
  • CollapseText - the tooltip displayed for the Collapse button
  • DockText - the tooltip displayed for the Dock command
  • ResizeText - the tooltip displayed for the Resize
  • UndockText - the tooltip displayed for the Undock command
RadSplitBar
  • CollapseExpandPaneText - The tooltip displayed for the Collapse / Expand buttons
  • AdjacentPanesNames-BottomPaneName - The name of the bottom pane displayed in the Collapse / Expand tooltip.
  • AdjacentPanesNames-TopPaneName - The name of the top pane displayed in the Collapse / Expand tooltip.
  • AdjacentPanesNames-LeftPaneName - The name of the left pane displayed in the Collapse / Expand tooltip.
  • AdjacentPanesNames-RightPaneName - The name of the right pane displayed in the Collapse / Expand tooltip.
If you are using resource files the splitter you can set the values of these properties as follows and they will use the value of the Page's UICulture property:
<telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Height="100%">
    <telerik:RadPane ID="RadPane1" runat="server" Width="22px">
        <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server">
            <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Title="Pane1"
                CollapseText="<%$ Resources:RadSlidingPane, CollapseText %>" DockText="<%$ Resources:RadSlidingPane, DockText %>"
                ResizeText="<%$ Resources:RadSlidingPane, ResizeText %>" UndockText="<%$ Resources:RadSlidingPane, UndockText %>"
                >
            </telerik:RadSlidingPane>
        </telerik:RadSlidingZone>
    </telerik:RadPane>
    <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseExpandPaneText="<%$ Resources:RadSplitBar, CollapseExpandText %>">
        <AdjacentPanesNames
            BottomPaneName="<%$ Resources:RadSplitBar, BottomPaneName %>"
            TopPaneName="<%$ Resources:RadSplitBar, TopPaneName %>"
            LeftPaneName="<%$ Resources:RadSplitBar, LeftPaneName %>"
            RightPaneName="<%$ Resources:RadSplitBar, RightPaneName %>" />
    </telerik:RadSplitBar>
    <telerik:RadPane ID="RadPane2" runat="server">
    </telerik:RadPane>
</telerik:RadSplitter>

I hope this helps.

Regards,
Dobromir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Splitter
Asked by
July
Top achievements
Rank 2
Answers by
Dobromir
Telerik team
Share this question
or