Hi,
I would like my line chart series to start in the bottom left corner 0,0. Please see the attached pic.
Thanks in advance.
Telerik Reporting 2013 Q2 SP1
Hello,
I need to generate a pdf which will have some static content in two columns however there are some content which need not to be displayed in two columns fashion.
I have tried to achieve the same using ColumnCount property of the Report but it doesn't play nice with content which need to displayed in single column. So if there any way to specify Column Count property for specific content of the report, not the entire report?
I have attached screenshot of a sample pdf which has structure similar to the one I want to generate.
Thanks,
Bhavik
Application Type: ASP.NET
Telerik version: Telerik Report Q1 2014
Dev environment: Visual Studio 2013
I am trying to create a chart using a stored proc as the data source. I can create a table using the data without a problem however when I create a chart it throws an error referencing a temp table I use in my SP. "An error occured while processing Chart 'Chart1' Invalid Object name '#Temp_StatsTable' "
Any input or direction would be much appreciated!
Thank you
public
class
ReportManagementPage : Page
{
protected
void
Page_Load(
object
sender, EventArgs e)
{
Report report =
new
MyReport();
report.Name = Request.QueryString[
"reportName"
];
report.DocumentName = Request.QueryString[
"reportName"
];
reportViewer.Report = report;
}
}
Hi
How do I insert a 600 x 241 rectangle into a report header programmatically?
I've tried:
var myReport =
new
Report();
var header =
new
ReportHeaderSection();
header.Items.Add(
new
Shape
{
ShapeType =
new
PolygonShape(4, 45, 0) { Bounds = RectangleF.FromLTRB(0, 225, 600, 466) },
Size =
new
SizeU(Unit.Pixel(600), Unit.Pixel(241)),
Location =
new
PointU(Unit.Pixel(0), Unit.Pixel(225)),
Style = { Color = Color.DarkGray, LineWidth = Unit.Pixel(1) }
});
myReport.Items.Add(header);
But all I get is a square. Why isn't it expanding to a rectangle?
I've also tried using an ellipse (and got a circle funnily enough). The output doesn't change if I leave out the Bounds either.
Hi,
I've been trying to set a specific parameters visible property based on another parameters value.
I have a boolean parameter that allows the displaying of more data in the report.
I have a 2nd boolean parameter that is hidden. If set to false the 1st bool parameters visible property to should then be set to false.
At the point of construction of the report, I check both
this.Report.ReportParameters["IsParamVisible"];
this.ReportParameters["IsParamVisible"];
but the values are never set at that point so they do nothing.
How do I do this?
I'm using Telerik Reporting Q2 2015
Cheers
Hello,
I have created a simple report using the standalone report designer and saved it as a .trdx file.
Here is my code to generate a pdf file:
Reporting.Report report = new Reporting.Report();
Reporting.XmlReportSource xmlReportSource = new Reporting.XmlReportSource();
// simple text box (Test2) in a report header
xmlReportSource.Xml = @"<?xml version='1.0' encoding='utf-8'?>
<Report Width='6.5in' Name='Report2' xmlns='http://schemas.telerik.com/reporting/2012/3.7'>
<Items>
<PageHeaderSection Height='0.200039307276408in' Name='pageHeaderSection1' />
<DetailSection Height='0.299960772196452in' Name='detailSection1' />
<PageFooterSection Height='1in' Name='pageFooterSection1' />
<ReportHeaderSection Height='1in' Name='reportHeaderSection1'>
<Items>
<TextBox Width='1.20000016689301in' Height='0.19999997317791in' Left='2.64583333333333in' Top='0.395833333333333in' Value='Test2' Name='textBox1' />
</Items>
</ReportHeaderSection>
</Items>
<StyleSheet>
<StyleRule>
<Style>
<Padding Left='2pt' Right='2pt' />
</Style>
<Selectors>
<TypeSelector Type='TextItemBase' />
<TypeSelector Type='HtmlTextBox' />
</Selectors>
</StyleRule>
</StyleSheet>
<PageSettings>
<PageSettings PaperKind='Letter' Landscape='False' ColumnCount='1' ColumnSpacing='0in'>
<Margins>
<MarginsU Left='1in' Right='1in' Top='1in' Bottom='1in' />
</Margins>
</PageSettings>
</PageSettings>
</Report>";
report.DataSource = xmlReportSource;
Processing.ReportProcessor reportProcessor = new Processing.ReportProcessor();
Reporting.InstanceReportSource instanceReportSource = new Reporting.InstanceReportSource();
instanceReportSource.ReportDocument = report;
File.WriteAllBytes(fileName, reportProcessor.RenderReport("PDF", instanceReportSource, null).DocumentBytes);
File created successfully, but it's empty, althogh report designer previews report properly.
What am I doing wrong?
I use Telerik.Reporting, Version=8.2.14.1222
Thanks in advance
Michael
Hi,
I'm using Telerik 2013 Q2 (for .NET Windows).
I'm trying to generate a Dynamic Report, where the Columns are getting generated at run time.
When I use the code mentioned in the below link for grouping, the report shows only the first row of each group!!!
http://docs.telerik.com/reporting/data-items-how-to-add-groups-to-table-item-and-crosstab-item
Telerik.Reporting.TableGroup group1 = new Telerik.Reporting.TableGroup();
group1.Name = "Col1";
group1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Col1"));
Why it is not showing all the rows of each group???
Kindly let me know.
with regards,
Krish TS
Hi,
I recently started working with Telerik Reports and looks good.
Currently I'm working on Windows .NET application and need to create a fully dynamic simple report.
The report query varies based on the user selection on the windows application (report name, database table name, db columns, db condition, db grouping columns).
Based on the above selection, the query gets built dynamically (kind of a query builder tool).
This query result should be dynamically populated in the Telerik Report.
How can I acheive the Telerik report to handle these kind of dynamic queries?
I came across multiple forums asking for similar kind of question but I'm getting lost with multiple replies.
Kindly help on what is the clear way for doing this (with db column grouping too)? with any sample attachment please.
with regards,
Krish TS