Hi, I got a requirement here. I have 3 parameters , one of them is a multivalue parameter. Based on the number of values in multivalued parameter , i need to create Panel in the report
how can i access the parameters in the designer which is passed by the report viewer ?
Thanks
1 Answer, 1 is accepted
0
Peter
Telerik team
answered on 07 Dec 2012, 03:29 PM
Hello Jaggu,
The multivalue report parameter's value is of object array type. Generally to access array value in expressions our suggestion is to utilize an use function such as the following one:
public static object GetItemValue(object[] values, int index)
{
return values[index];
}
Then you can use the following expression: =GetItemValue(Parameters.Parameter1.Value,0)
Greetings,
Peter
the Telerik team
HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!