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

Run custom validation before uploading Options
ptrinephi
#1 Posted : Thursday, March 20, 2008 1:39:03 PM
Rank: Newbie

Groups: Registered

Joined: 3/19/2008
Posts: 3
Hi,

I've downgraded from Visual Web Dev 2008 to 2005 and things work a lot better.

Using the UploadManager sample program, I've added a textbox and a button on the main form.  I've set AutoUploadOnPostBack="False".  I've put SlickUpload_Submit(); in the OnClientClick property of the button and everything works fine.

However, what I'm trying to do is to validate the data in the textbox and depending on its value the button click will start the upload or not.  The button click event only gets triggered after the upload is completed.
Basically, all I need is to make sure the textbox has data before uploading.

Can this be done? If so how?

Thanks
ChrisHynes
#2 Posted : Monday, March 24, 2008 7:46:15 PM
Rank: Administration


Groups:

Joined: 7/7/2005
Posts: 1,586
Location: Scottsdale, AZ
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.