I have an uploadify control working fine in a vb.net web application - however whenever I switch on cookieless session state in web.config (cookieless="true") - it stops working.
In my upload IHttpHandler I can see that the data stored by uploadify is nothing:
Private Function Process(ByVal context As HttpContext) As String Dim File As HttpPostedFile File = context.Request.Files("filedata") ' Nothing Dim FileExt As String = context.Request("fileExt") ' Nothing, etc ...
this is regarding a tutorial posted here at [URL] , as such this example is working fine, but what if i have a textbox in the page and i want to call the value in the web handler, how can i achieve that?
I am using uploadify along with ASP.NET to upload files to my server. At the moment I have to recreate the folder structure and upload the images in batches per directory.Does anyone know of a way of using Uplodify or any other tool that would allow me to select a folder and upload the entire directory?
I am using the jquery Uploadify plugin to upload multiple files. It works great on my development machine; however, when I run the code on the server I get an error that the upload.ashx generic handler (that Uploadify calls to save the file) is not found. Wondering what would prevent it from being found in the server environment. I have even put a copy of the file in every directory to no avail.
Reason for the FormsAuthenticationTicket object is to pass the authentication cookie though when using the Uploadify with Firefox.
I have seen many examples where Response.Write returns a value back to the onAllComplete event. But all I get is undefined. I have also tried to use Context.Response.Write, this.Response.Write, HttpContext.Current.Response.Write. They all return undefined.
I able to upload my file through uploadify + .ashx, but the problem is I always get ContentType = application/octet-streamLets say I upload an image, I expected to return me "image/pjpeg", but it always return "application/octet-stream" no matter what file I uploaded.how to get the correct contentType in .ashx
i'm just wondering whether i can use uploaify for uploading huge lot of file in sql server db. I think uploadify is the right tool for my project but i new to programming. All i want is save file name, file type, file size and actual file into sql server when start uploading the files..
I have an Send.aspx page that has an uploadify control on it. Upload.ashx handles the file upload.I am adding a file record to a sql database in the Upload.ashx file and I need to get the ID of that record back from Upload.aspx when it is done.Can't get it working with Sessions. =( Something to do with an Adobe bug?
What would the best way to handle this be?Here is the uploadify control:
This took a while for me to figure out. But in retrospect it is extremely simple. For this reason, I mad a video tutorial to help newcomers get started quickly and understand how this awesome control works.
I have a situation that is need of attention.The following code is inside of a .ashx file, and is used in the Uploadify JQuery Script.(Here is a sample of the working IE/non-working FF,Chrome code)http://ee.cffcs.com/Q_Uploadify/1.zipThis file is never seen, it is only used behind.In IE you can upload images when you are logged in.In FF and Chrome you can only upload images when you are logged in with IE.(That is not right is it?)So, what is wrong, I know that the cookie script is functioning properly within the .ashx file, as I have test with another JQuery page and it works across all browsers, but when I use the cookie code in this, it acts wierd in FF and Chrome.Please someone enlighten me on this issue.What is going on with the cookie with Uploadify.
I've got an ASP.NET web application (utilizing WebForms) and am using Uploadify to handle uploading large files. This is done by posting the file to an HttpHandler.
Example of code (simplified for demonstration purposes):
the progress bar being displayed doesn't actually reflect the progress of the upload, and shows the upload as being complete long before the file is actually uploaded. Therefore, the user interface effectively appears like it is doing nothing while the progress bar stays at 100%, until the file is complete.
In some cases, the upload simply fails after reaching 100%, with the OnComplete event never getting fired, almost like the response from the HttpHandler is getting lost in transit, even though the file is saved.I've tried both Flajaxian and SWFUpload, and experienced similar issues with the progress bar being completely out of sync with actual upload progress, indicating completion well before the upload was actually complete.
This problem is not apparent when testing locally, or with small files (typically under a few megabytes) as these tend to upload fairly quickly and there's little or no lag between the file being uploaded and the progress bar completing.Is there any way of using a Flash upload solution (such as Uploadify) with an ASP.NET web application and have the progress bar better represent the actual progress of the upload?
Update: Eventually, I gave up trying to use a flash based uploader as they seemed a bit too awkward, especially the progress bar, which didn't represent the actual progress of the upload at all. Replaced this with Brettle NeatUpload instead which works much better.
I have done an multiple upload with uplodify jquery, but when i check it in a system with no flash player installed a blank area is present in the region of the uplodify flash button, how can i show the user some missing plug-in like in other sites to install latest flash player plug-in... or suggest some option to make upload possible in a button click (single/multiple) even when user don't have flash installed.
I am working on a multi-language web site. It is half English and half Portuguese. I have created forms that have portuguese values in it. These forms work perfectly on my desktop. I'm using Cassini as the development server. When I move them over to IIS, they are not loading properly. The text comes up all weird looking. I am declaring the culture in the page attribute: Culture="pt-BR"
I am a new to WCF. I have written ajax to use a web service before, but on this project I am trying to use ajax to WCF.After I build the project and wcf using ajax, I receive the return successfully. But, 10 or more minutes later I don't get a return, the ajax calls the error function, and the fiddler returns nothing.
If I rebuild the project without any source modifying, I receive the return successfully again.
I have a site that access its images in a subfolder under the site root. I am checking for the file existance using he FileExist method of the FileInfo class like this -
Dim fi As FileInfo = New FileInfo(MapPath(img.ImageUrl)) If fi.Exists Then What I want to implement is saving the images under different domain in order to make images available to other copies of this site. Problem is when I try to FileInfo(http address) I am getting an error saying "URI formats are not supported."How can I get FileInfo to work with URI ? is there a workaround ?
Is there a way to make a panel or layer visible or invisible while working in design mode, kind of like autocad works