How to invoke conversion server on button click event?

As there is example of Conversion task for changing file format which is invoked automatically on file upload. Similarly we want to invoke our Conversion server task on button click. Is there any event defined on which we can invoke conversion server task directly.