ReportViewer or ObjectDataSource Caching??
Posted on 2006-05-17
I've created a multiview with two views.
The first view has two date parameter fields and a submit button. When the dates are populated and the button pressed, the ObjectDataSource gets the data from a stored procedure and populates the reportviewer in the second view.
After this first execution, the report keeps displaying the same data whatever dates I put in as parameters. The code to get the data from the object data source is not being executed after the first time. And I ran Profiler..the stored procedure isn't being executed.
I have EnableCaching = False on the ObjectDataSource.
I would like the report to be populated with fresh data upon each execution.