microsoft ajax registered - to fix microsoft ajax update panel post back
<dnn:DnnScriptBlock runat="server"> <script type="text/javascript"> (function($) { var initDnnFileUploader = function() { var settings = { fileFilter: '<%= FileFilter %>', required: <%= Required? "true":"false" %>, foldersComboId: '<%= FoldersComboBox.ClientID %>', filesComboId: '<%= FilesComboBox.ClientID %>', fileUploadId: '<%=FileUploadControl.ClientID%>', folder: '<%= FolderPath %>', selectedFolderId: <%=FoldersComboBox.SelectedFolder != null ? FoldersComboBox.SelectedFolder.FolderID : -1 %>, progressBarId: '<%= dnnFileUploadProgressBar.ClientID %>', dropZoneId: '<%= dnnFileUploadDropZone.ClientID %>' }; $('#<%= dnnFileUploadScope.ClientID %>').dnnFileUpload(settings); }; $(initDnnFileUploader);
// microsoft ajax registered - to fix microsoft ajax update panel post back if(typeof Sys != 'undefined') Sys.WebForms.PageRequestManager.getInstance().add_endRequest(initDnnFileUploader);
})(jQuery); </script> </dnn:DnnScriptBlock>