Hi,
i want change icon resource collappse in reporting view, can you support me!
you can see attach files collapse, and i want change to file collapse-change
thanks!
Hi,
I'm using WPF with visual studio 2015.
I'm trying to display a basic report in a wpf telerik report viewer control.
I created the report Test.trdx using Report Designer Q3 2013 witch seems to be working fine in Preview mode.
1) I tried to connect the report viewer to display Test.trdx using visual studio 2015, however in report viewer properties, when clicking on Report Source -> New
I receive the following message box from visual studio 2015 "No types are available for you to add to this collection".
2) I tried to connect the report viewer to display Test.trdx programmatically as follow but the report is not displayed:
Telerik.Reporting.UriReportSource uriReportSource = new Telerik.Reporting.UriReportSource();
uriReportSource.Uri = "C:\\WorkingDir\\Reporting\\Test.trdx";
reportViewer.ReportSource = uriReportSource;
reportViewer.RefreshReport();
Why am I receiving the message box error in (1) and why telerik report viewer is not displaying Test.trdx in (2)?
Thanks
Sam
Hi!
My customer has some strange requirement. From the ReportViewer (WPF) window he wants to click a button, then page one gets printed 4 times and all other pages from page two onwards should be printed 2 times. How can I achieve this with Telerik reporting?
Regards
Heiko
I have this HTML code:
@(Html.TelerikReporting().ReportViewer()
.Id("reportViewer")
.ServiceUrl(Url.Content("~/api/reports/"))
.TemplateUrl(Url.Content("~/ReportViewer/templates/telerikReportViewerTemplate-9.2.15.930.html"))
.ReportSource("Coordinaciones/Report1.trdx", new Dictionary<string, object>() { { "@Daes_id", "DAE011" } })
.ViewMode(ViewMode.Interactive)
.ScaleMode(ScaleMode.Specific)
.Scale(1.0)
.PersistSession(false)
.PrintMode(PrintMode.AutoSelect)
.ParametersAreaVisible(false)
Hi,
I create a report and i try to export it to PDF, I'm using C# ASP.net MVC 4 , but an unknown error occured and I can't resolve it, can you help me please,
this is the C# Source code
and I the print screen of the generated PDF file in the attachements
public ActionResult PrintRpt(int myId)
{
try
{
myReport report = new myReport();
report.sqlDataSourceMyReport.Parameters[0].Value = myId;
report.sqlDataSourceMyReport.ConnectionString = "";
var processor = new ReportProcessor();
var res = processor.RenderReport("PDF", report, null);
var pdfSteream = new MemoryStream(res.DocumentBytes);
FileStream file = new FileStream("d:\\file.pdf", FileMode.Create, FileAccess.Write);
pdfSteream.WriteTo(file);
file.Close();
pdfSteream.Close();
byte[] bytes = pdfSteream.ToArray();
string base64String = string.Empty;
try
{
base64String = System.Convert.ToBase64String(bytes, 0, bytes.Length);
byte[] binaryData = System.Convert.FromBase64String(base64String);
}
catch (System.ArgumentNullException)
{
throw new Exception("Binary data array is null.");
}
return Json(base64String, JsonRequestBehavior.AllowGet);
}
catch (Exception e)
{
return Json(e, JsonRequestBehavior.AllowGet);
}
}
Dear users,
i want to use a class from my project to generate a report. i am able to use Public Property's from my class as long as it holds just one value with success
When i try to use a property like (remark: i want to print all values in it as a list)
Public Property douRundenZeiten As New BindingList(Of Double) ' Feld mit allen Rundenzeiten - Messwerte
instead of the values the report shows System.ComponentModel.BindingList1[System.Double] in the tablecell (table wizard as used)
Why will this happen and how to access the real values from the BindingList
A close by behavior also happens when i read in an xml file like
<?xml version="1.0" encoding="utf-8"?><TicketRun> <Fahrer> <Pos>1</Pos> <Kart>8</Kart> <NameOfDriver>Kart-Nr. 08</NameOfDriver> <Rnd>13</Rnd> <Rundenzeiten> <Laptime>120,06</Laptime> <Laptime>119,15</Laptime> <Laptime>126,12</Laptime> <Laptime>159,8</Laptime> <Laptime>147,46</Laptime> <Laptime>119,07</Laptime> <Laptime>119,22</Laptime> <Laptime>120,2</Laptime> <Laptime>119,64</Laptime> <Laptime>120,3</Laptime> <Laptime>120,2</Laptime> <Laptime>120,85</Laptime> <Laptime>121,34</Laptime> </Rundenzeiten> <Best>119,07</Best> <Speed>19,05</Speed> </Fahrer>Using
Function ReadTicketWithTimesXml(xmlfile As String) Dim ds As New DataSet xmlfile = "e:/karatris/LTR.xml" ds.ReadXml(xmlfile) Return ds.Tables("Fahrer") End Functionand use this function as a source for an objectdatasource all values can be used in a report except the <Rundenzeiten> <Laptime> values.
The Report shows System.Data.RelatedView in the table cell instead of the values.
Using the same xml in Altova Style Vision works like a charm for generating HTML Reports.
What is the reasons why it does not work the same way in reporting. Where is my mistake?
Attached is the view how the objectdatasource looks in visual studio 2012.
Any help is welcome
Martin Gartmann
Hello
Im having trouble reaching the detailsection of a loaded subreport, in my mainreport contructor.
here is my subreport loading procedure:
this.subLP5.ReportSource = new subLP5a();
//change pagebreak of subreport detailsection
DetailSection ds = (DetailSection)this.subLP5.Report.Items["detaillp5a"];
ds.PageBreak = PageBreak.None;
I get ds=null despite "detaillp5a" is the existing name for subLP5a detailsection.
Should I adress the detailarea in another manner?
regards
Mark
Hi there
Due to we change the Visual Studio from 2008 to 2010, we've updated the 2008 version to 2010 Q3 version of Telerik reporting.
We are having trouble with one report, it gives the error: 'value of the parameter of the report invalid'.
This particular report is a dynamic column approach type of report.
So in our ASPX file we just do the like this previously:
Telerik.Reporting.Report report = new EUCTVIReports.MostLeastPreferredReport();
report.ReportParameters["MyParameter1"].Value = dtMostView;
report.ReportParameters["MyParameter2"].Value = dtLeastView;
this.rprtvwrMostLeastPreferred.Report = report;
We passed DataTable into 2 parameters into this report.
Here's the code in telerik reporting called MostLeastPreferredReport (telerik_3a.png, telerik_3b.png, telerik_3c.png, telerik_3d.png) and also Paramters (telerik_2a.png and telerik_2b.png).
Please help. Is there any other approach that I can do?
Thanks