I have created a user control with a FileExporer inside (myUCFileExplorer). The FileExplorer uses a CustomProvider, as in the code library:
Code Library CustomProvider Sample
How can I pass a parameter for filtering the files in the CustomerProvider. I want to have in the same web form various myUCFileExplorer, so I need to pass a parameter for each myUCFileExplorer for having a filter independent from each other.
In the samples here in the forum the class has this function:
But it's harcoded the filter.
Any comment is welcomed.
Code Library CustomProvider Sample
How can I pass a parameter for filtering the files in the CustomerProvider. I want to have in the same web form various myUCFileExplorer, so I need to pass a parameter for each myUCFileExplorer for having a filter independent from each other.
In the samples here in the forum the class has this function:
| private bool IsFiltered(string name) |
| { |
| if (name.ToLower().EndsWith(".sys") || name.ToLower().Contains("Some")) |
| { |
| return false; |
| } |
| // else |
| return true; |
| } |
Any comment is welcomed.
