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

Does not display data.

4 Answers 304 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
pavel
Top achievements
Rank 1
pavel asked on 29 Mar 2012, 02:40 PM
Create an IEnumerable<incid> (linq to sql) and put in this.DataSource 
bound to the consistency of the columns.
In the same collection of data is displayed then no.
Moreover, this same collection in DataGrid WPF 3.5 displays correctly. 

    public class incid
    {
        public string ID { get; set; }
        public string pubDate { get; set; }
        public string directoryIncidentType { get; set; }
        public string directoryReactionState { get; set; }
        public string strAddress { get; set; }
        public string strDDS { set; get; }
    }

http://savepic.net/2625578.htm  (screenshot)

Trace.Write:
An exception has occurred while processing '' item:
Telerik.Reporting.Expressions.InvalidExpressionException: The expression contains object 'ex_ID' that is not defined in the current context.
   в Telerik.Reporting.Processing.Expressions.FieldsNode.Eval(Object data, Object context)
   в Telerik.Reporting.Processing.ReportItemBase.Evaluate(Object value, Object data)
   в Telerik.Reporting.Processing.ReportItemBase.Evaluate(Object value)
   в Telerik.Reporting.Processing.TextBox.ProcessItem()
   в Telerik.Reporting.Processing.ReportItemBase.Process(DataMember data)

all fields are filled with collections.
using the latest version of the demo. 


trase.write

4 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 02 Apr 2012, 09:07 AM
Hi Koresh,

The error states that you have used ex_ID field in expression but you don't have specified such public property in the datasource incid type. Thus our suggestion is to update the incid type to include the ex_ID or update any references to ex_ID from the problematic textbox expressions.

Greetings,
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
pavel
Top achievements
Rank 1
answered on 16 Apr 2012, 01:19 PM
sorry.
I did use code.
The following error occurred, and for unknown reasons.
I compiled and ran after with the same database.
The document is displayed correctly, the error is displayed 

I used Reprting Q2011.3.
Now use v6 registered, problem not see.


public class incid

    {
        public string ex_ID { get; set; }
        public string pubDate { get; set; }
        public string directoryIncidentType { get; set; }
        public string directoryReactionState { get; set; }
        public string strAddress { get; set; }
        public string strDDS { set; get; }
    } 
я использовал код.
0
Steve
Telerik team
answered on 17 Apr 2012, 12:21 PM
Hello,

We're not sure from your last post whether you still need our help or the problem is resolved. If the issue persists, we would appreciate if you open a support ticket and attach a sample that exhibits the problem and include and steps to reproduce necessary.

All the best,
Steve
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
pavel
Top achievements
Rank 1
answered on 18 Apr 2012, 10:41 AM
Hello.
My problem agreed, after new registered packege instalation.

решенный
имя прилагательное решенный
Tags
General Discussions
Asked by
pavel
Top achievements
Rank 1
Answers by
Peter
Telerik team
pavel
Top achievements
Rank 1
Steve
Telerik team
Share this question
or