Problem with Export To excel button event multiple times
add the following script it will help to keep old record after export to excel
//< //script type="text/javascript" language="javascript" //>//
//sharepoint postback to work after clicking on export to excel button
if (typeof (_spBodyOnLoadFunctionNames) != 'undefined' &&
_spBodyOnLoadFunctionNames != null) {
_spBodyOnLoadFunctionNames.push("supressSubmitWraper");
}
function supressSubmitWraper() {
_spSuppressFormOnSubmitWrapper = true;
}
//<// /script //>//
add the following script it will help to keep old record after export to excel
//< //script type="text/javascript" language="javascript" //>//
//sharepoint postback to work after clicking on export to excel button
if (typeof (_spBodyOnLoadFunctionNames) != 'undefined' &&
_spBodyOnLoadFunctionNames != null) {
_spBodyOnLoadFunctionNames.push("supressSubmitWraper");
}
function supressSubmitWraper() {
_spSuppressFormOnSubmitWrapper = true;
}
//<// /script //>//