AJM
AJM

Reputation: 32490

Reporting Services - Report Paramaters Losing State

I am embedding a report into my ASP.NET app using the report viewer control.

When I change a paramater value and click View Report, I'm losing my paramater selection.

Any ideas?

Upvotes: 0

Views: 76

Answers (2)

AJM
AJM

Reputation: 32490

The problem was that I was setting the report location in the code behind but not che3cking if there had been a postback so the report was being reset each time.

Upvotes: 0

Bogdan_Ch
Bogdan_Ch

Reputation: 3336

Check if ViewState is enabled (for the page and for the control)

Upvotes: 1

Related Questions