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?
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.
Thanks for the sample, it did get the dialog open as expected. However, running under IE, an Access Denied message is received when attempting to submit.
This apparently is a known security issue with IE, but unfortunately since a majority of our users or on IE, this problem is a showstopper for us. We will need to find another way to address this issue.
Thanks for your help.
I am glad my sample was able to help.
If you need any further assistance with this issue, please let me know.
Please let me know if you have any other questions or concerns about this issue and I'll be glad to help you.