Localization for RadSplitter

2 posts, 0 answers
  1. July
    July avatar
    205 posts
    Member since:
    Jul 2011

    Posted 08 Aug 2011 Link to this post

    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?

  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 10 Aug 2011 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top