Telerik Forums
Reporting Forum
3 answers
316 views
Hey all,

I've managed to get this far, and could just use a nudge in the right direction if possible:

I wanted to select values from my database, have my business object return them in a collection (generic) and then create parameters in a dropdownlist at the top of the report, so a user can select an item at the top. Subsequently, this item would go out to a stored procedure, that would get different results on the page (i'm actually using a graph on the chart/report)

List

 

<string> campaignTypes = ReportGenerator.GetCampaignTypes(parameters/metadata goes here..);

 

 

 int i = 0;

 

 

foreach (string campaignType in campaignTypes)

 

{

 

  ReportParameter rp = new ReportParameter(campaignType, ReportParameterType.String, campaignType);

 

 

  this.ReportParameters.Add(rp);

 

 

  this.Report.ReportParameters[i].UI.Text = campaignType;

 

 

  this.Report.ReportParameters[i].UI.Visible = true;

 

   i = i + 1;

}

So the area in green..this goes ahead and adds 3 parameters (i had 3 items in the list), but the problem is they are all new parameters in textboxes! I wanted to have 3 in one report parameter collection, as a dropdownlist.

I understand there is a reportparametercollection, but I did not see a way to add it to the report. Only to create it and add report items to it. This code is in the constructor of my report, by the way. Any suggestions on how to get the dropdownlist to appear, and have it's datasource as the generic?

Thanks so much!

Steve
Telerik team
 answered on 08 Oct 2009
1 answer
392 views
Hello,

I am putting together report using the table control. I have been trying to find a way to merge cells but it seems impossible at this point.
Please confirm.

Since I was not able to find a way top merge cells in order to put together the correct columns titles that span across multiple cells I've placed text boxes above the table and aligned the boxes to the exact lines of the cells.
However, when rendered in HTML the text boxes are no longer aligned.

Can you please advise how I can address such an issue. Screen shots attached.

Thank you,
G
Steve
Telerik team
 answered on 08 Oct 2009
4 answers
159 views
Hi

I have a requirement for many reports which are fixed in their length for each page. i.e. the detail section takes up the whole page.

Some of these reports are more than one page.

How do I in the detail section force a page break at a specific point ?

I do no twant to use the Before/After and Before and After feature already in the properties. I need to force a page break in the middle of the detail section.

Kind Regards

David
Solomon Mathai
Top achievements
Rank 1
 answered on 07 Oct 2009
5 answers
324 views
I have a report that has a group section. In that group section I have a textbox called BranchPoints that is an expression to get the points for each branch Here is the expression(=IIf(Sum(Fields.points) > 2500, 2500, Sum(Fields.points) )). In my header section, i need a textbox that will have an expression that needs the sum of the branch points. I cant have a total sum of the report. Is there a way in the header expression that I can call the textbox (branchpoints). So this is what I am looking for in the header textbox

=Sum(BranchPoints)

Is this possible? In crystal you can create a field and use it anywhere else in the report. Can Telerik do this?
I am doing this all through the report interface. I am not doing it programmatically.
John Braga
Top achievements
Rank 1
 answered on 07 Oct 2009
1 answer
95 views
Two questions:
1. RADGRID 2006 : How do you maintain the viewstate of the radgrid across postbacks. How do you access the viewstate values of filter and sorted fields. In addition I have added a checkbox item in the grid and how do I retrieve the checkbox checked values across the postbacks from the viewstate. Isn't the viewstate by default holds the values and you can access them across the postbacks? Or is it explicitly you have to store them in a variable and retrieve back. I am looking for programmatically retrieving the fileter, paging and sorted fields in the code. Is there a difference between the RADGRID 2006 and 2009 versions for the purpose.

2. How do you pass on the viewstate information of the radgrid to the telerik reporting (2009). For example I am storing the sorted and filtered fields in session variable and passing it to the report viewer which doesn't seem to work correctly. Of course I need even to pass the parameters. I could get the report but messes up with sorting order. A sample code transferring viewstate information from radgrid to telerik reporting would be helpful.
Yavor
Telerik team
 answered on 07 Oct 2009
1 answer
94 views
Hi,
  I'm using telerik reports as one of the module in my project which is very huge and it has hundreds of css classes.
I'm using telerik report viewer in my ascx page which is  a content place holder of a master page. When i run my project the Page Number box of my report viewer is not displaying properly. I don't know which property of my css class is affecting the property of the page number box of my report viewer. I'm not able to trace it in my css file as it has thousands of lines. Can you help me in finding out which possible poperty of a css could affect the Page number box of the report viewer? Please help me ASAP.
Thanks....


Steve
Telerik team
 answered on 06 Oct 2009
2 answers
218 views
Hi Telerik Team,

I have problem on my telerik printform. How to control the top,left,right,bottom margin in print form.
Please click this link http://deals2deal.com/PrintForm.JPG . Here you can see the image where i have indicated the problem to be resolved.

Kindly give me the solution to resolve this problem.
Thanks in advance,

Regards,
Parthiban.
Solomon Mathai
Top achievements
Rank 1
 answered on 06 Oct 2009
1 answer
60 views
1. Can we make complex Report in Telerik Reporting tool? if yes then How? 

2. Can we customize my report and change whole pattern of report? if yes then How? 

Complex Report Like:


report name:-  Annual earning moth wise and service wise
format:-
---------------------------------------------------------------------------------------------------------------------------------------------------------------
sno service name   jan  feb  mar  apr  may  jun   jul   aug   sep   oct   nov   dec   total
---------------------------------------------------------------------------------------------------------------------------------------------------------------
1    pathology          1     0     0      2      0      0    6        8     0      0      0       0         17
2    x- ray                 1     0     2      0      0      0    6        8     0      2      0       0         19

result of sql query according any service displays in twelve rows, but if i want result to display in single line and in the above formate
Steve
Telerik team
 answered on 06 Oct 2009
4 answers
213 views
Hello,

I have a slight problem. I've created a new report, with the datasource, simple select statement, some text and went to preview, nothing's there, except pageHeader, reportHeader and pageFooter. But if I remove the DataSet from the report(in Properties), then all the text appears visible. Where have I gone wrong? I've tried a whole bunch of stuff and nothing returned results.

Kind regards,
Thomas
Tomaž Lovrec
Top achievements
Rank 1
 answered on 06 Oct 2009
2 answers
91 views
Hello, I have a Report for windows application. I have used Telerik.Reporting.Datatable to display the result. It works fine around 2500 records.
But throw System.MemoryOutOfStream Exception after rendering 5 to 8 minutes for more than 2500 records OR sometimes it display the  Message "NO PAGE TO DISPLAY". I am directly Giving Datasource to Telerik table.
Help me to solve this error...... Is there any limit for datatable rows..... Becoz My resultdata will contain more than 30,000 rows sometime... THANKS in Advance
Projects Computerra
Top achievements
Rank 1
 answered on 06 Oct 2009
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?