【问题标题】:How do you set a path in Telerik RadFileExplorer to be Read Only?如何将 Telerik RadFileExplorer 中的路径设置为只读?
【发布时间】:2012-09-29 14:51:59
【问题描述】:

现在,我在我的网站上设置了 Telerik 的 RadFileExplorer。我选择一堆文件并对它们执行各种操作。其中一项操作是客户端事件,其中任何已“翻译”的文件都被移动到子目录中。

我希望我的客户能够查看此子目录,但不再对其中的文件进行操作。所以,澄清一下。他们可以对一个文件夹中的文件进行操作,但不能对该文件夹中的文件夹进行操作。

我在 Telerik 的论坛上找不到任何文档或帮助。

谢谢,伙计们。

【问题讨论】:

    标签: c# asp.net html web-services telerik


    【解决方案1】:

    文件夹权限继承自您在 ViewPaths、DeletePaths 和 UploadPaths 属性中设置的权限。为了将它们更改为子文件夹,您需要一个自定义内容提供程序来为您提供所需的功能。您可以在以下资源中找到如何实现的示例:

    http://www.telerik.com/support/kb/aspnet-ajax/fileexplorer.aspx

    http://www.telerik.com/community/code-library/aspnet-ajax/file-explorer.aspx

    更准确地说是这个:

    http://www.telerik.com/support/kb/aspnet-ajax/fileexplorer/physical-paths-and-different-content-types.aspx

    这篇文章更详细地解释了薄:

    http://www.telerik.com/help/aspnet-ajax/fileexplorer-custom-filebrowsercontentprovider.html

    【讨论】:

      猜你喜欢
      • 2016-01-02
      • 1970-01-01
      • 1970-01-01
      • 2017-09-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-05-17
      • 2017-03-02
      相关资源
      最近更新 更多