I am uploading them using ajax, but, the only way I have found to programmatically refresh the filemanager is to call a postback on the page. There has to be a better way.
Let me know,
Andrew
Hi,
There is a code, that generates "Refresh" javascript expression:
String.Format("WFM_{0}_Controller.OnRefresh(WFM_{0}_FileView, '');", FileManager1.ClientID)
It is a workaround, current version of IZWebFileManger does not provide client side API
Igor Zelmanovich
Is it possible to call a refresh from the server side of things instead of client?
Thanks,
Igor,
We use the ajax uploader to send our files - http://ajaxuploader.com/ I have the function that runs when the upload is complete, but, it is on the server side. The closest I have come up with is a complete refresh of the page, which is less than ideal.
ScriptManager.RegisterStartupScript(this, this.GetType(), "IZWebFileManagerRefresh", String.Format("WFM_{0}_Controller.OnRefresh(WFM_{0}_FileView, '');", FileManager1.ClientID), true);