Page_Load is called multiple times
In a ASP Net form with WebReport, the Page_Load function is called several times, sometimes , sometimes 7 or 8. It happens also when you change the zoom property.
How can I optimize it? It is spending many server resources since I use Page_Load to call several cost processor functions.
Thanks
How can I optimize it? It is spending many server resources since I use Page_Load to call several cost processor functions.
Thanks
Comments
I've forwarded your question to developer responsible for ASP.Net part.
ASP.NET Page Life Cycle Overview
http://msdn.microsoft.com/en-us/library/ms178472.aspx
You can use WebReport.StartReport event for single access to database etc.