"Upload all acquired images as multipage TIFF or PDF file "
this option is only enabled when TIFF or PDF selected and disabled for BMP and JPG. if i make it active for BMP and JPG its only upload single file
when i see the code of ImageUpload.aspx
Code: Select all
protected void Page_Load(object sender, EventArgs e)
{
if (Request.Files.Count == 0)
{
return;
}
// save the file to the server
string fileName = Server.MapPath("Images/demo.jpg");
Request.Files[0].SaveAs(fileName);
// return the path to this file
Response.Clear();
Response.Write("http://" + Request.Url.Authority + Request.RawUrl.Substring(0, Request.RawUrl.LastIndexOf("/")) + "/Images/demo.jpg");
Response.Flush();
}
}
its only hendle Request.Files[0] and if i try to make it Request.Files[1] it gives an error