Following is a part of my ASP.NET code:
<asp:FileUpload ID="fuUploader" runat="server" />
<br />
<asp:Button ID="btnSubmit" runat="server" Text="Submit" onclick="btnSubmit_Click" />
Is it possible to check file size (to be less than 4mb) before uploading to the server?
My primary browser is IE9, but it would be better also to work in last versions of Firefox and Chrome. Usage of HTML 5 is preferred if it can somehow help.
Thanks in advance.
Mostly for now you can’t do this without