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

Report Parameter -filter is not working

4 Answers 248 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
dhinesh
Top achievements
Rank 1
dhinesh asked on 09 Aug 2011, 01:26 PM
Hi,

I have added a report parameter with display member and  value member, but datasource is binded in the codebehind file. Am able to see the drop down with the display member values, but when i add a report filter using this report parameter, its throwing an error-"An error has occurred while processing Report 'ReportName':Object cannot be cast from DBNull to other types".

Only after adding the filter, am facing this error, without the filter the report displays the chart with the actual values.

I have tried adding the filter to the report and also to the report parameter available values, but none works.
please help, asap...



 

4 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 10 Aug 2011, 03:39 PM
Hi Dhinesh,

The error is caused by null value that can't be handled. Our suggestion is to use IsNull function for the nullable fields. 

All the best,
Peter
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Nader
Top achievements
Rank 1
answered on 19 Mar 2012, 11:11 AM

May Allah`s peace , mercy and blessing be upon you 

I have exception Message!
http://s16.postimage.org/v43dcb579/Run_Time_Error_Telerik.jpg



0
Peter
Telerik team
answered on 21 Mar 2012, 12:20 PM
Hello Nader,

Do you use Telerik Reporting Q3 2010 release? If this is the case we have already introduced a fix and our suggestion is to upgrade to a newer Telerik Reporting version. 

Regards,
Peter
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Nader
Top achievements
Rank 1
answered on 21 Mar 2012, 04:40 PM
Thank you for fast response
Yes I use Telerik Reporting Q3 2010 
Tags
General Discussions
Asked by
dhinesh
Top achievements
Rank 1
Answers by
Peter
Telerik team
Nader
Top achievements
Rank 1
Share this question
or