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

FileBrowserContentProvider - ImageManager always requesting root folder

2 Answers 73 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Pat
Top achievements
Rank 1
Pat asked on 10 May 2011, 10:08 PM
Just realized that while our custom file provider for the various managers like image, documents, etc is working in that it's returning the correct directory structure and I can navigate the tree on the left, it doesn't matter which node on the left I click, when our custom FileBrowserContentProvider class is called at the server, it's always requesting the root directory, so I can't browse any files below the root directory.

What should I look for? What piece of data is the client telerik image manager using to call back to the server? Where is that data coming from?

Frustrating cause the tree on the left is correct, while debugging, I see it loading the tree correctly and also loading all the files for those directories, just that the interface only ever requests the root node.

It use to work, just can't figure out what I changed.

2 Answers, 1 is accepted

Sort by
0
Accepted
Dobromir
Telerik team
answered on 12 May 2011, 01:52 PM
Hi Pat,

This behavior might occur if the content provider does utilize the permissions to the sub folders? Have you overridden the CheckDeletePermissions(), CheckWritePermissions() and CheckReadPermissions() methods? These methods are not required to be overridden but it is highly recommended to do so. Also, the CheckReadPermissions() methods was introduced in version 2010.2.826 of the control.

To be able to provide more to the point answer we will need to examine and debug the custom content provider locally? Could you please provide a sample runnable project implementing the provider?

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.

0
Pat
Top achievements
Rank 1
answered on 13 May 2011, 08:24 PM
That was it.  Thanks!
Tags
Editor
Asked by
Pat
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Pat
Top achievements
Rank 1
Share this question
or