file explorer splitter in RightToLeft direction

2 posts, 0 answers
  1. Hamdy
    Hamdy avatar
    41 posts
    Member since:
    Dec 2009

    Posted 23 Mar 2010 Link to this post

    I have a  page with a file exploere
    and this page will be Arabic version
    so I have to change the direction to Right
    The problem now about the splitter

    the splitter is doing the reverse action , closing the grid and open the tree view
  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 26 Mar 2010 Link to this post

    Hi Hamdy,

    RadFileExplorer does not have an exposed property to control the splitbar collapsing direction. In order to change this behavior you need to set the CollapseMode to the Backward in the code behind, e.g.:

    for (int i = 0; i < RadFileExplorer1.Splitter.Items.Count; i++)
        RadSplitBar item = RadFileExplorer1.Splitter.Items[i] as RadSplitBar;
        if (item != null)
            if (item.CollapseMode == SplitBarCollapseMode.Forward)
                item.CollapseMode = SplitBarCollapseMode.Backward;
            else if (item.CollapseMode == SplitBarCollapseMode.Backward)
                item.CollapseMode = SplitBarCollapseMode.Forward;

    You can find a sample project attached.

    Best wishes,
    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.
Back to Top