Hi,
If you have a SP web page or a web part and the triggers (butoonClick, Update Panel etc) are fired only once and you need to refresh the page each time you d like to trigger the actions, you need to add the code below in your aspx page.
Source
http://stackoverflow.com/questions/6826002/code-to-download-file-from-sharepoint-2007-document-library-please-correct-me-i
If you have a SP web page or a web part and the triggers (butoonClick, Update Panel etc) are fired only once and you need to refresh the page each time you d like to trigger the actions, you need to add the code below in your aspx page.
<script type="text/javascript">
_spOriginalFormAction = document.forms[0].action;
_spSuppressFormOnSubmitWrapper = true;
</script>
Source
http://stackoverflow.com/questions/6826002/code-to-download-file-from-sharepoint-2007-document-library-please-correct-me-i
Hiç yorum yok:
Yorum Gönder