Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Ajax Uploader
»
want to show Exact error
want to show Exact error
Last post 05-18-2009, 2:44 AM by
cutechat
. 1 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
05-15-2009, 3:18 AM
52178
bs_arun
Joined on 05-11-2009
Posts 26
want to show Exact error
Reply
Quote
Hi,
In the bellow function msg always returning "undefined" and reason always returning "cancelbutton" but i need to show the exact error
How can i do that?
function
CuteWebUI_AjaxUploader_OnTaskError(obj,msg,reason)
{
str=reason;
// alert(str);
// alert(msg);
if
(msg==
null
)msg=
"File has been cancelled"
;
ShowMessage(
"Error : "
+obj.FileName+
" : "
+msg);
}
Regards,
Arun
Filed under:
Ajax Uploader
05-18-2009, 2:44 AM
52260
in reply to
52178
cutechat
Joined on 07-22-2004
Posts 2,332
Re: want to show Exact error
Reply
Quote
Arun,
You will get null msg if the cancel button is clicked.
And the msg/reason has more details if the uploader get more kinds of error.
Regards,
Terry