Hi Jim,
The RadFileExplorer is a composite control that uses other controls from the RadControls for ASP.NET AJAX suite (RadGrid, RadTreeView, RadUpload). These controls are simply exposed as properties (e.g. explorer.Upload) so you can fine tune them if needed. Since these are the normal RadControls, we cannot hide any of their normal properties and you see all public members even if they might not be used. The file explorer has a configuration of its own, which takes precedence over the configuration of its child controls. This is why you need to set
explorer.Configuration.SearchPatterns instead of
explorer.Upload.AllowedFileExtensions. You might ask why then we have two properties for the same setting? First of all, this was done so all information about paths and permissions can be easily available in one place (the Configuration property). The second reason is that the same configuration is used in the RadEditor control when setting up its file browser dialogs (Image Manager, Document Manager). In this case you have no easy access to the upload control in the dialog to set AllowedFileExtensions, but you have access to the same Configuration object and you can set
ViewPaths,
SearchPatterns, etc. from there. If you are not sure how to set the configuration, you can always look in our online documentation -
http://www.telerik.com/help/aspnet-ajax/radfileexplorer-getting-started.html
Sincerely yours,
Lini
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.