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

Selecting Initial Folder in ImageManager

1 Answer 97 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Felix
Top achievements
Rank 2
Felix asked on 25 Nov 2010, 11:28 AM
Hi Folks,

In Editor we use a Custom File Dialogs Content Provider for the ImageManager.
Now, we try to show a certain directory when opening the ImageManager.

We set the SelectedUrl to some path but it has no influence.
We managed somehow to show the correct files in the right hand panel but on the left hand side always the first folder is selected.

We tried already this:
http://www.telerik.com/support/kb/aspnet-ajax/editor/select-an-image-or-folder-when-imagemanager-is-first-shown.aspx

It doesnt work either, i think because of the Custom Content Provider.

What else can we try?


Thanks a lot
Regards
Felix

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 29 Nov 2010, 08:44 AM
Hi Felix,

I already answered your support ticket on the subject. For convenience I will paste my answer here as well.

You need to set the path in the same format as shown in the RadFileExplorers addressbar. For example, if we need to select the Doggies.jpg file (please refer to this screenshot), then you need to set the initial path as shown bellow:
RadFileExplorer1.InitialPath = "ROOT/Images/Nature/Animals/Doggies.jpg";

In addition, there was a problem with setting properties like InitialPath, EnableCreateFolder before ViewPaths / UploadPaths / DeletePaths in previous versions of RadFileExplorer. If this is the case I recommend you to upgrade to latest version of RadControls for ASP.NET AJAX.


All the best,
Dobromir
the Telerik team
Browse the vast support resources we have to jumpstart 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
Editor
Asked by
Felix
Top achievements
Rank 2
Answers by
Dobromir
Telerik team
Share this question
or