There is a radfileexplorer in my webpage which works ok but I am trying to display a local disk also in that control. Given physical path like D:\ but in vain. What can I do to achieve this?
The default content provider of the file explorer control only works
with files and folders from the current web application. You cannot
access files on another computer or on a different drive.
What you can do in this case is open the IIS configuration and create a
virtual folder in your web application, which points to the files on the
local drive. Make sure that the appropriate ASP.NET windows user has
permissions to at least read the files on the local drive folder. Otherwise
you might see "access is denied" errors when you try to browse with the
file explorer control.
Thanks,
Shinu.
0
Vessy
Telerik team
answered on 30 Jul 2013, 02:23 PM
Hello Merin,
Just in addition to the Shino's answer - another possible option to list physical paths' content in RadFileExplorer is to implement a custom content provider, ensuring that all permissions to the pointed folders are set correctly. A sample implementation of such a provider is available in this KB article: Use RadFileExplorer with physical and shared folder's paths
Kind Regards,
Veselina Raykova
Telerik
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 the blog feed now.