Telerik Forums
Reporting Forum
2 answers
119 views
Hi,

   I am creating a report where I need to change a value int to string.
Example:
     When status is 1, I want to load "Android" instead of 1.

Thanks Attention!



Flávio
Top achievements
Rank 1
 answered on 16 Jun 2011
4 answers
287 views
Hi Telerik Team,

I've tried to find an answer to my problem but found nothing.
I've recently upgraded my version of Visual Studio from 2008 Pro to 2010 Pro. Till this day, I don't have Telerik Report Template anymore into the "add -> New Item" dialog box.
I've tried to copy the Telerik reports zip from 2008 folder to 2010 one (item templates), I've also tried to repair the install of telerik reporting through the installer, but nothing appears.

Is there a solution about that please ?
Thanks

Regards
Steeve
Fisher
Top achievements
Rank 1
 answered on 16 Jun 2011
1 answer
84 views
is visual studio required to design reports? We want to allow customers to design and create report templates, but this might be a problem if they need to to install visual studio
IvanDT
Telerik team
 answered on 16 Jun 2011
7 answers
580 views
Hi There,
I'm using Q3 2010 (version 4.2.10.1110) reporting and my report is based on table report item. If there is no any row group in table structure then everything fine and all data are included into .csv file, but if there is at least one row group then .cvs file includes only one (first) record for each group. For more details please see attachments. Is this a correct behavior of  Telerik Reporting? If yes - then how could I avoid it?
Thanks.

Peter
Telerik team
 answered on 16 Jun 2011
4 answers
108 views
I have reports with hidden sections in them. These sections can be shown/hidden through actions defined on their parent elements.

When a user prints a report, it is printed as it is shown in the viewer, expanded sections are printed, hidden sections are not. I would like to somehow hook into the print event and expand all sections prior to printing. Is this possible?

(I am using the SL viewer)
Peter van Rees
Top achievements
Rank 1
 answered on 16 Jun 2011
3 answers
86 views
Hi Team -
I'm desperately looking for a way to align cells in rows and columns...
Simply because it becomes very tedious in a complex report, to separately resize multiple Textboxes that need to be aligned...

I was hoping to use the obvious "Table", but the table cannot reference the Report's dataset and Fields..!

thanks for any pointers!
 -bash
Massimiliano Bassili
Top achievements
Rank 1
 answered on 16 Jun 2011
5 answers
129 views
Hi there,

I've been designing Telerik Reports recently, but now I've noticed some strange behaviour. My report is using an ObjectDataSource and in my PageHeaderSection I use a TextBox with its Value property set to "= Fields.Project.Name". Whenever I generate this report I see this TextBox twice above each other.

For instance Fields.Project.Name is equal to "Telerik". My report shows the following:

Telerik
Telerik

____________________________(end of PageHeaderSection).

I just want it to only display "Telerik" once, not twice.

Any idea of what's causing this anomalous behaviour? Thanks in advance!

Regards,
Datamex
Steve
Telerik team
 answered on 16 Jun 2011
1 answer
84 views
Hello All,

I would like to add a "View PDF" button column in RadGrid that would allow me to collect the data in the row and show a PDF of a designed report.  Is this possible? If yes, how can i do this?

this would mean that i do not show the report viewer on the page and most of it is handled programmatically.

Thanks,

Arsalan Ansari
Arsalan Ansari
Top achievements
Rank 1
 answered on 16 Jun 2011
1 answer
144 views

Hi,

I want to develop a pdf report using Telerik Report.  Below is my problem statement:

Problem Statement:

I have to develop a report in which I have 4 data sections(Actually Table) say

Section 1

Section 2

Section 3

Section 4

All the sections are releated in such a way that the re can be multiplle section1 and under Section1 there can be multiple section2 and under each section 2 there can be multiple section3 & section4.

Data Source would be a list of anonymous type which would be a result of linq query.Below is the pattern in which I have the data soure:

List of  {Department, Gender, EmpId, Employee Name}

Data:                                       {D1, M, 1, AAA}

{D1, M, 2, SSS}

{D1, F, 3, XXX}

{D1, F, 4, UUU}

{D2, M, 5, PPP}

{D2, M, 6, RRR}

{D2, F, 7, BBB}

{D3, M, 8, MMM}

{D4, F, 9, JJJ}

{D4, F, 10, LLL}

{D4, M, 11, RRR}

{D4, M, 12, QQQ}

Desired Output:

                                                Report Header

Section1                                 D1

                                              

Section2                                 M

                                               

Section3,4                              1,AAA   

Section3,4                              2,SSS

                                              

Section2                                 F

                                               

Section3,4                              3,XXX   

Section3,4                              4,UUU   

again the same way the data is repeated. So Could you please provide me the help in implementing this.

                                                                                               

Thanks!

Regards,

Mohit

 

Peter
Telerik team
 answered on 15 Jun 2011
1 answer
129 views
Hi,
I have the following statements in my report codebehind ( NeedDataSource) :

 

IEnumerable kl;   
kl =(IEnumerable)Report.ReportParameters[0].Value;   
List<string> ls = new List<string>();   
foreach (IEnumerable ie in kl)  
 
ls.Add((string)ie);   
}

It works fine.
But if this report is executed as a subreport from another Report i have :
Unable to cast object of type 'System.Char' to type 'System.Collections.IEnumerable'.
on foreach line.

so i tried :
IEnumerable kl;   
kl =(IEnumerable)Report.ReportParameters[0].Value;   
List<string> ls = new List<string>();   
foreach (var ie in kl)  
{  
ls.Add((string)ie);   
}

same problem, but now i can see the value of ie is the first char of the current kl element,
that is if the kl element is "Bye" ie value is "B". Then is obvious i get a casting eroor.
But why i have a different behaviour (report, subreport) and how to solve it?
Any idea?





Steve
Telerik team
 answered on 15 Jun 2011
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?