I would like to know if the radFileExplorer can have a preview on the document uploaded in the sharepoint document library?
And can the RadFileExplorer also carry over the permission of the sharepoint folder/sub folders when it renders the treeview for specific users?
Thanks,
Jo
3 Answers, 1 is accepted
0
Dobromir
Telerik team
answered on 28 Oct 2011, 02:36 PM
Hi Jo,
By design, the built-in Preview dialog of RadFileExplorer works with images and text files(txt) for all other file types a download dialog is prompted - thus if the item in the library is an image or text file it will be displayed in the Preview Dialog.
Regarding the permissions, the SPContentProvider from the following blog post is taking into account user's permissions when displaying libraries. If you are not using this provider I would strongly recommend to switch to it. Using the RadFileExplorer for ASP.NET AJAX in SharePoint 2010 web parts
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
Thanks for the reply. So knowing that SPContentProvider will take into account the user's permission, can we also hide buttons in the toolbar, depending on the permission? let's say i want to hide the delete?
And are search the treeview and drag and drop feature available on this control? can we drag and drop folders in the webpart and this will also reflect on the document library?
Lastly, do we need to purchase the whole radcontrols to be able to use this, or there is a separate purchase only for the radfileexplorer?
Thanks,
Jo
0
Dobromir
Telerik team
answered on 02 Nov 2011, 02:31 PM
Hi Jo,
Straight to the questions:
The Toolbar buttons and context menus for Delete and Upload will be visible only if the user have proper permissions to apply these operations
RadFileExplorer offer Drag&Drop Copy functionality, but it is only available from nested controls - you can drag and drop items from the Grid to the Tree, and from the Tree to the Tree. To enable this functionality you need to set RadFileExplorer's EnableCopy property to True.
We offer our UI controls in packages because all of the individual controls share common frameworks/resources in their respective product suite (RadControls for ASP.NET Ajax in your case). That is one of the key reasons why separation is not possible and we package all 70+ controls together.
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