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

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

Ajax Control Toolkit with SharePoint 2013 - How to make this work

CRM 2011 Javascript Retrieve Record using jQuery REST Endpoints.