3

I want to use AjaxFileUpload control:

I am reviewing this, and the functionality I need is to hide the upload button, and save all buttons from another button click event.

Is it possible to do?

According to the properties they show, I dont see an option to hide the button.

1 Answer 1

5

Looking at the source html, it seems that doing:

$('.ajax__fileupload_uploadbutton').hide();

Will do the trick of hiding the Upload button. The problem remains, though, as to whether an event is triggered when the user drops the first file or selects it via the Select button. I am sure there's one you can hook into to just call the above line of code (using jQuery on my example).

You can implement the same with pure Javascript.

Sign up to request clarification or add additional context in comments.

1 Comment

just for the record this should say $('.ajax__fileupload_uploadbutton').hide(); notice the removal of the period and the addition of open quote.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.