c# - How to handle async file upload in uploadify? -
c# - How to handle async file upload in uploadify? -
i have uploadify plugin on page , below have description field , textbox it. have submit button below it. problem uploadify start async file upload select file. want uploadify start upload on click of submit button , description field's value available on server. aware there alternative can inquire uploadify start upload on click of button. if submit button click event fired , upload lost. should utilize script manager , update panel (uploadify should not within update panel) when submit button click event fired page doesn't reset , uploadify can go on work. how typically handle this?
thanks in advance :)
to disable auto start of file upload, add together setting config of uploadify:
'auto' : false to submit values of form server along file need create separate link or button gets info form , send using uploadifysettings function , phone call uploadifyupload().
here illustration send details of mp3 file filled in form user.
<a onclick="$('#file_upload').uploadifysettings('scriptdata', { 'artist':$('#t_artist').val(), 'album':$('#t_album').val() }); $('#file_upload').uploadifyupload()" class="greenbtn">start upload</a> where #t_artist , $t_album ids of input fields in form.
c# jquery asp.net ajax uploadify
Comments
Post a Comment