This is a migrated thread and some comments may be shown as answers.

Grid / Attachment Column

2 Answers 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
aabdan
Top achievements
Rank 1
aabdan asked on 18 Mar 2010, 09:06 AM
Dear ,,
i was trying Grid attachment column demo example in  development environment (Windows server 2008+VS 2008)i get the follwing error:
No file uploaded. Action canceled.

any help will be appreciated!!

Regards,

2 Answers, 1 is accepted

Sort by
0
Accepted
Schlurk
Top achievements
Rank 2
answered on 22 Mar 2010, 03:12 PM
Looking at the code for the demo it seems as you are either not uploading an image, or there is no name associated with the file you are uploading. I know that if you have a certain max upload size then this would essentially act as if there is no item at all in the upload (since you are going past the maximum size allowed for uploading) and this error would then be received. Are you sure that the files that you are uploading are within the maximum file size of the AttachmentColumn? The property you are looking for in this case is "MaxFileSize".
0
aabdan
Top achievements
Rank 1
answered on 23 Mar 2010, 08:10 AM
Hi Schlurk ,

this is true that is becuase the maximum file size is 1MB,i didn't find such property MaxFileSize.

Regards,
Tags
Grid
Asked by
aabdan
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
aabdan
Top achievements
Rank 1
Share this question
or