Hi,
A search on the web suggests that I can't put an asp.fileupload control into a webtab... is this correct?
My FileUpload.hasFile returns false all the time and the FileUpload.filename ( or FileUpload.postedfile.filename) has an empty string...
Is there a solution to this?
This post http://forums.labs.infragistics.com/readmessage?id=%3C1d6f4402$3c124dfb$371631@news.infragistics.com%3E&group=infragistics.products.netadvantage.aspnet.webtab
way back in 2007 suggested a pop-up - but I'm in a pop-up whe nI use this! - so presentationally, it would look dumb...
Appreciate an early reply - on a deadline!
Thanks,Duncan.
Hi Duncan,
I am attaching a small sample, which I created using v12.2.20122.1007. The WebUpload is placed inside of a WebTab and is working as expected.
Let me know if you have any questions regarding the matter.
Hi Nikolay,
Thanks for returning the query.
I'm tearing my hair out on this one:
I've installed the webUpload (Details below) and it appears to be working - except that the file doesn't get uploaded into the 'Uploads' folder in the root. I have AutoStartUpload="false", so I can see the name of the selected file before upload.. I click on the 'Add' Button and the progress bar disappears. The time spent uploading (to local drivespace) is the same for both small and very, very large files. No errors appear.
Can you help? I have looked at every help file, forum reference, local samples and blogs. so I'm bewildered...
with regards,Duncan.
=======
Installation
(meticulously followed...)
In the .aspx file.....
<!-- [Display] --><link rel="stylesheet" href="~/ig_ui/themes/ig/jquery.ui.custom.min.css" type="text/css"><link rel="stylesheet" href="~/ig_ui/themes/base/ig.ui.min.css" type="text/css">
Nikolay,
... One more point (and one which has been raised elsewhere in this forum):
There are several references to "IGUploadStatusHandler.ashx", which appears to be a virtual file as I have not seen a single instance in all the various examples, samples, zipfiles etc.. of this file.
It's clear that the file has a function and, after some research, I understand that it's a mechanism where some thread processing can be carried out - but I'm at a loss as to how this file operates -- in this context -
I would really appreciate a short explanation - especially if it's the core issue in my failing control!! :)
regards,Duncan.
Saturday...
An observation:
I've just noticed that after selecting the file, the indicator at the right of the box isn't updated to reflect the "0b/xxxb" status of the newly selected file.
I'm aware of this as I've just rebuilt the local samples example set - as that, frustratingly, works! Problem is, the extreme nesting of the site masters obscures a clear view of the relevant js files - or anything else that might actually make the sample work! :)
I've also just discovered an excellent video on this subject - except that it focussed on an MVC implementation, not standard asp.net :)
D.
Hello Duncan,
This behavior is very strange. Can you please provide a small isolated sample that reproduces this issue, so I can investigate it further?
About the IGUploadStatusHandler.ashx file – it is dynamically generated file - HTTP handler that returns file status progress and file size information and handles “cancel upload” command.
I'm following up to see if you have resolved your issue.
I would suggest you to try our jQuery upload control - http://help.infragistics.com/jQuery/2012.2/ui.igupload.
Demo samples - http://es.infragistics.com/products/jquery/file-upload/
Hope this helps.
... A little while since you posted your reply - thanks.
I've spent the time looking at combinations of the .js files (ig.ui.js and ig.ui.upload.js); None of which worked.
I can only assume that there is something in the DotnetNuke stack that's preventing the operation of jquery based Infragistics controls from operating.
Without closer support, I'm going to have to abandon this line of research. Perhaps Telerik have the answer.
regards,
Duncan.
I would suggest you to include also the ig.ui.upload.js file:
<script src="ig_ui/js/ig.ui.upload.js" type="text/javascript"></script>
Your response requesting an 'isolated' example of the problem generated a thought train:
and replaced all instances of '$.' with 'jQuery.' and '$(' with 'jQuery(' and ran the whole thing again... and got a little further......
This time, I get the size of the selected file in the bar (see previous message)... but still no uploaded file.
Now, I suspect you're going to respond with "We don't support DotNetNuke"....but consider that that:
(Please pass these comments to marketing... :) )
==========
I still need to resolve this. [Love Infragistics... Telerik... who? :) ] so...
Can you let me know if I need to replace/change anything else in the Infragistics jQuery files? DotNetNuke fully support jQuery by the way....
... I am sooooo close to fixing this!!