Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1085
How to show the upload container on user action
posted

We are attempting to use the upload control to upload files for a row in a grid.

This means that we need to show the upload container based on an action the user takes (pressing a button on a row in the grid), but I cannot figure out how to dynamically show and hide the upload control based on this action.

Is this possible?

Parents
  • 18204
    Offline posted

    Hello Karl Costenbader,

     

    Thank you for posting in our forums!

    You can show and hide the igUpload with jQuery's show and hide functions.  e.g. $("#igUpload1").show();

    If the upload container you are referring to is the file selection dialog, this can be done by calling click on the $("#"+uploadID+"_ibb_fp") element. e.g. $("#igUpload1_ibb_fp").click();

    Please see my attached sample for a demonstration of this.  If you need further assistance with this, please let me know.

    igUpload - ShowUpload.zip
Reply Children