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?
On my Telerik Report:
Thx,
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,