Telerik Forums
Reporting Forum
1 answer
203 views
Hello:
first of all, i want to tell you that i´m new in telerik, and i ´ve searched this problem in the forum but i can´t solve it.
i'm working with a List in the report.
i'm using linq to set the list.datasource  (in the detail_ItemDataBinding event) and it works well, but, when the datasource.count() == 0, all the textbox inside the list give this error

An error has occured while processing TextBox 'textBox22':
The expression contains object 'fechaHora' that is not defined in the current context.

Telerik.Reporting.Processing.Table _listTriage = (Telerik.Reporting.Processing.Table)detailSection.ChildElements.Find("TriageList", true)[0];                   
                   var dsTriag= from d in dc.Guardia.Where(w => w.registroGuardia == id) select d;

it only appears when linq return 0 rows.

In the list i´ve 10 textbox with the property value = = Fields.[fechaHora]

Thanks for your help and sorry for my english.

Sebastián
Chavdar
Telerik team
 answered on 12 Aug 2010
1 answer
100 views
Have just upgraded my website to Reporting 4.1.10.714.  The reporting chart pages execute as expected when run from VS2010.  However, if I publish the website out to my IIS server, then my report viewer shows no data for my report parameter controls.  Two of these controls are drop down lists that are fed from SQL table selections, and the drop downs are empty and the chart will net render since the parameters have no initial value.  In both cases the datasource for the controls is from the same database, accessed by the same userid in SQL.

This all worked fine under VS2008 using Reporting 2008_3_1402.

Any ideas how I might be able to diagnose this?  Thanks.

Dan
Steve
Telerik team
 answered on 12 Aug 2010
0 answers
136 views
I'm currently trying to make a report that displays information from 2 separate sql views. Unfortunately this means I have to make 2 separate reports since I need to use a different dataset for each view. Both sub reports generate 1 column and 24 rows with each value calculated. I simply want to add the rows from both reports into a total on the parent report. Is this at all possible, and if not is there an alternative?
Steven
Top achievements
Rank 1
 asked on 11 Aug 2010
1 answer
388 views
I'm using vb.net and telerik reporting.  I have an object that I set as my report datasource.  This object has an array in it.  When I go to my report and input values in the textboxes or even in the code behind in my report, I do not know how to get the items from the array in the object onto my report.  Does anyone know how to do this?
Steve
Telerik team
 answered on 10 Aug 2010
1 answer
138 views
Scenario:

Generating a report and datasource is being assigned from code behind. Report has a table and a chart.

Issue:

Table generates correctly but chart does not. How do I tell chart what column to plot? I looked at the documentation but was not very helpful. Is there a way to debug if the chart's datasource is assigned correctly?

Thank you.
Steve
Telerik team
 answered on 10 Aug 2010
3 answers
75 views
Hi  Sir

    Just wanted to know by using telerik reporting tool can we make connection with Microsoft SQL Server Cubes...and generates the report


Thanks & Regards,
Suresh Prajapati
Steve
Telerik team
 answered on 10 Aug 2010
1 answer
62 views
I am using Q2 2010 and combine two reports into one using a report book. When I render the report in the report viewer, it displays just fine, but when I export it as a pdf or rtf document there is an error. The second report contains a subreport. That subreport displays fine in the report viewer. When the report is exported, the subreport is not printed on each page, but rather after each page as a whole extra page.

Can you suggest any possible cause for this?

BTW, the report that cases this behaviour does not seem always behave this way when rendered on its own (no report book), but it happens 100% of the time with a report book.

TIA

 
Steve
Telerik team
 answered on 10 Aug 2010
4 answers
152 views

Hi,

I am in doubt which approach is the better.

I have a collection of a custom businessobject as datasource on a subreport.
it has two properties. A typetitle and a text. Both strings

Data could be like this.

TypeTitle, Text
TypeExample1, TextExample11
TypeExample1, TextExample12
TypeExample1, TextExample13
TypeExample2, TextExample21
TypeExample2, TextExample22
TypeExample3, TextExample31

I want the report to render as this:

TypeExample1
   TextExample11    TextExample13
   TextExample12

TypeExample2
   TextExample21    TextExample22

TypeExample3
   TextExample31

I tried to look a columns, but it also includes the groupheader.

Is there a simple approach for this, or do I have do a hacked solution with extra subreports etc.

Hope for a quick reponse.

Thanks!
Morten

Morten Louw
Top achievements
Rank 1
 answered on 10 Aug 2010
3 answers
270 views
Hello:

I can't seem to figure out how to display a ReportParameter's DisplayMember in a report. The ReportParameter is set via a SQL query.

I am generating the parameter using the code below:
reportParameter1.Name = "ClientId";
reportParameter1.Type = Telerik.Reporting.ReportParameterType.String;
reportParameter1.UI.AllowBlank = false;
reportParameter1.UI.Visible = true;
reportParameter1.UI.AvailableValues.DataSource = ds.Tables[1];
reportParameter1.UI.AvailableValues.DisplayMember = "name_display";
reportParameter1.UI.AvailableValues.ValueMember = "client_id";
this.ReportParameters.Add(reportParameter1);

"client_id" is an int, "name_display" is a string.

I have a textbox on the report that I am attempting to fill in the report's ItemDataBound event like this:
this.tbClientId.Value = string.Format("Client Id = {0}", reportParameter1.Value.ToString());

Obviously this only returns the "client_id" member. I need it to display the "name_display" member. How can I accomplish this?
Steve
Telerik team
 answered on 10 Aug 2010
1 answer
111 views
hi
i want to have picturebox in Page footer that works like a image link . when i click in the picture box it goes to a specific website .
i want to use it in a windows application  not a web application . is it possible or not ?
thanks
 
Steve
Telerik team
 answered on 10 Aug 2010
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?