hi vasu,
can you help me? ImageUploadEditorController gives error in AddUnsortedAttachment() method
if (!(Request.Files[requestFileName] is HttpPostedFileWrapper file))
{
return Guid.Empty;
}
var directoryPath = EnsureUploadDirectory();
var imagePath = GetTempFilePath(directoryPath, file);
byte[] data = new byte[file.ContentLength];
file.InputStream.Seek(0, System.IO.SeekOrigin.Begin);
file.InputStream.Read(data, 0, file.ContentLength);
When create object of HttpPostedFileWrapper as file it gives error