Rank: Advanced Member Groups: Member
Joined: 11/16/2010 Posts: 48
|
Can I set an AjaxUploader's AutoPostBack property from javascript?
I have several Uploaders on a page and want to detect when the last one has uploaded
I've tried
document.getElementById('ctl00_cpMainContent_Uploader_0').AutoPostBack = true;
but it does not fire Uploader_FileUploaded server-side (the client side uploadComplete fires OK)
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You can not set that property on the client side with JavaScript. As a general rule, you can not set any of our server properties on the client side with an above syntax. We provide client side objects and functions for you to modify our objects on the client side and that's the only API you should be using while interacting with our objects with JavaScript: http://doc.essentialobjects.com/library/1/clientapi_howto.aspxThanks!
|