Hello Telerik Team,
I have a requirement where I need to show a rad window on a telerik report.In this rad window I will have three paramaters with their own values.When the user selects a paramater and its value from the rad window ..how do you pass these values to the report.
I have the rad window working with combo boxes and i am storing the value from the rad combo box in a view state variable.I have added the report parameters programatically.But how do i pass these values to my report which consists of many formulae computed based on these parameter values.
I greatly appreciate your help.
Please provide me a sample report which has this functionality.
Thank You,
Smith
Hi,
I've got a master-detail report much like you're invoice example.
The subreport has a reportparameter which I then set to a field in the mainreport. So far so good.
But if I then add a filter to the mainreport the report doesn't work anymore, the parts in main are displayed correctly but in the subreport area I get a red text saying:
An error has occurred while processing Report ":
Method GetRowsByStringGuid(System.RuntimeType strGuid) not found.
I use entitydatasource as my datasource and the parameter is actually a guid so I have todo some manual conversion as guid's are not supported.
The strange thing I've noticed however is that if I specify a value for the parameter in the subreport in the ReportParameter Collection Editor like 0 which is not guid but still a valid string. The report works as expected again.
Is this by design or am I missing something or maybe I found a bug?
I'm looking forward to hearing from you.
Tomas
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<body id="ReportBody" class="bodycenter" style="overflow: auto; margin: 0px; vertical-align: center;" onclick='BodyClickHandler();'><div id='ReportDiv' style='overflow:auto; width: 100%; height: 100%;'><table id='Diskspace' style='padding-left:0in;padding-right:0in;padding-top:0in;padding-bottom:0in;background-color:White;color:Black;font-family:Arial;font-size:10pt;font-weight:normal;font-style:normal;text-decoration:none;text-align:left;vertical-align:top;border-left-style:None;border-top-style:None;border-right-style:None;border-bottom-style:None;border-left-color:Black;border-top-color:Black;border-right-color:Black;border-bottom-color:Black;border-left-width:1pt;border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;overflow:auto;word-wrap:break-normal;width:624px;margin-left: auto; margin-right: auto; overflow: hidden' cellspacing='0' cellpadding='0'><tr><td></td></tr><tr><td> <table cellspacing="0" cellpadding="0" border="0" style="width:100%; table-layout: fixed;" class="s0"> <colgroup> <col width="300px" /> <col width="324px" /> </colgroup> <tr valign="top" style="height:101px;"><td colspan="1" rowspan="1"> <img alt="Chart" src="/Telerik.ReportViewer.axd?instanceid=2a15e0ff56534318865a798efc566a35&optype=ReportImage&StreamID=0qgrrjphoom" /></td> <td colspan="1" rowspan="1"> </td> </tr></table></td></tr><tr><td></td></tr><tr><td></td></tr></table></div><script type="text/javascript"> var PageInfo = [0, 1];var BookmarksOnPage = new Array();</script></body>