I would like to filter the FileExplorer results by combining a Session variable id and the remainder of the string.
We have a IssueID and a issue may have files associated with it. Once a supporting document file is uploaded it will have "<issueID>_" appended to the front, ie. 1009_myfile.txt. I need the search pattern to be something like Session("IssueID") & "_*.*".
How do I go about doing this?
Here is code the client-side control
<telerik:RadFileExplorer ID="RadFileExplorer1" runat="server" EnableCreateNewFolder="false" Height="225" Width="890" EnableAsyncUpload="false"> <Configuration ViewPaths="/SupportingDocs/" DeletePaths="/SupportingDocs/" /></telerik:RadFileExplorer>
Tried the following in my code behind in the Page Load to no avail.
Dim searchPatterns As String() = RadFileExplorer1.Configuration.SearchPatternssearchPatterns = Session("IssueID") & "_*"RadFileExplorer1.Configuration.SearchPatterns = searchPatterns
