Thursday, 26 July 2012

Export to excel page stop responding


This post will tell you how to resolve the issue, after export to excel page stop responding.

1) Just add this JavaScript code on the page

<script type="text/javascript" language="javascript">

    if (typeof (_spBodyOnLoadFunctionNames) != 'undefined' && _spBodyOnLoadFunctionNames != null) {
        _spBodyOnLoadFunctionNames.push("supressSubmitWraper");
    }

    function supressSubmitWraper() {
        _spSuppressFormOnSubmitWrapper = true;
    }
 
</script>

2) Save your page

this JavaScript code will resolve your issue.