I’m creating a pdf file that exists of many subreports, I have a question. Can I define the first subreport as another format as the other subreports? For example, the first subreport is in DIN A4 portrait format, the other subreport default format is in DIN A4 landscape format.
If not, do you have any other idea? Many thanks.
Hello,
on my report i have a simple chart1. This chart1 has a datagroupcolumn and uses the NeedDataSource event. The chart is shown perfectly in the report.
However when exporting to PDF/TIFF/ HTML it shows a different chart!
Simple example:
In the chart1.designer.cs code i add 2 lines:
this.chart1.DataGroupColumn = "Name";
this.chart1.NeedDataSource += new System.EventHandler(this.chart1_NeedDataSource);
In the chart1.cs code i have add the following needdatasource:
private void chart1_NeedDataSource(object sender, System.EventArgs e)
Telerik.Reporting.Processing.Chart chart = sender as Telerik.Reporting.Processing.Chart;
DataTable tbl = new DataTable();
DataColumn col = new DataColumn("Val");
col.DataType = typeof(int);
tbl.Columns.Add(col);
col = new DataColumn("Val2");
col.DataType = typeof(int);
tbl.Columns.Add(col);
col = new DataColumn("Name");
col.DataType = typeof(string);
tbl.Columns.Add(col);
tbl.Rows.Add(new object[] { 11, 3, "a" });
tbl.Rows.Add(new object[] { 11, 4, "a" });
tbl.Rows.Add(new object[] { 11, 5, "b" });
tbl.Rows.Add(new object[] { 11, 6, "b" });
tbl.Rows.Add(new object[] { 11, 7, "c" });
tbl.Rows.Add(new object[] { 11, 8, "c" });
chart.DataSource = tbl;
}
When exporting this to PDF is seems like if the first bar of the datagroup is correct, but the other bars are just copies of this first bar, even though they have different values. There seems something wrong with rendering to PDF when you are using the DataGroupColumn. This seems like a bug.
When i just remove the DataGroupColumn, it obviously shows me a completely different chart, but that one is exported in the right way. We are using Telerik Reporting 2008 Q1. I've read some release notes of future versions but cannot find anything related to this. Any suggestions?
John Neus
public static string DecodeHtml(string html) |
{ |
string decodedText = HttpContext.Current.Server.HtmlDecode(html); |
return decodedText; |
} |
=DecodeHtml(Fields.Description) |
=DecodeHtml(Fields.ResolutionComment) |
Describe the Problem: |
Many aircraft's Work Unit Code (WUC) manuals have WUC's for wiring scattered throughout the manual. Also, there are few are or wire bundle specific WUC's. This all contributes to inaccurate data being entered into the maintenance data reporting system. Having WUC's scattered throughout the manual b aircraft system instead of |
by aircraft location and/or wire bundle leads to inaccurate data submission and wasted time looking for the "best" WUC to use for a particular repair. Better use of WUC's will provide more detailed data submission which will enable better data extraction and better tracking of wiring problems. Wiring should be treated as a separate system and not as parts of several other aircraft systems. WUC's for wiring should be combined into a separate section in the WUC manual. WUC's for aircraft areas and/or wire bundles should be added. N.O.C. WUC's should be removed from the manuals. Also, more wire specific malfunction codes should be added. The E-2C aircraft community is currently working this issue. Recommend checking with them for ideas of what can be done. |
Resolution: |
#ERROR# The expression contains undefined function call DecodeHtml(). |
please i need this code in VB. i was trying to convert but a i have some troubles. :S plz help me.
thx.
public Form1()
{
initializeComponent();
Reportviewer1.report = new Report1();
}
private void btnRun_Click(object sender, eventArgs e)
{
(reportviewer1.report as report1).param1= tbParam1.text;
}