Telerik Forums
Reporting Forum
2 answers
197 views
hey guys,
 i've a little problem here, i created a method in a report (report x), takes 1 parameter to fill the dataset query with this parameter. this report x is used as subreport in another report (report y)....  so i call that method from report y in the textbox bound event with the value of the text box as the parameter like that:

Telerik.Reporting.Processing.TextBox textbox = sender as Telerik.Reporting.Processing.TextBox; 
string myParameter = textbox.Text; 
mysecondReport mysecondReport1 = new mysecondReport(); 
subReport1.ReportSource = mysecondReport1; 
((mysecondReport)subReport1.ReportSource).fill_DataSet(myParameter);  // where fill_DataSet is my method

and this is the code of my method (fill_DataSet) in report x:
public void fill_DataSet(string myParam) 
        { 
 mysecondReportTableAdapter adapter = new mysecondReportTableAdapter(); 
 myDataSet.mysecondReportDataTable table = adapter.GetDataBymyParameter(myParam); 
this.DataSource = table; 

i've breakbpoint all these and the value is passing correctly from the textbox bound event to the other report but the problem in the first time the subreport rendered where it show no data (as if the value didn't pass) , then this value(first textbox) that supposed to be for the subreport (first subreport) is taken instead by the second subreport rendered.
so my output is a subreports with incorrect data, and a missing first subreprot rendering.

hope someone get it and could help me with that.

P.S i can't use need datasource event as the report has its own dataset and i don't want to use parameters.


Fatima Mohey
Top achievements
Rank 1
 answered on 18 Oct 2009
1 answer
170 views
I am getting error:
Cannot apply indexing with [] to an expression of type 'System.Collections.Generic.IEnumerable<Telerik.Reporting.ReportParameter>
Any new workaround for this one?  Cheers.
Sergei Rassk
Top achievements
Rank 1
 answered on 17 Oct 2009
1 answer
264 views
Help...

I'm a newbie at Telerik reporting. I am having a hard time getting this down for my project.

I have a datatable with say 5 rows of data.

I am then binding that datatable to the table. When I do this, it creates a new page in the report for each row of data. I would like 5 rows of data in one page

etc...

Row 1 = 'FirstName' 'LastName'
Row 2 = 'FirstName2' 'LastName2'

However, what it's doing is putting Row 2 on another page. Any help?

Here is my code...

rpt.DataSource = datatable;

ReportViewer1.Report = rpt;

On actual report. I just have a table control and FirstName and LastName in 2 separate columns.

 

 

ReportViewer1.DataBind()

 

Scott Niskanen
Top achievements
Rank 1
 answered on 16 Oct 2009
1 answer
76 views
I have a report that has 3 report parameters.  These are cascading multi-selects, where each successive parameter depends on what was chosen in the previous parameters.

I am using a ReportViewer object on my page.

I do a select all on all 3 parameters and click Preview, everything is good.  Then go back to the 2nd parameter and drop it down, select only one value.  Immediately go over and click Preview without closing the 2nd drop down parameter.

In IE7 the report does not refresh properly.  I have to click Preview 2 times.  On the 2nd time if properly refreshes..  In Firefox 3.5.3 the changed data take affect on the first click of the Preview button.

To me IE7 does not function properly.

Any help would be appreciated.
Thanks
Mike Booth
Steve
Telerik team
 answered on 16 Oct 2009
8 answers
187 views
Hello,
I have a big problem that I can't solve. The quality of texts used in graphics is not good, since the characters used are not vector and so you can see all the dots. Is there anything I can do to make vector characters ?

Thanks,
Silvia Terzi
Steve
Telerik team
 answered on 16 Oct 2009
13 answers
155 views
I have a client who is running Mac OS X and Office 2004 (for Mac) and she cannot open the documents from your demo site.  Please inform.

 -- xavier
Kirill Bykov
Top achievements
Rank 1
 answered on 15 Oct 2009
2 answers
189 views
I have seen a code snippet in the tutorials but that doesn't really help in creating reports at run time.

I have a dataset which is being generated at run time.  The program does not know what data is going to be in the dataset at design time. However we need to generate reports during run time based on the data in the dataset. Obvoisly, I cannot design the report before hand and so need to design the report in the code. I have researched a little bit but doesn't seem to get the full code sample that can get this done.

Any leads to this end would be much appreciated. What I am looking for is a full sample webpage code for generating a report from a dataset.
Anil K
Top achievements
Rank 1
 answered on 15 Oct 2009
1 answer
120 views
I currently have 2 reports that are bound to a DataSet. The first report has 3 parameters and is the full report, or master report if you like.
It shows a list of Products, along with other details.

The second report has 4 parameters, 3 of which are the same as the first report. The last parameter is the product code.

Basically, I want to use some sort of link on the product in the first report that will then pass it's parameters, along with the product to the second report and display the results in the report viewer with an option of returning to the previous report.

Is this possible or is there something you can suggest that will perform something similar?
Steve
Telerik team
 answered on 15 Oct 2009
1 answer
66 views
Hi,
 Iam using RAD Controls for Winforms there i can export my data to excel sheet but i want to export my data to pdf  i found that its possible through Telerik reporting i have downloaded that thing with that how can i export my data to pdf and note that i want to export data to pdf for windows application

any help would be appreciated

thanks
yeswanth
Steve
Telerik team
 answered on 15 Oct 2009
5 answers
164 views
Hello Telerik-Support team

I create a report with a table control and some conrols in the details section.

Currently I want to implement that each table item and each details section item
get a defined color. This color is defined in the database,

So the table shows for example 5 items from an table which also has the RGB-Color
definition. So on showing this items in the report each table row(item) must get this
color as background.

The same i want to implement on the details section (items).

Is this posible and when how? :)

Greetings
Christian
Steve
Telerik team
 answered on 15 Oct 2009
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?