OnClick function : Label1.Text = FileUpload1.FileName;
Quote:My friend helped me figure it out. It was because ASP.NET only allowed uploads of 4MB sizes. I had to go into the web.config or the machine.config file and change the value of MaxRequestLength to be larger than 4096. This solved it.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)