SlickUpload
Welcome Guest Search | Active Topics | Log In | Register

How to use the "AutoUploadOnPostBack"? Options
liuhechen
#1 Posted : Tuesday, December 11, 2007 1:35:14 AM
Rank: Newbie

Groups: Registered

Joined: 12/11/2007
Posts: 3

I am aware of the newly added "AutoUploadOnPostBack" property in the UploadManager. It's a great feature if it works as it's described.

I am wondering how to use this property.

E.g.

I have a Form with many buttons but only one upload button. I am intended to fire the upload process only when the upload button is clicked. So I set the "AutoUploadOnPostBack" to false and now the upload process won't be triggered by any buttons.

Then, I want to customize the click event of  my upload button, say  upload_Click. What are the codes I need put in to manually trigger the upload process?

Most appreciated.

Chen Yu

ChrisHynes
#2 Posted : Sunday, December 16, 2007 11:34:15 PM
Rank: Administration


Groups:

Joined: 7/7/2005
Posts: 1,586
Location: Scottsdale, AZ
To manually trigger the upload process, call the SlickUpload_Submit() function from your client side click handler.
liuhechen
#3 Posted : Monday, December 17, 2007 1:31:53 AM
Rank: Newbie

Groups: Registered

Joined: 12/11/2007
Posts: 3

Thanks. It works.

ptrinephi
#4 Posted : Thursday, March 20, 2008 12:20:07 PM
Rank: Newbie

Groups: Registered

Joined: 3/19/2008
Posts: 3
I'm using the ProgressDisplay sample program and want to set the AutoUploadOnPostBack to false.  I can't figure out where to find that property!  Help

ChrisHynes
#5 Posted : Monday, March 24, 2008 7:41:59 PM
Rank: Administration


Groups:

Joined: 7/7/2005
Posts: 1,586
Location: Scottsdale, AZ

Is there a reason you are using the ProgressDisplay control instead of the UploadManager control? The ProgressDisplay is intended for advanced customizations. The UploadManager is more user friendly... that's the control with the AutoUploadOnPostBack property.

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.