I am having an issue that I cannot seem to figure out.
I have a report that has code in the needdatasource event that updates three textboxes in the report. I have setup the report and in the preview it renders correctly. however, once I add a reportviewer to the page and set the report parameters, the report renders the details section just fine and it is based upon the parameters I passed in. But the textboxes being set in the needdatasource event are not updated. If I hit the refresh button on the reportviewer, it is then updated.
Any ideas on where I should be updating the textboxes?
I have a report that has code in the needdatasource event that updates three textboxes in the report. I have setup the report and in the preview it renders correctly. however, once I add a reportviewer to the page and set the report parameters, the report renders the details section just fine and it is based upon the parameters I passed in. But the textboxes being set in the needdatasource event are not updated. If I hit the refresh button on the reportviewer, it is then updated.
Any ideas on where I should be updating the textboxes?