This is a migrated thread and some comments may be shown as answers.

Parameter that filter on another parameter

3 Answers 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andreas Selling
Top achievements
Rank 2
Andreas Selling asked on 05 Aug 2010, 01:56 AM
Hello

I have two parameters that hava a datasourse. The second one has a filter on the selected ID on the first parameter.
When I run the report in a browser with reportviewer and select a value on report parameter 1. The report seems to do a posback and all parametersfields dissapear.

I run Q1 2010 SP1
C# 4
Integrated mode.

This worked in previus versions of report viewver. Eiter way its the c# 4 uppgrade or the upgrade of the telerik reporting to q1 that is causing this problem.

Any ideas?

3 Answers, 1 is accepted

Sort by
0
Andreas Selling
Top achievements
Rank 2
answered on 05 Aug 2010, 10:44 AM
I sent Telerik a support ticket instead.
0
Andreas Selling
Top achievements
Rank 2
answered on 25 Aug 2010, 11:45 AM
Set RequestValidation to 2.0 in web.config and it solves it.
0
Steve
Telerik team
answered on 25 Aug 2010, 01:24 PM
Hi guys,

This is a breaking change in .net 4.0 which causes additional validation for the values in the parameters page. We will provide a fix for this change in the next release or internal build. For the time being you can solve the problem by adding following entry in the web.config file:
Copy Code
<httpRuntime requestValidationMode="2.0" />

You can find additional information on the change in the following blog post: RequestValidation Changes in ASP.NET 4.0.

All the best,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Andreas Selling
Top achievements
Rank 2
Answers by
Andreas Selling
Top achievements
Rank 2
Steve
Telerik team
Share this question
or