Tuesday, February 14, 2012

Drill through works eradically

I've got a report that drills through to itself, passing different parameters when drilling through. The report work flawlessly in development, flawlessly when you call the report server directly via url, but doesn't always drill through correctly when the report is called using the report viewer on web site. I've gone as far as to create a single aspx page web site that only has this report on it and it still doesn't work.

The drill through works about 1/2 of the time when viewing through the report viewer. But the other half of the time it takes you back to a previously visited parameter, instead of the parameter you clicked on.

So a series of clicks might work like this:

Parameter Clicked - Resultant page

A - Correct "A" page
B - Correct "B" page
C - Correct "C" page
D - Incorrectly taken to "B" page.

It seems to be worse if you throw in any click of the back button.

We thought at first it might be a parameter caching issue, but we turned off all caching and even created a time-stamp parameter to force no caching.

Any thoughts are appreciated.

Craig

This ended up being a bug. The report viewer control works as expected in Visual Studio 2005, but when linking back to the same report under Visual Studio 2005 SP1, this bug may appear.

No comments:

Post a Comment