I have implemented a custom content provider and trying to use it with the RadFileExplorer:
| RadFileExplorer1.Configuration.ContentProviderTypeName = typeof(DBFileContentProvider).AssemblyQualifiedName; |
However, I get an error:
Constructor on type 'MySequenom.Data.DBFileContentProvider' not found.
My provider does have a contrstructor so I am unsure what the problem is.
| public DBFileContentProvider(HttpContext context, string[] searchPatterns, string[] viewPaths, string[] uploadPaths, string[] deletePaths, string selectedUrl, string selectedItemTag, int nodeId) |
| : |
| base(context, searchPatterns, viewPaths, uploadPaths, deletePaths, selectedUrl, selectedItemTag) |
| { |
| _itemHandlerPath = ConfigurationManager.AppSettings["ItemHandlerPath"]; |
| if (_itemHandlerPath.StartsWith("~/")) |
| { |
| _itemHandlerPath = HttpContext.Current.Request.ApplicationPath + _itemHandlerPath.Substring(1); |
| } |
| if (SelectedItemTag != null && SelectedItemTag != string.Empty) |
| { |
| SelectedItemTag = ExtractPath(RemoveProtocolNameAndServerName(SelectedItemTag)); |
| } |
| } |
