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

Cascading parameters with out proc session

1 Answer 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Naphtali
Top achievements
Rank 1
Naphtali asked on 09 Sep 2009, 06:22 AM
Hi,
I've been developing a web application that creates reports via the web report viewer.
I set up parameters that work with filters in order to create the cascading affect. The expression of the filter was complicated so I used a user function to create the expression.  The function returns an ArrayList.
The filter is as follows: 
   

string

 

filterValue =  "=MyNameSpace.MyClass.MyFunction(Parameters.Parameter1, Parameters.Parameter2)";

 

report.ReportParameters[parameterName].UI.AvailableValues.Filters.Add(

"=Fields.Field1",

 

 

FilterOperator.In,

 

filterValue);

 

Everything was working fine until I changed the web application to work with the settings of session mode to state server.
 I get the following exception:
    "The expression contains object 'MyNameSpace' that is not defined in the current context."

I read Design Considerations for Out-Proc Session State (HOW-TO Use Out-Proc session with Telerik Reporting).

Why isn't it recognizing the function?
How can I get the function working?

I'm using version 2009 Q2 SP1 of the telerik reports.

Naphtali

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 11 Sep 2009, 03:50 PM
Hi Naphtali,

We were able to reproduce the problem and logged it in our bug tracking system for fixing. Please use standard expression instead of user function for the time being, until this is addressed.

Please excuse us for the inconvenience. We've updated your Telerik points for bringing this to our attention.

Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Naphtali
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or