Parameter that filter on another parameter

4 posts, 0 answers
  1. Andreas Selling
    Andreas Selling avatar
    20 posts
    Member since:
    May 2009

    Posted 04 Aug 2010 Link to this post

    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?
  2. Andreas Selling
    Andreas Selling avatar
    20 posts
    Member since:
    May 2009

    Posted 05 Aug 2010 Link to this post

    I sent Telerik a support ticket instead.
  3. DevCraft banner
  4. Andreas Selling
    Andreas Selling avatar
    20 posts
    Member since:
    May 2009

    Posted 25 Aug 2010 Link to this post

    Set RequestValidation to 2.0 in web.config and it solves it.
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 25 Aug 2010 Link to this post

    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
Back to Top