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:
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