Telerik Forums
Reporting Forum
1 answer
331 views
How do I display an existing PDF File in a Reporting Control?
Can the ReportViewer control in Telerik Reporting simply display or import a PDF file? Or is there a converter or an import method available or in development for this?

We have tried using RadSlidingPane and some other Rad controls. But, the problem is that the PDF file will not drop behind the other RadSlidingPanes properly. We have this in a Web application and want to display the existing PDF files that we have already generated from our database. Currently, the RadSlidingPane gets the HTML from a custom control using HTMLWriter, and writing OBJECT... EMBED... tags onto the pane.

Is there any other way to handle this?
Steve
Telerik team
 answered on 04 Jul 2008
1 answer
115 views
Hello,

I want to have the X axis label steps set to 5. If a set the label steps to 5 my Chart will look like this:  Chart_V1
If I don't the labels for X axis looks to messy: Char_V2
I need the x axis to be between a range of data which I get from "ItemDesc" field as you can see in this figure: PropertyWin

Can you please advise me how can I have the range for the x axis label bound to "ItemDesc" field and also be displayed every 5 steps. (ie. 0, 5, 10, 15, 20, ...)
Also even simpler how can I have it just for a fix range with 5 steps.

Also is there anywhere I can find some documentation on the Chart..!!!

Thanks for your help in advance.

Steve
Telerik team
 answered on 04 Jul 2008
2 answers
170 views
Hi,

I'm currently migrating some reports from a competing product to Telerik Reporting. One area of functionality that still eludes me in Telerik Reporting is the ability to automatically create bookmarks from the groups in a PDF document.

For example, if you're generating a timesheet report for all your employees the report is likely to be grouped by employee. What I'm looking for is a bookmark to be created automatically for the beginning of each employee's data. This sort of functionality can be a very useful way of navigating through a large PDF report.

Is this sort of thing possible with Telerik Reporting?

Thanks in advance,

Gary
Garee
Top achievements
Rank 2
 answered on 04 Jul 2008
5 answers
312 views
Hi All,
           Iam binding the dataset to my telerik report dynamically .I have been useing the code like this in report.cs

namespace

JBA.TelerikReports

{

using System.ComponentModel;

using System.Drawing;

using System.Windows.Forms;

using Telerik.Reporting;

using Telerik.Reporting.Drawing;

using System.Data.SqlClient;

using System.Data;

/// <summary>

/// Summary description for Report_Score.

/// </summary>

public partial class Report_Score : Report

{

public static DataSet MyDS;

public Report_Score()

{

/// <summary>

/// Required for telerik Reporting designer support

/// </summary>

InitializeComponent();

//

// TODO: Add any constructor code after InitializeComponent call

//

}

public Report_Score(DataSet ds)

{

MyDS = ds;

}

private void Report_Score_NeedDataSource(object sender, System.EventArgs e)

{

(sender

as Telerik.Reporting.Processing.Report).DataSource = MyDS;

}}}

and
 iam passing the dataset to report from my asp.net application like this

Dim r1 As JBA.TelerikReports.Report_Score = New JBA.TelerikReports.Report_Score(ds)

it is working fine for some time ,now it is showing error in browser like this 


 

Server Error in '/' Application.

Parameter is not valid.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Parameter is not valid.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentException: Parameter is not valid.]
   System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format) +413093
   Telerik.Reporting.HtmlRendering.ShapeItemRenderer.Render(ReportItemBase item, HtmlRenderingContext context) +163
   Telerik.Reporting.HtmlRendering.HtmlItemRender.Telerik.Reporting.HtmlRendering.IReportItemRender.Render(ReportItemBase item, RenderingContext context) +48
   Telerik.Reporting.HtmlRendering.RenderingContext.Render(ReportItemBase item) +47
   Telerik.Reporting.HtmlRendering.Matrix.RenderNonDockedItems(HtmlRenderingContext context, DockState dockState) +2216
   Telerik.Reporting.HtmlRendering.Matrix.Render(HtmlRenderingContext context, DockState dockState, Boolean isClientArea) +38
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1878
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.RenderDockedItem(HtmlRenderingContext context, Int32 itemIndex, DockState dockState) +1815
   Telerik.Reporting.HtmlRendering.Matrix.Render(HtmlRenderingContext context) +83
   Telerik.Reporting.HtmlRendering.ReportSectionBaseRenderer.Render(ReportItemBase item, HtmlRenderingContext context) +71
   Telerik.Reporting.HtmlRendering.HtmlItemRender.Telerik.Reporting.HtmlRendering.IReportItemRender.Render(ReportItemBase item, RenderingContext context) +48
   Telerik.Reporting.HtmlRendering.RenderingContext.Render(ReportItemBase item) +47
   Telerik.Reporting.HtmlRendering.HtmlPage.RenderBodyInternal(HtmlWriter bodyWriter) +752
   Telerik.Reporting.HtmlRendering.HtmlPage.Render(HtmlTextWriter writer, HtmlRenderingContext renderingContext) +108
   Telerik.Reporting.HtmlRendering.HtmlReport.Render(HtmlTextWriter writer) +661
   Telerik.Reporting.HtmlRendering.HtmlRenderingExtension.Telerik.Reporting.Processing.IRenderingExtension.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback) +292
   Telerik.Reporting.Processing.ReportProcessor.Render(String format, Report report, Hashtable deviceInfo, CreateStream createStramCallback) +200
   Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex, Boolean refresh) +712
   Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) +78
   Telerik.ReportViewer.WebForms.HttpHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) +116
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42




regards
HR

Svetoslav
Telerik team
 answered on 04 Jul 2008
3 answers
378 views
I'd like to have a multiple vertical column part of my report, that simulates a datagrid - column header, row that are generated from the fields that I place in each column... . Is this possible? What would be the best approach?

Kind regards
Steve
Telerik team
 answered on 03 Jul 2008
1 answer
168 views
Hi,

  How I can get the dynamic fields in header or footer and how I do to calculate
de total in footer.

  I tryed with the sum expression, but don´´t work.

  Thanks,
  Jose
Steve
Telerik team
 answered on 03 Jul 2008
1 answer
84 views
When I drag a data field out of the Data Explorer, I get the error: The expression contains object <object name> that is not defined in the current context.

The thing is, is that it came out of the Data Explorer and I can see it when I view the data in the query generator that created the fields in the current Data Source.

How can I track this pesky bug down?

Thx.
Steve
Telerik team
 answered on 03 Jul 2008
2 answers
94 views
My organization is currently evaluating Telerik Reporting toolkit. We would like to know whether licensing for Reporting includes "RadCharts" control license as well? In other words, if we have to use charts on Telerik Reports then  do we need to purchase separate license for RadCharts?
Amit
Top achievements
Rank 1
 answered on 03 Jul 2008
1 answer
49 views
Hi,

I am new to RAD Reporting. I am a developer in ASP.Net. I had query regarding the search capability in the Reporting tool from RAD.

There are many other Reporting tools which support a feature of search in the generated report. i needed to know whether RAD Reporting tool supports that feature.

Waiting for the response

Thnaks

Regards,
Yachitha
Svetoslav
Telerik team
 answered on 03 Jul 2008
1 answer
215 views
Hi all,
          Iam binding the datatable to my report dynamically in asp.net.Report is working fine for the DetailsSection .but binding in the header section it is showing error  ""  #ERROR# The expression contains object 'CollumnName' This is not defined in the current context  "".but the same Collumn is working fine in details section .

one more desingning issue , i have placed two textboxes in header section ,i setup background color 'orange' to both text boxes.I placed both textboxes  in side by side . i don't want the gap between these two textboxes.it is looking good in designing,but it is showing gap between two textboxes in browser .its not good for me.if i overlap in designing it is showing something like error in designing.it is big issue for me in designing.i faced it in differnrent locations in report 

Thank you
Steve
Telerik team
 answered on 02 Jul 2008
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?