Telerik Forums
Reporting Forum
3 answers
840 views
Dear telerik support team,

i have a telerik report wich i need to show my customer's logo, is there a way to i pass a byte[] to a picture box through report parameters?


Report novoReport = (new GCReport.Sistema.CadastroBairro());
       List<BairroInfo> list = new List<BairroInfo>();
 
       if (this.IdCidade > 0)
       {
           list = (new BairroBLL()).ConsultarPorIdCidade(this.IdCidade).
               OrderBy(obj => obj.NomeBairro).
               OrderBy(obj => obj.Cidade.NomeCidade).OrderBy(obj => obj.Cidade.Estado.NomeEstado).
               OrderBy(obj => obj.Cidade.Estado.Pais.NomePais).ToList(); ;
       }
       novoReport.ReportParameters["Rodape"].Value = Resources.Label.Rodape;
       novoReport.ReportParameters["GeradoPor"].Value = Resources.Label.GeradoPor;
       //CRED.Usuario.Pessoa.Foto = Byte[] from sql database
 //Image parameters = string type / multivalue = false
       novoReport.ReportParameters["Image"].Value = CRED.Usuario.Pessoa.Foto;
 
       novoReport.DataSource = (new ReportContainer<BairroInfo>(list[0]));
 
 
       rvBairro.Report = novoReport;
       rvBairro.RefreshReport();

On my Telerik Report:
this.pictureBox1.Value = "= Parameters.Image.Value";


Thx,
Hinata
Top achievements
Rank 1
 answered on 07 Nov 2014
2 answers
56 views
I cannot get a report to bind to the Open Access.

- I have created an Open Access Data Source. (with no parameters defined, ObjectContextMember = 'Projects')
- I have set my datasource of the report to the datasource I have created.
- I have created a report parameter with Name = 'ProjectId', Text = 'ProjectId', Value = 'A7F93FDF-24F6-4B6C-A63F-2C067050A8DF'
- I have placed a textbox on to my report to just output the 'Id' and 'Name' of the project.

I am not sure how to take my defined parameter and apply it to 'Projects' to have it return the correct 'Project'.
Hinata
Top achievements
Rank 1
 answered on 07 Nov 2014
15 answers
407 views
So, on Azure with 2 or more web roles, using the REST API and HTML viewer, do I have to enable database caching, as they don not share a file system? Also, I dont want to use ASP.NET session state, this is a pure MVC WebAPI app.
Stef
Telerik team
 answered on 07 Nov 2014
2 answers
145 views
Hi,

if I add a CrossTab or a List in a Group Footer it work using all details instead of only group details.
Why? Exists a workaround.

Thanks,
marc.
Stef
Telerik team
 answered on 06 Nov 2014
1 answer
294 views
We have a "quote" report written in SSRS.  The requirement is to include a "Terms and Totals" section docked to the bottom of the last page of the quote report.

We can't get SSRS to "dock" this "rectangle" based section to the bottom of the page no matter what we try.  Basically we need the "Terms and Totals" section to display on the last page just above the page footer.  If the "Terms and Totals" section will not fit in available space the report should page break with the "Terms and Totals" section docked to the bottom of the new last page.

Can Telerik Reporting help us with this requirement even though our report detail rows are NOT fixed height and need to wrap to multiple physical rows?

Is there a demo report we can look at to determine this?

Thank you in advance
Bob Baldwin
Trabon Solutions
Stef
Telerik team
 answered on 06 Nov 2014
1 answer
48 views
I have a report which contains the following fields:
TotalAdmin (Invoice Total)
tmpInvoicePaymentAmount (Payment Total)

In textBox25 have the following Expression =Sum(Fields.TotalAdmin)
In textBox26 have the following Expression =Sum(Fields.tmpInvoicePaymentAmount)

I need to have textBox27 = textBox25 - textBox26


Nasko
Telerik team
 answered on 06 Nov 2014
3 answers
149 views
My data has a decimal 1-5 rating column...what's the best way to go about representing that as stars?  Like not just showing 3 stars, but 3 yellow and 2 grey (know what I mean, always 5)
Stef
Telerik team
 answered on 05 Nov 2014
1 answer
181 views
Is this possible?
Stef
Telerik team
 answered on 05 Nov 2014
3 answers
133 views
Hi, is there an example of generating some barcodes from field values in the database ? We are using code 25 interleaved ?

Thanks a lot,

Pete.
IvanY
Telerik team
 answered on 05 Nov 2014
2 answers
112 views
I've been making pretty good use of Telerik reporting over the past couple of months.  The blend of report bands (ala Crystal Reports) and tablix controls (ala SSRS) is useful.

There's one feature that I'm really missing from SSRS though - placeholders.  See http://msdn.microsoft.com/en-us/library/dd207048.aspx

It brings two key benefits
1. The ability to easily mix formatting of text within a single textbox.  Thus you could bold a bit of text, and in the same box, have normally formatted text.
2. Building on #1 - the ability to have multiple expressions within a single textbox.


It means that a list of names can be done as
Smith, John
Jones, Allison
Longnamen, Shorty

This natural look is quite appropriate in many listings.  It could be done with string concatenation and HTML formatting but this is much more difficult than just using placeholders like
[surname], [firstname]
as we'd don in SSRS.

The least-friction way to do this in Telerik report is 

Smith,           John
Jones,           Allison
Longnamen, Shorty

where we use two separate textboxes for surname and firstname - this leads to having to gauge how big surnames could be and then have the firstname always far enough over to avoid a collision.

Is this something you might consider for Q1 2015?  I haven't thought about it too heavily but I suspect you could implement it with some work in the designer to allow entry, storage and manipulation of placeholders.  In the rendering engine you could translate this to HTML formatted string concatenation.

Thoughts? :)

Nasko
Telerik team
 answered on 05 Nov 2014
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?