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

Rad file explorer toolbar not showing add new folder icon

3 Answers 183 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Praveen
Top achievements
Rank 1
Praveen asked on 18 Oct 2011, 08:37 AM
Hi,

I have a telerik 35 version and a rad file explorer with following configurations in code behind:

oCmsBusiness =

 

new cmsBusiness();

 

fileExplorerFiles.Configuration.ContentProviderTypeName =

 

typeof(DBContentProvider).AssemblyQualifiedName;

 

olistCmsFolder = oCmsBusiness.ReadAllRootFolders();

 

 

var query = from entity in olistCmsFolder select entity.FolderName;

 

fileExplorerFiles.Configuration.ViewPaths = query.ToArray();

fileExplorerFiles.Configuration.UploadPaths = query.ToArray();

fileExplorerFiles.Configuration.DeletePaths = query.ToArray();

I am also set

 

fileExplorerFiles.EnableCreateNewFolder =

 

true;

 

My problem is during run time the Add folder icon is not showing in radfile tool bar and in context menu.In design time its showing.
Please help.

Regards,
Praveen.

3 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 20 Oct 2011, 09:21 AM
Hi Praveen,

Are you using the DBContentProvider from this code library or you are using completely custom content provider? I tried the content provider from the code library but was not able to reproduce the problem.

If you are using modified version or a completely custom provider, I would suggest you to check if the CheckWritePermissions() and CheckReadPermissions() methods are returning proper values.

Kind regards,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Praveen
Top achievements
Rank 1
answered on 20 Oct 2011, 11:41 AM
I am using custom DBContect provider with the following permission methods


 public override bool CheckDeletePermissions(string folderPath)
        {
            return true;
        }

        public override bool CheckWritePermissions(string folderPath)
        {
            return true;
        }

        public override bool CheckReadPermissions(string folderPath)
        {
            return true;
        }
0
Dobromir
Telerik team
answered on 25 Oct 2011, 08:19 AM
Hi Praveen,

This is very odd, using the above mentioned override you should not face the reported problem. However, to be able to provide any further assistance we will need to examine the custom content provider. Could you please open a formal support ticket and send a sample fully runnable project reproducing the problem?

Regards,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
General Discussions
Asked by
Praveen
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Praveen
Top achievements
Rank 1
Share this question
or