[Last Call] Learn how to a build a cloud-first strategyRegister Now


ReportViewer or ObjectDataSource Caching??

Posted on 2006-05-17
Medium Priority
Last Modified: 2008-02-01
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.


Question by:JeffDrummond

Author Comment

ID: 16708996
The answer is:  ReportViewer.LocalReport.Refresh().

Accepted Solution

Netminder earned 0 total points
ID: 16753522
Closed, 500 points refunded.
Site Admin

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Screencast - Getting to Know the Pipeline
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question