如何在RAD文件资源管理器搜索当前文件夹包括子文件夹 [英] How to search in rad file explorer for current folder including sub folders

查看:164
本文介绍了如何在RAD文件资源管理器搜索当前文件夹包括子文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用RAD文件浏览器过滤器,它需要寻找当前目录中包括子文件夹items.Currently我只能在主文件夹中搜索但不是子文件项目使用内置的过滤器box.Some身体帮我请。

I want to use filter in rad file explorer which needs to search current directory including sub folders items.Currently i can search in only main folder but not sub folders items using built in filter box.Some body help me please

推荐答案

这是不可用OOB,因为这很可能会导致性能问题。不过,你可以创建这样的功能自己:

That is not available OOB because it is likely to cause performance issues. Nevertheless, you can create such functionality yourself:


  1. 实现自定义的 FileSystemContentProvider ,覆盖在 ResolveDirectoryAsTree() ResolveDirectory()方法的方式,在此帮助说明文章:的http://www.telerik.com/help/aspnet-ajax/fileexplorer-custom-filebrowsercontentprovider.html

  1. Implement a custom FileSystemContentProvider, overriding the ResolveDirectoryAsTree() and ResolveDirectory() methods in the way, described in this help article: http://www.telerik.com/help/aspnet-ajax/fileexplorer-custom-filebrowsercontentprovider.html

呼叫递归 ResolveDirectoryAsTree() ResolveDirectory()从内容提供商,以便采取所有列出的引用的方法文件和文件夹(例如base.ResolveDirectoryAsTree())。一旦你收集所有需要的数据在一个地方,你可以通过它的项目的搜索。尽管这种实现的准确性,请注意此信息收集将是一个缓慢的过程,你可能达到的性能问题。

Call recursively the ResolveDirectoryAsTree() and ResolveDirectory() methods from your content provider in order to take references to all listed files and folders (e.g. base.ResolveDirectoryAsTree()). Once you gather all the needed data to one place you can make a search through the items in it. Despite of the accuracy of such an implementation, note that this information-gathering would be a slow process, and you might meet performance issues.

您可以找到有关以下帮助文章中的自定义命令的详细信息:的http://www.telerik.com/help/aspnet-ajax/fileexplorer-add-custom-button-context-menu-item.html

You can find more detailed information regarding the custom commands in the following help article: http://www.telerik.com/help/aspnet-ajax/fileexplorer-add-custom-button-context-menu-item.html

有可能会通过其他方式来完成这件事,但我不知道他们。

There may be other ways to get this done, but I do not know them.

这篇关于如何在RAD文件资源管理器搜索当前文件夹包括子文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆