Hi
I have a problem happened when I press "Export" Button and "Print" Button.
I have a webpage with one Reporting.ReportViewer. And i create a project with all my report.vb for my website
because the report is for Chinese, so i set all my report.vb "Style.Font" to Arial Unicode MS.(and this website is build on IIS6.0 in Win2k3 R2.)
everything is work fine in my design environment . but , when I build up in my customer's environment.
this function suddenly no work.(print button is no response, export button show error message)
All i know that there is only one different between two environment. one is English version windows,
one is Chinese Traditional version windows.
please give me a solution or hint to fixed the problem. thanks
Font Arial Unicode MS 8 Regular is not supported.
descript: 在執行目前 Web 要求的過程中發生未處理的例外情形。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。
exception handdle information: System.NotSupportedException: Font Arial Unicode MS 8 Regular is not supported.
original program error:
在執行目前 Web 要求期間,產生未處理的例外狀況。如需有關例外狀況來源與位置的資訊,可以使用下列的例外狀況堆疊追蹤取得。
堆疊追蹤:
[NotSupportedException: Font Arial Unicode MS 8 Regular is not supported.]
Telerik.Reporting.Pdf.Fonts.TrueType.FontReader.GetFontData(Font font, Boolean& isTTC) +466
Telerik.Reporting.Pdf.Fonts.TrueType.TrueTypeDescriptor..ctor(Font gdiFont) +270
Telerik.Reporting.Pdf.PdfFontTable.GetDescriptor(PdfFont font) +108
Telerik.Reporting.Pdf.PdfFontDictionary..ctor(PdfDocument document, PdfFont drawingFont) +83
Telerik.Reporting.Pdf.PdfFontType0Dictionary..ctor(PdfDocument document, PdfFont font) +17
Telerik.Reporting.Pdf.PdfFontTable.GetFont(PdfFont font) +97
Telerik.Reporting.Pdf.PdfPageDictionary.GetFontName(PdfFont font, PdfFontDictionary& fontDictionary) +35
Telerik.Reporting.Pdf.Rendering.PdfRenderer.GetFontName(PdfFont font, PdfFontDictionary& fontDictionary) +17
Telerik.Reporting.Pdf.Rendering.PdfRendererGraphicsState.Update(PdfFont font, Brush brush, Int32 renderMode) +46
Telerik.Reporting.Pdf.Rendering.PdfRenderer.Update(PdfFont pdfFont, Brush brush, Int32 renderMode) +77
Telerik.Reporting.Pdf.Rendering.PdfRenderer.DrawString(String text, PdfFont font, Brush brush, RectangleF rect, Boolean rightToLeft) +57
Telerik.Reporting.ImageRendering.CanvasPdf.DrawStringMultiline(String s, Font font, Brush brush, RectangleF rect, StringFormat format) +377
Telerik.Reporting.ImageRendering.TextBox.Render() +369
Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight) +2323
Telerik.Reporting.ImageRendering.RenderingElement.RenderChildren(RectangleRF clip) +189
Telerik.Reporting.ImageRendering.RenderingElement.RenderToPage(RectangleRF clip, RoundedFloat parentLeft, RoundedFloat parentTop, RoundedFloat parentReservedTop, RoundedFloat parentReservedBottom, RoundedFloat parentReservedLeft, RoundedFloat parentReservedRight) +2429
Telerik.Reporting.ImageRendering.CompositionBase.RenderPageSection(PageArea pageArea, RenderingElement pageSection, Single height) +585
Telerik.Reporting.ImageRendering.CompositionBase.ApplyPageSections() +323
Telerik.Reporting.ImageRendering.CompositionBase.SendPhysicalPages(Boolean force) +52
Telerik.Reporting.ImageRendering.CompositionBase.End() +75
Telerik.Reporting.ImageRendering.CompositionPdf.End() +103
Telerik.Reporting.ImageRendering.CompositionBase.Dispose(Boolean disposing) +22
Telerik.Reporting.ImageRendering.CompositionPdf.Dispose(Boolean disposing) +11
Telerik.Reporting.ImageRendering.CompositionBase.System.IDisposable.Dispose() +17
Telerik.Reporting.ImageRendering.ImageRendererBase.RenderReport(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback) +224
Telerik.Reporting.ImageRendering.ImageRendererBase.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback) +21
Telerik.Reporting.Processing.ReportProcessor.Render(IList`1 reports, ExtensionInfo extensionInfo, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback) +730
Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback) +377
Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex) +462
Telerik.ReportViewer.WebForms.ReportExportOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) +60
Telerik.ReportViewer.WebForms.HttpHandler.ProcessRequest(HttpContext context) +164
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
15 Answers, 1 is accepted
0
Hi dgnzj chou,
We've made various improvements to the font handling in PDF in the latest Q2 SP1 version, so please upgrade to it and see if the problem persists.
Additionally have in mind the Font Requirements outlined in the Design Considerations for PDF Rendering help article.
Regards,
Steve
the Telerik team
We've made various improvements to the font handling in PDF in the latest Q2 SP1 version, so please upgrade to it and see if the problem persists.
Additionally have in mind the Font Requirements outlined in the Design Considerations for PDF Rendering help article.
Regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
John
Top achievements
Rank 1
answered on 27 Sep 2010, 04:14 AM
Hi Steve
I upgrade my Reporting version to Q2_2010_v4_1_10_921.
am recompile a new report.dll and website project in lasted DLL.
Unfortunately, the problem still there.
The main reason is font type "Arial UnicodeMS" that in my report.dll and I descriptive my problem again.
(1)Error occur at Export report to PDF type.
(2)Print Button only work at first time and first one to print for client ,after that before i reboot my server,
anyone to press Print Button is no response.
thanks for your answer.
John
I upgrade my Reporting version to Q2_2010_v4_1_10_921.
am recompile a new report.dll and website project in lasted DLL.
Unfortunately, the problem still there.
The main reason is font type "Arial UnicodeMS" that in my report.dll and I descriptive my problem again.
(1)Error occur at Export report to PDF type.
(2)Print Button only work at first time and first one to print for client ,after that before i reboot my server,
anyone to press Print Button is no response.
thanks for your answer.
John
0
Hello John,
Whether you're using localized version of Windows or not should not matter i.e. you either have a font installed on the machine or not.
Nevertheless I've made a request to our administrators to setup a virtual machine with Chinese Traditional version of Windows. Once this is done, I would make some tests and let you know of the outcome.
Thank you for the patience.
Greetings,
Steve
the Telerik team
Whether you're using localized version of Windows or not should not matter i.e. you either have a font installed on the machine or not.
Nevertheless I've made a request to our administrators to setup a virtual machine with Chinese Traditional version of Windows. Once this is done, I would make some tests and let you know of the outcome.
Thank you for the patience.
Greetings,
Steve
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
John
Top achievements
Rank 1
answered on 30 Sep 2010, 04:48 AM
HI Steve
I was very exciting to know that you said you'ill make a Traditional Chinese Version VM to test.
i hope your team will apply your request and find out the real problem.
If you need my to create a test project, please tell my . i'll do fast as i could to help you.
thanks again
John
I was very exciting to know that you said you'ill make a Traditional Chinese Version VM to test.
i hope your team will apply your request and find out the real problem.
If you need my to create a test project, please tell my . i'll do fast as i could to help you.
thanks again
John
0
Hi John,
I was finally able to get around testing this as promised. Unfortunately, the problem did not occur on my end - see attached video. If you have a runnable report, that reproduces the issue, please send a link to it, so we can pinpoint this problem.
Greetings,
Steve
the Telerik team
I was finally able to get around testing this as promised. Unfortunately, the problem did not occur on my end - see attached video. If you have a runnable report, that reproduces the issue, please send a link to it, so we can pinpoint this problem.
Greetings,
Steve
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
John
Top achievements
Rank 1
answered on 12 Oct 2010, 03:35 AM
Hi Steve
Thanks a lot for the Test.
i see very clearly that you are use the Traditional Chinese OS to did the test.
before i make a test project for you.
i have to tell you something about my report, i guest that might be the cause of my problem.
below is part of my project, and the point is the Conditional Formating in my design....
As you can see, i Demonstrate only one ConditionalFormatting for one Table.
All of this table's textbox use the same ConditionalFormatting.
and in my report, i delete the header row.
i don't know what have i done to cause this problem.
At last, i hope you can understand my poor English.
Thanks again!
John
Thanks a lot for the Test.
i see very clearly that you are use the Traditional Chinese OS to did the test.
before i make a test project for you.
i have to tell you something about my report, i guest that might be the cause of my problem.
below is part of my project, and the point is the Conditional Formating in my design....
Dim
FormattingRule1
As
Telerik.Reporting.Drawing.FormattingRule =
New
Telerik.Reporting.Drawing.FormattingRule
...
...
'
'DataTable1
'
Me
.DataTable1.Body.Columns.Add(
New
Telerik.Reporting.TableBodyColumn(
New
Telerik.Reporting.Drawing.Unit(0.69999986886978149, Telerik.Reporting.Drawing.UnitType.Cm)))
Me
.DataTable1.Body.Columns.Add(
New
Telerik.Reporting.TableBodyColumn(
New
Telerik.Reporting.Drawing.Unit(0.79999983310699463, Telerik.Reporting.Drawing.UnitType.Cm)))
Me
.DataTable1.Body.Columns.Add(
New
Telerik.Reporting.TableBodyColumn(
New
Telerik.Reporting.Drawing.Unit(1.6999998092651367, Telerik.Reporting.Drawing.UnitType.Cm)))
Me
.DataTable1.Body.Columns.Add(
New
Telerik.Reporting.TableBodyColumn(
New
Telerik.Reporting.Drawing.Unit(2, Telerik.Reporting.Drawing.UnitType.Cm)))
Me
.DataTable1.Body.Columns.Add(
New
Telerik.Reporting.TableBodyColumn(
New
Telerik.Reporting.Drawing.Unit(1.7999999523162842, Telerik.Reporting.Drawing.UnitType.Cm)))
Me
.DataTable1.Body.Columns.Add(
New
Telerik.Reporting.TableBodyColumn(
New
Telerik.Reporting.Drawing.Unit(2, Telerik.Reporting.Drawing.UnitType.Cm)))
Me
.DataTable1.Body.Columns.Add(
New
Telerik.Reporting.TableBodyColumn(
New
Telerik.Reporting.Drawing.Unit(2, Telerik.Reporting.Drawing.UnitType.Cm)))
Me
.DataTable1.Body.Columns.Add(
New
Telerik.Reporting.TableBodyColumn(
New
Telerik.Reporting.Drawing.Unit(1.9000000953674316, Telerik.Reporting.Drawing.UnitType.Cm)))
Me
.DataTable1.Body.Columns.Add(
New
Telerik.Reporting.TableBodyColumn(
New
Telerik.Reporting.Drawing.Unit(2, Telerik.Reporting.Drawing.UnitType.Cm)))
Me
.DataTable1.Body.Columns.Add(
New
Telerik.Reporting.TableBodyColumn(
New
Telerik.Reporting.Drawing.Unit(2, Telerik.Reporting.Drawing.UnitType.Cm)))
Me
.DataTable1.Body.Columns.Add(
New
Telerik.Reporting.TableBodyColumn(
New
Telerik.Reporting.Drawing.Unit(1.9000000953674316, Telerik.Reporting.Drawing.UnitType.Cm)))
Me
.DataTable1.Body.Rows.Add(
New
Telerik.Reporting.TableBodyRow(
New
Telerik.Reporting.Drawing.Unit(0.5, Telerik.Reporting.Drawing.UnitType.Cm)))
Me
.DataTable1.Body.SetCellContent(0, 0,
Me
.TextBox21)
Me
.DataTable1.Body.SetCellContent(0, 1,
Me
.TextBox22)
Me
.DataTable1.Body.SetCellContent(0, 2,
Me
.TextBox23)
Me
.DataTable1.Body.SetCellContent(0, 3,
Me
.TextBox18)
Me
.DataTable1.Body.SetCellContent(0, 4,
Me
.TextBox19)
Me
.DataTable1.Body.SetCellContent(0, 5,
Me
.TextBox20)
Me
.DataTable1.Body.SetCellContent(0, 6,
Me
.TextBox24)
Me
.DataTable1.Body.SetCellContent(0, 7,
Me
.TextBox25)
Me
.DataTable1.Body.SetCellContent(0, 8,
Me
.TextBox26)
Me
.DataTable1.Body.SetCellContent(0, 9,
Me
.TextBox27)
Me
.DataTable1.Body.SetCellContent(0, 10,
Me
.TextBox28)
TableGroup4.Name =
"Group1"
TableGroup5.Name =
"Group2"
TableGroup6.Name =
"Group3"
TableGroup7.Name =
"Group4"
TableGroup8.Name =
"Group5"
TableGroup9.Name =
"Group6"
TableGroup10.Name =
"Group7"
TableGroup11.Name =
"Group8"
Me
.DataTable1.ColumnGroups.Add(TableGroup1)
Me
.DataTable1.ColumnGroups.Add(TableGroup2)
Me
.DataTable1.ColumnGroups.Add(TableGroup3)
Me
.DataTable1.ColumnGroups.Add(TableGroup4)
Me
.DataTable1.ColumnGroups.Add(TableGroup5)
Me
.DataTable1.ColumnGroups.Add(TableGroup6)
Me
.DataTable1.ColumnGroups.Add(TableGroup7)
Me
.DataTable1.ColumnGroups.Add(TableGroup8)
Me
.DataTable1.ColumnGroups.Add(TableGroup9)
Me
.DataTable1.ColumnGroups.Add(TableGroup10)
Me
.DataTable1.ColumnGroups.Add(TableGroup11)
Me
.DataTable1.Items.AddRange(
New
Telerik.Reporting.ReportItemBase() {
Me
.TextBox21,
Me
.TextBox22,
Me
.TextBox23,
Me
.TextBox18,
Me
.TextBox19,
Me
.TextBox20,
Me
.TextBox24,
Me
.TextBox25,
Me
.TextBox26,
Me
.TextBox27,
Me
.TextBox28})
Me
.DataTable1.Location =
New
Telerik.Reporting.Drawing.PointU(
New
Telerik.Reporting.Drawing.Unit(0.00010012308484874666, Telerik.Reporting.Drawing.UnitType.Cm),
New
Telerik.Reporting.Drawing.Unit(0.00020024616969749331, Telerik.Reporting.Drawing.UnitType.Cm))
Me
.DataTable1.Name =
"DataTable1"
TableGroup12.Grouping.AddRange(
New
Telerik.Reporting.Data.Grouping() {
New
Telerik.Reporting.Data.Grouping(
""
)})
TableGroup12.Name =
"DetailGroup"
Me
.DataTable1.RowGroups.Add(TableGroup12)
Me
.DataTable1.Size =
New
Telerik.Reporting.Drawing.SizeU(
New
Telerik.Reporting.Drawing.Unit(18.799999237060547, Telerik.Reporting.Drawing.UnitType.Cm),
New
Telerik.Reporting.Drawing.Unit(0.5, Telerik.Reporting.Drawing.UnitType.Cm))
'
'TextBox21
'
FormattingRule1.Filters.AddRange(
New
Telerik.Reporting.Data.Filter() {
New
Telerik.Reporting.Data.Filter(
"= RowNumber() mod 5"
, Telerik.Reporting.Data.FilterOperator.Equal,
"0"
)})
FormattingRule1.Style.BackgroundColor = System.Drawing.Color.FromArgb(
CType
(
CType
(234,
Byte
),
Integer
),
CType
(
CType
(234,
Byte
),
Integer
),
CType
(
CType
(234,
Byte
),
Integer
))
Me
.TextBox21.ConditionalFormatting.AddRange(
New
Telerik.Reporting.Drawing.FormattingRule() {FormattingRule1})
Me
.TextBox21.Name =
"TextBox21"
Me
.TextBox21.Size =
New
Telerik.Reporting.Drawing.SizeU(
New
Telerik.Reporting.Drawing.Unit(0.70000004768371582, Telerik.Reporting.Drawing.UnitType.Cm),
New
Telerik.Reporting.Drawing.Unit(0.5, Telerik.Reporting.Drawing.UnitType.Cm))
Me
.TextBox21.Style.Font.Size =
New
Telerik.Reporting.Drawing.Unit(9, Telerik.Reporting.Drawing.UnitType.Point)
Me
.TextBox21.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right
Me
.TextBox21.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom
Me
.TextBox21.Value =
"=Fields.theYear"
'
'TextBox22
'
Me
.TextBox22.ConditionalFormatting.AddRange(
New
Telerik.Reporting.Drawing.FormattingRule() {FormattingRule1})
Me
.TextBox22.Name =
"TextBox22"
Me
.TextBox22.Size =
New
Telerik.Reporting.Drawing.SizeU(
New
Telerik.Reporting.Drawing.Unit(0.800000011920929, Telerik.Reporting.Drawing.UnitType.Cm),
New
Telerik.Reporting.Drawing.Unit(0.5, Telerik.Reporting.Drawing.UnitType.Cm))
Me
.TextBox22.Style.Font.Size =
New
Telerik.Reporting.Drawing.Unit(9, Telerik.Reporting.Drawing.UnitType.Point)
Me
.TextBox22.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right
Me
.TextBox22.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom
Me
.TextBox22.Value =
"=Fields.theAge"
'
'TextBox23
'
Me
.TextBox23.CanGrow =
False
Me
.TextBox23.ConditionalFormatting.AddRange(
New
Telerik.Reporting.Drawing.FormattingRule() {FormattingRule1})
Me
.TextBox23.Format =
"{0:N0}"
Me
.TextBox23.Name =
"TextBox23"
Me
.TextBox23.Size =
New
Telerik.Reporting.Drawing.SizeU(
New
Telerik.Reporting.Drawing.Unit(1.6999999284744263, Telerik.Reporting.Drawing.UnitType.Cm),
New
Telerik.Reporting.Drawing.Unit(0.5, Telerik.Reporting.Drawing.UnitType.Cm))
Me
.TextBox23.Style.Font.Size =
New
Telerik.Reporting.Drawing.Unit(8, Telerik.Reporting.Drawing.UnitType.Point)
Me
.TextBox23.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right
Me
.TextBox23.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom
Me
.TextBox23.Value =
"=IIF(CDbl(Fields.AcuPremium)=0,"
""
",CDbl(Fields.AcuPremium))"
'
'TextBox18
'
Me
.TextBox18.CanGrow =
False
Me
.TextBox18.ConditionalFormatting.AddRange(
New
Telerik.Reporting.Drawing.FormattingRule() {FormattingRule1})
Me
.TextBox18.Format =
"{0:N0}"
Me
.TextBox18.Name =
"TextBox18"
Me
.TextBox18.Size =
New
Telerik.Reporting.Drawing.SizeU(
New
Telerik.Reporting.Drawing.Unit(1.9999998807907104, Telerik.Reporting.Drawing.UnitType.Cm),
New
Telerik.Reporting.Drawing.Unit(0.5, Telerik.Reporting.Drawing.UnitType.Cm))
Me
.TextBox18.Style.Font.Size =
New
Telerik.Reporting.Drawing.Unit(8, Telerik.Reporting.Drawing.UnitType.Point)
Me
.TextBox18.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right
Me
.TextBox18.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom
Me
.TextBox18.StyleName =
""
Me
.TextBox18.Value =
"=IIF(Parameters.parRepayText.Value = "
""
","
""
",IIF(CDbl(Fields.Repay)=0,"
""
",CDbl(Field"
& _
"s.Repay)))"
'
'TextBox19
'
Me
.TextBox19.CanGrow =
False
Me
.TextBox19.ConditionalFormatting.AddRange(
New
Telerik.Reporting.Drawing.FormattingRule() {FormattingRule1})
Me
.TextBox19.Format =
"{0:N0}"
Me
.TextBox19.Name =
"TextBox19"
Me
.TextBox19.Size =
New
Telerik.Reporting.Drawing.SizeU(
New
Telerik.Reporting.Drawing.Unit(1.7999999523162842, Telerik.Reporting.Drawing.UnitType.Cm),
New
Telerik.Reporting.Drawing.Unit(0.5, Telerik.Reporting.Drawing.UnitType.Cm))
Me
.TextBox19.Style.Font.Size =
New
Telerik.Reporting.Drawing.Unit(8, Telerik.Reporting.Drawing.UnitType.Point)
Me
.TextBox19.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right
Me
.TextBox19.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom
Me
.TextBox19.StyleName =
""
Me
.TextBox19.Value =
"=IIF(CDbl(Fields.Life)=0,"
""
",CDbl(Fields.Life))"
'
'TextBox20
'
Me
.TextBox20.CanGrow =
False
Me
.TextBox20.ConditionalFormatting.AddRange(
New
Telerik.Reporting.Drawing.FormattingRule() {FormattingRule1})
Me
.TextBox20.Format =
"{0:N0}"
Me
.TextBox20.Name =
"TextBox20"
Me
.TextBox20.Size =
New
Telerik.Reporting.Drawing.SizeU(
New
Telerik.Reporting.Drawing.Unit(1.9999998807907104, Telerik.Reporting.Drawing.UnitType.Cm),
New
Telerik.Reporting.Drawing.Unit(0.5, Telerik.Reporting.Drawing.UnitType.Cm))
Me
.TextBox20.Style.Font.Size =
New
Telerik.Reporting.Drawing.Unit(8, Telerik.Reporting.Drawing.UnitType.Point)
Me
.TextBox20.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right
Me
.TextBox20.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom
Me
.TextBox20.StyleName =
""
Me
.TextBox20.Value =
"=IIF(CDbl(Fields.U_ARB) + CDbl(Fields.U_TB) + CDbl(Fields.AcuDiv_H)=0,"
""
",CDbl(Fie"
& _
"lds.U_ARB) + CDbl(Fields.U_TB) + CDbl(Fields.AcuDiv_H))"
'
'TextBox24
'
Me
.TextBox24.CanGrow =
False
Me
.TextBox24.ConditionalFormatting.AddRange(
New
Telerik.Reporting.Drawing.FormattingRule() {FormattingRule1})
Me
.TextBox24.Format =
"{0:N0}"
Me
.TextBox24.Name =
"TextBox24"
Me
.TextBox24.Size =
New
Telerik.Reporting.Drawing.SizeU(
New
Telerik.Reporting.Drawing.Unit(2, Telerik.Reporting.Drawing.UnitType.Cm),
New
Telerik.Reporting.Drawing.Unit(0.5, Telerik.Reporting.Drawing.UnitType.Cm))
Me
.TextBox24.Style.Font.Size =
New
Telerik.Reporting.Drawing.Unit(8, Telerik.Reporting.Drawing.UnitType.Point)
Me
.TextBox24.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right
Me
.TextBox24.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom
Me
.TextBox24.StyleName =
""
Me
.TextBox24.Value =
"=IIF(CDbl(Fields.ARB) + CDbl(Fields.TB) + CDbl(Fields.AcuDiv)=0,"
""
",CDbl(Fields.AR"
& _
"B) + CDbl(Fields.TB) + CDbl(Fields.AcuDiv))"
'
'TextBox25
'
Me
.TextBox25.CanGrow =
False
Me
.TextBox25.ConditionalFormatting.AddRange(
New
Telerik.Reporting.Drawing.FormattingRule() {FormattingRule1})
Me
.TextBox25.Format =
"{0:N0}"
Me
.TextBox25.Name =
"TextBox25"
Me
.TextBox25.Size =
New
Telerik.Reporting.Drawing.SizeU(
New
Telerik.Reporting.Drawing.Unit(1.8999999761581421, Telerik.Reporting.Drawing.UnitType.Cm),
New
Telerik.Reporting.Drawing.Unit(0.5, Telerik.Reporting.Drawing.UnitType.Cm))
Me
.TextBox25.Style.Font.Size =
New
Telerik.Reporting.Drawing.Unit(8, Telerik.Reporting.Drawing.UnitType.Point)
Me
.TextBox25.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right
Me
.TextBox25.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom
Me
.TextBox25.StyleName =
""
Me
.TextBox25.Value =
"=IIF(CDbl(Fields.L_ARB) + CDbl(Fields.L_TB) + CDbl(Fields.AcuDiv_L)=0,"
""
",CDbl(Fie"
& _
"lds.L_ARB) + CDbl(Fields.L_TB) + CDbl(Fields.AcuDiv_L))"
'
'TextBox26
'
Me
.TextBox26.CanGrow =
False
Me
.TextBox26.ConditionalFormatting.AddRange(
New
Telerik.Reporting.Drawing.FormattingRule() {FormattingRule1})
Me
.TextBox26.Format =
"{0:N0}"
Me
.TextBox26.Name =
"TextBox26"
Me
.TextBox26.Size =
New
Telerik.Reporting.Drawing.SizeU(
New
Telerik.Reporting.Drawing.Unit(1.9999998807907104, Telerik.Reporting.Drawing.UnitType.Cm),
New
Telerik.Reporting.Drawing.Unit(0.5, Telerik.Reporting.Drawing.UnitType.Cm))
Me
.TextBox26.Style.Font.Size =
New
Telerik.Reporting.Drawing.Unit(8, Telerik.Reporting.Drawing.UnitType.Point)
Me
.TextBox26.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right
Me
.TextBox26.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom
Me
.TextBox26.StyleName =
""
Me
.TextBox26.Value =
"=IIF(CDbl(Fields.U_ARB) + CDbl(Fields.U_TB) + CDbl(Fields.Div_TD_H) + CDbl(Fields.AcuDiv_H) + CDbl(Fields.Life)=0,"
""
",CDbl(Fields.U_ARB) + CDbl(Fields.U_TB) + CDbl(Fields.Div_TD_H) + CDbl(Fields.AcuDiv_H) + CDbl(Fields.Life))"
'
'TextBox27
'
Me
.TextBox27.CanGrow =
False
Me
.TextBox27.ConditionalFormatting.AddRange(
New
Telerik.Reporting.Drawing.FormattingRule() {FormattingRule1})
Me
.TextBox27.Format =
"{0:N0}"
Me
.TextBox27.Name =
"TextBox27"
Me
.TextBox27.Size =
New
Telerik.Reporting.Drawing.SizeU(
New
Telerik.Reporting.Drawing.Unit(2, Telerik.Reporting.Drawing.UnitType.Cm),
New
Telerik.Reporting.Drawing.Unit(0.5, Telerik.Reporting.Drawing.UnitType.Cm))
Me
.TextBox27.Style.Font.Size =
New
Telerik.Reporting.Drawing.Unit(8, Telerik.Reporting.Drawing.UnitType.Point)
Me
.TextBox27.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right
Me
.TextBox27.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom
Me
.TextBox27.StyleName =
""
Me
.TextBox27.Value =
"=IIF(CDbl(Fields.ARB) + CDbl(Fields.TB) + CDbl(Fields.Div_TD) + CDbl(Fields.AcuDiv) + CDbl(Fields.Life)=0,"
""
",CDbl(Fields.ARB) + CDbl(Fields.TB) + CDbl(Fields.Div_TD) + CDbl(Fields.AcuDiv) + CDbl(Fields.Life))"
'
'TextBox28
'
Me
.TextBox28.CanGrow =
False
Me
.TextBox28.ConditionalFormatting.AddRange(
New
Telerik.Reporting.Drawing.FormattingRule() {FormattingRule1})
Me
.TextBox28.Format =
"{0:N0}"
Me
.TextBox28.Name =
"TextBox28"
Me
.TextBox28.Size =
New
Telerik.Reporting.Drawing.SizeU(
New
Telerik.Reporting.Drawing.Unit(1.9000000953674316, Telerik.Reporting.Drawing.UnitType.Cm),
New
Telerik.Reporting.Drawing.Unit(0.5, Telerik.Reporting.Drawing.UnitType.Cm))
Me
.TextBox28.Style.Font.Size =
New
Telerik.Reporting.Drawing.Unit(8, Telerik.Reporting.Drawing.UnitType.Point)
Me
.TextBox28.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right
Me
.TextBox28.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom
Me
.TextBox28.StyleName =
""
Me
.TextBox28.Value =
"=IIF(CDbl(Fields.L_ARB) + CDbl(Fields.L_TB) + CDbl(Fields.Div_TD_L) + CDbl(Fields.AcuDiv_L) + CDbl(Fields.Life)=0,"
""
",CDbl(Fields.L_ARB) + CDbl(Fields.L_TB) + CDbl(Fields.Div_TD_L) + CDbl(Fields.AcuDiv_L) + CDbl(Fields.Life))"
...
...
As you can see, i Demonstrate only one ConditionalFormatting for one Table.
All of this table's textbox use the same ConditionalFormatting.
and in my report, i delete the header row.
i don't know what have i done to cause this problem.
At last, i hope you can understand my poor English.
Thanks again!
John
0
Hi John,
I've used your code on my end on the Chinese localized Windows, but did not encounter any problems, so we would be expecting a sample project that exhibits the problem.
Kind regards,
Steve
the Telerik team
I've used your code on my end on the Chinese localized Windows, but did not encounter any problems, so we would be expecting a sample project that exhibits the problem.
Kind regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
John
Top achievements
Rank 1
answered on 13 Oct 2010, 09:12 AM
Maybe i forgot to said.
The Error i got is only happen in English Version's Windows.
And, this problem is happen in the second time when i try to export PDF.
After this problem come out, it related to effect the Print Button.
anyway, thanks for your testing. i'll prepare a sample project as quickly as i can .
but, how can i send the sample project to telerik?
John
The Error i got is only happen in English Version's Windows.
And, this problem is happen in the second time when i try to export PDF.
After this problem come out, it related to effect the Print Button.
anyway, thanks for your testing. i'll prepare a sample project as quickly as i can .
but, how can i send the sample project to telerik?
John
0
John
Top achievements
Rank 1
answered on 21 Oct 2010, 10:11 AM
Hi Steve
I make a test Project for u to test.
http://webhd.xuite.net/_oops/dgnzj/1l0
About this test project, i package my website folder to Zip.
so if u wanna simulate my environment . please run IIS 6
and build it to the new website.
then , the webpage will show the report.
The point of test result is ---> can this website "import PDF" and "press the print button can work".
In my case, i can only work successful at first import or first print.
then i shutdown my IE browsers, and re-open my website again.
i still see the report fine, but import and print function was crash.
if any i can support you, please tell me,thanks a lot.
John
I make a test Project for u to test.
http://webhd.xuite.net/_oops/dgnzj/1l0
About this test project, i package my website folder to Zip.
so if u wanna simulate my environment . please run IIS 6
and build it to the new website.
then , the webpage will show the report.
The point of test result is ---> can this website "import PDF" and "press the print button can work".
In my case, i can only work successful at first import or first print.
then i shutdown my IE browsers, and re-open my website again.
i still see the report fine, but import and print function was crash.
if any i can support you, please tell me,thanks a lot.
John
0
Hello John,
We cannot download the sample project from the Chinese site you've provided. It throws some errors which google translate cannot handle, although we've clicked the sponsor links and entered correct capture. Please upload the project on a more standardized site such as dropbox.com, skydrive.live.com etc.
Also it is not clear from your last post whether the originally reported problem (i.e. Font Arial Unicode MS 8 Regular is not supported) is still an issue.
All the best,
Steve
the Telerik team
We cannot download the sample project from the Chinese site you've provided. It throws some errors which google translate cannot handle, although we've clicked the sponsor links and entered correct capture. Please upload the project on a more standardized site such as dropbox.com, skydrive.live.com etc.
Also it is not clear from your last post whether the originally reported problem (i.e. Font Arial Unicode MS 8 Regular is not supported) is still an issue.
All the best,
Steve
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
John
Top achievements
Rank 1
answered on 01 Nov 2010, 09:24 AM
Hi Steve
Please Try this link:
http://cid-6a4a2e72a1b07bbc.office.live.com/browse.aspx/ForArial%20Unicode%20Test
I put font and test website project in there.
project include report dll and website two part.
before the test, please add fonts to your test enviroment .
Thanks.
John
Please Try this link:
http://cid-6a4a2e72a1b07bbc.office.live.com/browse.aspx/ForArial%20Unicode%20Test
I put font and test website project in there.
project include report dll and website two part.
before the test, please add fonts to your test enviroment .
Thanks.
John
0
Hello John,
Thank you for the files - unfortunately the result is the same and we could not reproduce the problem (see attached screenshot).
Greetings,
Steve
the Telerik team
Thank you for the files - unfortunately the result is the same and we could not reproduce the problem (see attached screenshot).
Greetings,
Steve
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
John
Top achievements
Rank 1
answered on 04 Nov 2010, 02:26 AM
Hi Steve
Thanks for your test
But, if can test this project in English version windows again, i'll very appreciate.
And the Test Case is that you can work normally at that Enviroment.
open the page -> Import to pdf -> press print button -> close browser ↓
↑←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←╯
After all, if it still work perfectly.
I guess maybe is some POLICY of my client make the "Import Function" crash.
Thanks Again!
John
Thanks for your test
But, if can test this project in English version windows again, i'll very appreciate.
And the Test Case is that you can work normally at that Enviroment.
open the page -> Import to pdf -> press print button -> close browser ↓
↑←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←╯
After all, if it still work perfectly.
I guess maybe is some POLICY of my client make the "Import Function" crash.
Thanks Again!
John
0
Accepted
Hello John,
I've got confused. From your post from 9/24/2010 I was left with the impression that the problem appears only on Chinese localized version of Windows and that is the reason we've created such virtual machine so we can test. Can you elaborate which is the actual problematic machine?
Anyway I've tested your project on my Win 7 Ultimate which is not localized and as you can see from the attached screenshot, it works as expected. Also by "Import function" you refer to exporting the report, correct?
Best wishes,
Steve
the Telerik team
I've got confused. From your post from 9/24/2010 I was left with the impression that the problem appears only on Chinese localized version of Windows and that is the reason we've created such virtual machine so we can test. Can you elaborate which is the actual problematic machine?
Anyway I've tested your project on my Win 7 Ultimate which is not localized and as you can see from the attached screenshot, it works as expected. Also by "Import function" you refer to exporting the report, correct?
Best wishes,
Steve
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
John
Top achievements
Rank 1
answered on 09 Nov 2010, 07:33 AM
Hi Steve
In my first post, it is truly happened in Traditional Chinese Win Server.(Until now ,i still don't know why)
But next day i reinstall my server, then it work. (but in next few weeks, we test in Client's Environment is still failed)
sorry to make you feel confused.
Now since your environment work this function perfectly.
so i can guess the reason who cause the function fail is my client's environment.
Anyway , thanks for all of your test.
John
In my first post, it is truly happened in Traditional Chinese Win Server.(Until now ,i still don't know why)
But next day i reinstall my server, then it work. (but in next few weeks, we test in Client's Environment is still failed)
sorry to make you feel confused.
Now since your environment work this function perfectly.
so i can guess the reason who cause the function fail is my client's environment.
Anyway , thanks for all of your test.
John