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

Can't open folders in a RadWindow

1 Answer 92 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
EET Group
Top achievements
Rank 2
EET Group asked on 23 Jun 2010, 12:25 PM
I have my FileExplorer nested in a RadWindow, but no matter what I try, I can't open folders?

I can create/delete a folder, but when I double click or right click>open, nothing happens? Therefore I don't think it's a rights issue, and I have had success moving the FileExplorer unchanged to an empty page outside any RadWindow, where I could open the folders no problem.

My code is:

    <telerik:RadWindow runat="server"  
        Width="800px" Height="541px" VisibleStatusbar="false" 
        ID="winFileExplorer" Modal="true" Behaviors="Close" 
        Title="Select image"
        <ContentTemplate> 
            <div class="floatr" style="width:210px;"
            <fieldset> 
                <legend>Preview</legend> 
                <div class="c"><asp:Image ID="imgPreview" runat="server" style="margin:10px 0;max-width:180px;max-height:500px;" /></div
            </fieldset> 
            </div> 
            <telerik:RadFileExplorer ID="fileExplorer" runat="server"  
                Width="570" TreePaneWidth="150"  
                ExplorerMode="Default" VisibleControls="ContextMenus,Toolbar,Grid" DisplayUpFolderItem="true" 
                EnableOpenFile="true" EnableCreateNewFolder="true" 
                OnClientItemSelected="OnClientItemSelected" OnClientFileOpen="OnFileOpen"
            </telerik:RadFileExplorer> 
        </ContentTemplate> 
    </telerik:RadWindow> 

Paths are set server-side, but there's no change if I put them in directly. What could be wrong??

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 25 Jun 2010, 03:19 PM
Hi Buffer,

We are aware of such behavior and it is caused by the fact that the RadWindow calls DataBind method of its child elements. We will change this behavior, however, in order to avoid such calls, but the changes will be available in the next official release of the controls (scheduled for the middle of July). For the time being I recommend you to move the RadFileExplorer to an external page and open the page using the RadWindow's NavigateUrl property.

I hope this helps.

All the best,
Fiko
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
EET Group
Top achievements
Rank 2
Answers by
Fiko
Telerik team
Share this question
or