I'm getting a strange error on just one of the rows in my report. The data looks fine.
"An error has occured while processing TextBox txtBoxCustomer
The expression contains object 'Exp1' that is not defined in the current"
4 Answers, 1 is accepted
The error is indicating a missing data field. Please make sure that you have set the Data Source Component to appropriate data item (report itself, Table, List, Crosstab, Chart) and that the DataSource component (SQLDataSource component) is having a Exp1 field.
For further assistance we will appreciate if you send a sample project that exhibits the error you have experienced.
the Telerik team
My Application Reporting works fine with Reporting Q1!
I installed Reporting Q3-2010 and getting parameter erros, etc
Yesterday I installed Reporting Q3-2010 SP1 and works...BUT...by EXPORT getting the error object is not defined?????? only by export, The data looks fine (see you attachment)
Are you by any chance passing parameter values or make any changes to the report items through the NeedDataSource event? If this is the case, be aware that since Q3 the NeedDataSource event is meant to be used only for providing data source to the report and that data source is cached unless changed i.e. once cached the NeedDataSource event is not fired again and as you probably know every time the report is previewed, paged or exported through the viewer it is processed and rendered from scratch. During this processing, the cached data source is used, but the Values you have set in NeedDataSource are not being set as the event is not fired second time. That is why any other changes to report items or parameters should be moved to ItemDataBinding event, which is fired regardless.
If this is not case, we will appreciate if you open a support ticket and send us a sample runnable project to debug locally.
the Telerik team