I'm developing an application with a fileexplorer control on it. On the page, above the fileexplorer control, I have a custom file upload function, so I disabled the add button in de fileexplorer's toolbar.
I'm having trouble to display the newly added file in the content of the fileexplorer control. I upload the file in the current folder of the control.
I've tried using the server-side function DataBind() to refetch the contents of the folder, but that didn't work.
Second, I've added a client-side function on the OnClientLoad event, with the following content:
function refreshAfterUpload(explorer, args)
The js variable newImage is set server side when i've added a document. This also doesn't work.
The last option I tried was calling the serverside function FileExplorer.Grid.Rebind(). However, during the postback and the upload of the new file, FileExplorer.Grid is null.
Can anybody help me? After I upload a new file in the current folder of the fileexplorer control, I want to be able to see it.