Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedFlajaxian FileUploader for DNN custom moduleFlajaxian FileUploader for DNN custom module
Previous
 
Next
New Post
4/21/2011 6:06 AM
 

We are trying to integrate the Flajaxian file uploader component in our website but the problem is, it does not work under DotNetNuke environment. It uploads the file but fails to show that on the folder. Based on my testing, it seems like it only happens FileReceivedEventArgs not passing any files or js script conflict with dotnetnuke js as below:

<script type="text/javascript" language="javascript">
        window.dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1 = new Flajaxian.FileUploader2('dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1');
        function dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1_MarkInitialized(){ window.dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1.markInitialized(); }
        function dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1_SetFileList(list){ window.dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1.setFileList(list); }
        function dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1_SetUploadProgress(evt){ window.dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1.setUploadProgress(evt); }
        function dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1_SetChangedFileStates(list){ window.dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1.setChangedFileStates(list); }
        function dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1_LimitReached(type){ window.dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1.limitReached(type); }
        function dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1_ConfirmUpload(){ window.dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1.confirmUpload(); }
        function dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1_Dispose(){ window.dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1.dispose(); }
        function dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1_EmbedFlash(){
            var p = {menu:false,base:'.',scale:'noscale',bgcolor:'#FFFFFF',wmode:'transparent'};
            var a = {};
            var fv = {id:"dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1",targetUrl:"http://localhost:49315/DNN511/Default.aspx?__ID=dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1_(!AMP!)_",debug:true,enabled:true,isIE:Flajaxian.isIE(),clearListAtEnd:true,uploadRequiresJsConfirmation:true,initiallyInvisible:false,isSingleFileMode:false,maxFileSize:1072668082176,maxFileQueueSize:1072668082176,maxFileNumberLimit:2147483647};

            swfobject.embedSWF("/DNN511/WebResource.axd?d=S1dRzRQ5sLnKLHkyZb-MDnvWGXEYr1V3eZNTC3LkGDSHGLRa4Zlie0LcnZtZbR0Y9KayENpXhgO1H7IvasUyx9msFNPKXbqOE2N-Z50CSUoAGtY1Of_w5ScMI9UiC_3Mjyp2lh0e4hUx3TARoE6AJJ6E2ys1&t=634388897773111797", "dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1", "251", "40", "9.0.0", "/DNN511/WebResource.axd?d=Pq8XVghhMpXe2CZdf906-ojwsonp-der-zs2DFobytqVDAo9__Dxy2CB2tAme4IuC8n5N19tbWSSg8sEj0Kvrjfm0DvKdBXg51puoF0hTmcc3AWxmWjQN_RQ2qKjENqxS7xmlZ71M3eX9Fw1dU9ai_eqiLY1&t=634388897773111797", fv, p, a);

            var fu = window.dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1;
            fu.set_generateBaseHtmlFunc(Flajaxian.generateBaseHtml);
            fu.set_generateFileRowFunc(Flajaxian.generateFileRow);
            fu.set_disposeFileRowFunc(Flajaxian.disposeFileRow);
            fu.set_fileStateChangedFunc(FileStateChanged);
            fu.set_percentageChangedFunc(Flajaxian.percentageChangedFunc);
            fu.set_maxFileNumberReachedFunc(Flajaxian.maxFileNumberReached);
            fu.set_maxFileSizeReachedFunc(Flajaxian.maxFileSizeReached);
            fu.set_maxQueueSizeReachedFunc(Flajaxian.maxQueueSizeReached);
            fu.set_positionFilesListFunc(Flajaxian.positionFilesList);
            fu.set_renderFilesListFunc(Flajaxian.renderFilesList);

            fu.set_strings({maxFileNumberReached:'The maximum number of files allowed to be selected of \'2147483647\' has been reached.',maxFileSizeReached:'The maximum allowed file size of \'999GB\' has been exceeded.',maxQueueSizeReached:'The maximum allowed size of \'999GB\' for all the files in the queue has been exceeded.'});
            fu.set_openedArrowUrl("/DNN511/WebResource.axd?d=_p8Aj7H59rbnbpn7dZbOJjXzq8LfurDyOgz7nrC4zzaTlwuSM1v356oXnT_i4BcBoIdfY3ERgIJr43IpIRDAdcsmPF1AIIG3fg0TgeIeUesL0f_XYCF8QJ6LCb0TljgDQAMG4xmkMNlViS1l1uwy_m4LFZs1&t=634388897773111797");
            fu.set_closedArrowUrl("/DNN511/WebResource.axd?d=BW1Fc8Fy9tmZ1BDJU-VByoVMhVUO1Qf-EKIGgvY2xTY9Dcq1AsTcVznERbIFYu2Q3StWCLsKw8y3CGyq263YshOPxq-5oXPH4i8QhabKVfTucdJMeUkD3VZ08-RsjZbaaotMuRNezIvNV2j1fznT7gTfVcI1&t=634388897773111797");
            fu.set_closeBtnUrl("/DNN511/WebResource.axd?d=g_ALBPEkbAAZAjvtLQf_lMOCz4VdNsF7Sg-cXGpafeMccRoUEwVYN-r2Qxo-RcraaaZOp9H1HK-h3o4-3T2dBn1phi5CuzGIfKtR-EFFTKKg94UjmAW9RM15fpq_-ytLo5sA_HghgFtKtZs1_mmuPFi3Cjk1&t=634388897773111797");
            fu.set_flashWidth(251);
            fu.set_flashHeight(40);
            fu.set_uploadRequiresJsConfirmation(true);
            fu.set_clearListAtEnd(true);
            fu.addUploadPreProcessor(Flajaxian.requestAsPostBack);fu.initialize();
        }

        dnn_ctr553_ViewCT_fjxFileUploader_FileUploader1_EmbedFlash();
</script>

I have been looking into action-script files and other places but not sure how to get around this issue.

Do you guys know of any quick solution to this?

I would really appreciate your help.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedFlajaxian FileUploader for DNN custom moduleFlajaxian FileUploader for DNN custom module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out