Click here to Skip to main content
15,885,192 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I set a maximum file size on the AjaxUploader? I use asp.net/vb.net. I've tried some examples I've seen online which edit the webconfig file but still it doesn't work. I feel it should be as simple as below..

<ajaxToolkit:AjaxFileUpload ID="AjaxFileUpload1" runat="server"
                            onclientuploadcompleteall="onClientUploadCompleteAll" AllowedFileTypes="mov,mp4,mpeg,avi,m4v" maxfilesize ="7000" />


What I have tried:

I Tried doing maxfilesize ="7000" as below but it doesn't work.
Posted
Updated 15-Apr-20 23:57pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900