Wednesday, December 10, 2014 button Click event fires only once

Problem: Response.end and download file problem using code inside SharePoint. Button click event fires only once when it is first clicked. After that,button no longer respond to click event.

Solution: Insert below script block.
function enablePostBack()
{ window.WebForm_OnSubmit = function () { return true; }; }


No comments:

Post a Comment