All controls freezes after RadGrid Excel Export or Redirecting to another page to a new window in SharePoint 2010
Add following code to your .aspx or .ascx file
<script type="text/javascript" language="javascript">
//sharepoint postback to work after clicking on telerik export to pdf
if (typeof (_spBodyOnLoadFunctionNames) != 'undefined' && _spBodyOnLoadFunctionNames != null) {
_spBodyOnLoadFunctionNames.push("supressSubmitWraper");
}
function supressSubmitWraper() {
_spSuppressFormOnSubmitWrapper = true;
}
</script>
it waste my time for 5 h
ReplyDeletethx so much !
Glad that it helped you. :) Cheers
ReplyDelete