SharePoint asp.net button only fires once - not firing the second time after reportviewer export

Hello,

Just a quick one - I have a button click that generates a report pdf in the code behind. The problem is that it only fires once. This issue only happens in SharePoint.

Turns out that you need to set the variable _spFormOnSubmitCalled = false so that you can trigger the postback again (call this on OnClientClick attribute of the button)

HTH,
Andreas

Comments

Popular posts from this blog

SharePoint 2013 anonymous access add attachments to list item

Sitecore custom publish agent from specific node and at a specific time

CRM Plugin - Parent and Child Pipeline