Click here to Skip to main content
15,896,207 members

Comments by jameskm69 (Top 4 by date)

jameskm69 23-May-19 10:01am View    
I don't think so BC it works fine/accurate for MinMax()
jameskm69 22-Mar-18 7:40am View    
Perfect, Thanks Griffin. That worked
jameskm69 21-Mar-18 7:31am View    
Hi J, this is not from a asp upload controller. it's from a javascript/AJAX:
if (file) {
var xhr = new XMLHttpRequest();
xhr.upload.addEventListener('progress', uploadProgress, false);
xhr.onreadystatechange = stateChange;
xhr.open('POST', 'crop1.aspx', true);
xhr.setRequestHeader('X-FILE-NAME', file.name);
xhr.send(file);
}
function stateChange(event) {

if (event.target.readyState == 4) {

if (event.target.status == 200 || event.target.status == 304 || event.target.status == 500 ) {
$('#dropZone').text('Upload Complete!');
count2 = count2 + 1;
if (count2 == count) {
alert("You Uploaded " + count2 + " Photo(s) \n Click ''OK'' to continue");
}
}
else {
dropZone.text('Upload Failed!');
dropZone.addClass('error');
}
}
}
note: crop1.aspx is the page as WebRequest
Thanks,
James
jameskm69 26-Feb-18 9:26am View    
Thanks for your reply post. Yes it is working. Thanks again