FileUploader doesn't work in thickbox window

Jul 16, 2009 at 11:24 AM

I tried to open a page in thickbox  containing Flajaxian File uploader ,  but it doesn't show up .Instead i get a Message saying 'Install Falsh player' , but i have flash player installed, as the control works in a normal window.

Please if you can provide some  tips on how to do so..

thanks

Coordinator
Jul 16, 2009 at 4:26 PM

Sorry Chinmaya, I won't have the time to write the code for you.

One think I can tell you - it will never work if you use __doPostBack('linkbindimagelist',''); in the middle of your queue.

If you reload the control inside un update panel you can still use it but you'd have to take care of the javascript initialization yourself as shown here:

<script type="text/JavaScript">
// initialize on the page load
InitUploader();

// function called BEFORE ParentDiv is reloaded
function BeforeReload(){
  DisposeUploader();
}

// function called AFTER ParentDiv is reloaded
function AfterReload(){
  InitUploader();
}
</script>
<div id="ParentDiv">
  <fjx:FileUploader ID="FileUploader1" JsFunc_Init="InitUploader" JsFunc_Dispose="DisposeUploader" runat="server">
      <Adapters>
          <fjx:FileSaverAdapter Runat="server" FolderName="UploadFolder" />
      </Adapters>
  </fjx:FileUploader>
</div>