Jul 16, 2012, 9:29 AM
yes Danii I can see normally browse button without using FormLayout did you added Resourcemanager to the page? (I got resource manager on my Page.Master so mb thats why you don't see this browse button). ContentLenght is correct on my side too but when you read the uploaded file:
mb this will be clearer
Please check if you can open saved file from system file explorer after you made save.
fuFileUpload.PostedFile.InputStream.Read(buffer, 0, fuFileUpload.PostedFile.ContentLength);
Can you check what values got this buffer byte array I got there only 0.mb this will be clearer
buffer[0] = 0; buffer[1] = 0; and so on to the last index of this buffer array in the upload file control the byte array got normal values for example contentArray[0] = 34;contentArray[1] = 57; and so on
Did you understand what is the issue now??Please check if you can open saved file from system file explorer after you made save.