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

file explorer splitter in RightToLeft direction

1 Answer 49 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Hamdy
Top achievements
Rank 1
Hamdy asked on 23 Mar 2010, 02:40 PM
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

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 26 Mar 2010, 10:21 AM
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,
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.
Tags
FileExplorer
Asked by
Hamdy
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or