Hi,
I would like to know if it's possible to hide elements when printing.
Scenario:
I have a report consisting of a table. One of the columns in this table have a link that I do not want to show when printing the report. Is this possible?
Thanks.
Hi,
I have a horizontal bar graph, with varying amount of data in it. Is there any feature or property I can set, either in code or within the reportviewer directly , so that the graph.container will resize accordingly?
Thanks in advance!
Regards,
Shreyas Menon.
Hi,
I am new in using Telerik reporting and considering moving from Crystal Report. I need help on display subreport data in WPF VS 2015. The application able to display the master report data but it doesn't show subreport data after added code for subreport. Below is my sample code.
private void frmMainWindowB_Loaded(object sender, RoutedEventArgs e)
{
//Get data
var objectDataSourceSub = new Telerik.Reporting.ObjectDataSource();
objectDataSourceSub.DataSource = GetSubData1(); // GetData returns a DataTable
var objectDataSourceMain = new Telerik.Reporting.ObjectDataSource();
objectDataSourceMain.DataSource = GetMainData(); // GetData returns a DataTable
//
var mainreport = new MyReportLib.SampleBMainRpt();
var Bsubrpt1 = new MyReportLib.SampleBSubReport1();
Telerik.Reporting.SubReport subreport1 = mainreport.Items.Find("subReport1", true).FirstOrDefault() as Telerik.Reporting.SubReport;
var reportSource = new Telerik.Reporting.InstanceReportSource();
reportSource.ReportDocument = mainreport;
mainreport.DataSource = objectDataSourceMain;
var SUBreportSource = new Telerik.Reporting.InstanceReportSource();
Bsubrpt1.DataSource = objectDataSourceSub;
SUBreportSource.ReportDocument = Bsubrpt1;
subreport1.ReportSource = Bsubrpt1;
reportViewerB.ReportSource = reportSource;
reportViewerB.RefreshReport();
}
1. Configure the database cache provider with mssql as defined in the documentation.
2. View a report by setting the Report property of the viewer with the class name of the report.
3. Clear the report when the user is done viewing the report by setting the Report property of the viewer to null.
I see the request to invalidate the report session, but the cached data remains in the database.
Raw request:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><RenderAndCache xmlns="Telerik.ReportService"><format></format><report></report><deviceInfo xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><d4p1:KeyValueOfstringanyType><d4p1:Key>InvalidSessions</d4p1:Key><d4p1:Value xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string">["035e4409-655c-49ab-a5b0-b9bf5e0d9859"]</d4p1:Value></d4p1:KeyValueOfstringanyType></deviceInfo><parameters xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" /></RenderAndCache></s:Body></s:Envelope>
Hi,
I have hooked up an extender to my entity framework model and the dll I use has a public DbContext object. In the Data Explorer of the report designer I see all my entity objects/tables just fine but I don't see any of the columns ie. I can only drag the entire table onto my report and then in preview I just get a series of sql statements as below, but I cannot drag individual columns and I cannot see the actual data in my report:
Select [Extent1].[ID] as [ID],
Select [Extent1].[Name] as [Name],..... etc.
What am I doing wrong here?
Hi,
i have created a report with RTF template using XML Publisher. when i run the report in pdf format then its showing blank page as the first page followed by the actual report content.
i have already gone through solution given under "Problem: Telerik Reporting renders blank pages" blog but did not find it applicable to my report issue.
please share if any suggestions.
Best Regards,
I have a telerik report, it looks fine on screen but when I go to print it the margins default to 25mm, very helpful NOT.
It also does the does the same when I export the report as a PDF, it ignores the margins.
The report has the following margins