Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Ajax Uploader
»
Determine upload type
Determine upload type
Last post 07-18-2011, 9:53 PM by
Prosu
. 2 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
07-17-2011, 11:00 PM
68579
Prosu
Joined on 07-18-2011
Posts 2
Determine upload type
Reply
Quote
Hi,
I need to determine if the user was using silverlight/flash/iframe when uploading their files. Is there a way to do this?
Thanks~
07-17-2011, 11:27 PM
68580
in reply to
68579
Jeff
Joined on 02-22-2011
Posts 126
Re: Determine upload type
Reply
Quote
Hi Prosu,
Please try the following javascript code
function
CuteWebUI_AjaxUploader_OnSelect(files)
{
GetUploadType();
return
true
;
}
function
GetUploadType()
{
var
uploadobj=document.getElementById(
'<%=Uploader1.ClientID %>'
);
alert(uploadobj.internalobject.addontype);
}
Regards,
Jeff
07-18-2011, 9:53 PM
68595
in reply to
68580
Prosu
Joined on 07-18-2011
Posts 2
Re: Determine upload type
Reply
Quote
Hi Jeff,
Thanks for your code, it works.
Regards,
Prosu