Telerik Forums
Reporting Forum
1 answer
121 views
I created a graph in telerik reporting. But I could not get rid of the 0 beside the Y-axis label. See attachment. I've compared with telerik sample reports, they are the same. in coordinate system.
Also, in Capture2.jpg, the y-axis scale is not right. The decimal scale is round as integer. Can we only show 1,2, not 1.5?
Stef
Telerik team
 answered on 06 Feb 2014
1 answer
539 views
Hi,

We are using html5 report viewer to render reports. The problem is if the browser window size is changed, how can we auto resize the report, for example the report column width to fit for the browser?

Thank you.
Stef
Telerik team
 answered on 06 Feb 2014
1 answer
148 views
When i click on the printbutton on ReportView- Telerik Reporting 2013 Q3, the adobe PDF opens automaticaly. I want to Open the print dialog Box .   Can someone help me in this issue?

The second issue is how to print report on the client Machine without open a dialog box and PDF?Thanks
Paulo
Stef
Telerik team
 answered on 06 Feb 2014
3 answers
65 views
Hello,

is there any way in Designer or SourceCode to locate GroupFooterGroup always at the end of last page over PageFooter. Currently GroupFooterGroup section is always located immediately after previous section (Detail section). For example, now report looks like (last page)
   Header
   DetailSection (Сontinuation end end)
   GroupFooterGroup
<-- empty page space
                                                     Page X
But I need the following last page:
   Header
   DetailSection (Сontinuation end end)
<-- empty page space
   GroupFooterGroup
                                                     Page X

Thanks a lot!



Stef
Telerik team
 answered on 06 Feb 2014
1 answer
139 views
Hi all,

Version: Q3 2013.

I have created a report in the designer, added some basic elements.  I created a class to create a Telerik.Reporting.Table.  I then add the table to the report's detail section.  All is looking good at this point.  All I can think of is I missed something some where.

myReport.Items["detailSection"].Items.Clear();

                Telerik.Reporting.Table subTable = myReportBuilder.GetTable();
subTable.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(subReportDefaultLocation)
, Telerik.Reporting.Drawing.Unit.Inch(currentLocation));

myReport.Items["detailSection"].Items.Add(subTable);

Telerik.Reporting.InstanceReportSource rptSource = new Telerik.Reporting.InstanceReportSource { ReportDocument = myReport };

reportViewer1.ReportSource = rptSource;

reportViewer1.RefreshReport();

In the reportviewer I get the Object reference not set to an instance of an object.

What I'm asking is:
a) How do I locate the offending piece and what changes do I need based on the information noted below
b) what does the output mean

My company will not authorize me to post the actual class, but can submit directly to Telerik support.

<Output>
The thread '<Thread Ended>' (0x33a0) has exited with code 0 (0x0).
Step into: Stepping over method without symbols 'Telerik.Reporting.InstanceReportSource.InstanceReportSource'
Step into: Stepping over method without symbols 'Telerik.Reporting.InstanceReportSource.ReportDocument.set'
Step into: Stepping over method without symbols 'Telerik.ReportViewer.WinForms.ReportViewerBase.ReportSource.set'
Step into: Stepping over method without symbols 'Telerik.ReportViewer.WinForms.ReportViewerBase.RefreshReport'
'ReportsTest.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll'
Step into: Stepping over method without symbols 'System.Windows.Forms.Form.OnLoad'
Step into: Stepping over method without symbols 'System.Windows.Forms.Control.CreateControl'
Step into: Stepping over method without symbols 'System.Windows.Forms.Control.CreateControl'
Step into: Stepping over method without symbols 'System.Windows.Forms.Control.WmShowWindow'

Step into: Stepping over method without symbols 'System.Windows.Forms.Control.WndProc'
*** ReportProcessor.ProcessReport STARTED ***
Step into: Stepping over method without symbols 'System.Windows.Forms.Form.WndProc'
Step into: Stepping over method without symbols 'System.Windows.Forms.NativeWindow.DebuggableCallback'

*** ProcessReport #0 STARTED ***
Step into: Stepping over method without symbols 'System.Windows.Forms.Control.SetVisibleCore'
Step into: Stepping over method without symbols 'System.Windows.Forms.Form.SetVisibleCore'
Step into: Stepping over method without symbols 'System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner'

*** Report Processing STARTED ***

*** Table::ProcessItem STARTED ***

*** TableBuilder::AddColumns STARTED ***
*** TableBuilder::AddColumns DONE in 00:00:00.0075209 ***


*** TableBuilder::AddRows STARTED ***
*** TableBuilder::AddRows DONE in 00:00:00.0022374 ***


*** TableBuilder::AddBody STARTED ***
*** TableBuilder::AddBody DONE in 00:00:00.0043412 ***

*** Table::ProcessItem DONE in 00:00:00.0370327 ***

*** Report Processing DONE in 00:00:00.1095166 ***

*** ProcessReport #0 DONE in 00:00:00.1425153 ***

*** ReportProcessor.ProcessReport DONE in 00:00:00.1537056 ***


*** Get IMAGEInteractive Rendering Extension STARTED ***
'ReportsTest.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Telerik.Reporting.XpsRendering\v4.0_7.2.13.1016__a9d7983dfcc261be\Telerik.Reporting.XpsRendering.dll'
'ReportsTest.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Telerik.Reporting.OpenXmlRendering\v4.0_7.2.13.1016__a9d7983dfcc261be\Telerik.Reporting.OpenXmlRendering.dll'
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
A first chance exception of type 'Telerik.Reporting.Interfaces.ExtensionManagerException' occurred in Telerik.Reporting.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
A first chance exception of type 'Telerik.Reporting.Interfaces.ExtensionManagerException' occurred in Telerik.Reporting.dll
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
A first chance exception of type 'Telerik.Reporting.Interfaces.ExtensionManagerException' occurred in Telerik.Reporting.dll
*** Get IMAGEInteractive Rendering Extension DONE in 00:00:00.0764216 ***


*** Measure Report STARTED ***

*** Measure Report STARTED ***

*** Measure Report STARTED ***
A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Reporting.dll
*** Measure Report DONE in 00:00:00.0162011 ***

*** Measure Report DONE in 00:00:00.0190725 ***

*** Measure Report DONE in 00:00:00.0211237 ***

An error has occurred while rendering the report: System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.Reporting.Processing.Table.ForEachCell(Action`1 action)
at Telerik.Reporting.Processing.Table.MeasureDataItemContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.DataItem.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.VisualElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.ProcessingElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.Measure(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.AbsolutePositionLayout.MeasureChildItems(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.AbsolutePositionLayout.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.ReportSectionBase.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.VisualElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.ProcessingElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.Measure(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.StackLayout.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.Group.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.VisualElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.ProcessingElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.Measure(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.StackLayout.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.Report.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.VisualElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.ProcessingElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.Measure(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureElement(LayoutElement elementToMeasure, IMeasureContext context)
at Telerik.Reporting.BaseRendering.RenderingExtensionBase.MeasureReportCore(Report report, IMeasureContext measureContext)
at Telerik.Reporting.ImageRendering.ImageReportInteractive.MeasureReportCore(Report report, IMeasureContext measureContext)
at Telerik.Reporting.BaseRendering.RenderingExtensionBase.MeasureReport(Report report)
at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Reporting.dll
The thread 'Rendering' (0x40dc) has exited with code 0 (0x0).
Object reference not set to an instance of an object.
at Telerik.Reporting.Processing.Table.ForEachCell(Action`1 action)
at Telerik.Reporting.Processing.Table.MeasureDataItemContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.DataItem.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.VisualElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.ProcessingElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.Measure(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.AbsolutePositionLayout.MeasureChildItems(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.AbsolutePositionLayout.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.ReportSectionBase.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.VisualElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.ProcessingElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.Measure(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.StackLayout.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.Group.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.VisualElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.ProcessingElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.Measure(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.StackLayout.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.Report.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.VisualElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.ProcessingElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.Measure(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureElement(LayoutElement elementToMeasure, IMeasureContext context)
at Telerik.Reporting.BaseRendering.RenderingExtensionBase.MeasureReportCore(Report report, IMeasureContext measureContext)
at Telerik.Reporting.ImageRendering.ImageReportInteractive.MeasureReportCore(Report report, IMeasureContext measureContext)
at Telerik.Reporting.BaseRendering.RenderingExtensionBase.MeasureReport(Report report)
at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
at Telerik.Reporting.Processing.ReportProcessor.CountPages(IList`1 reports, IRenderingContext renderingContext, Hashtable deviceInfo, ExtensionInfo extensionInfo, CreateStream createStreamCallback)
at Telerik.Reporting.Processing.ReportProcessor.RenderCore(ExtensionInfo extensionInfo, IList`1 reports, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
at Telerik.Reporting.Processing.ReportProcessor.RenderCore(String format, IList`1 reports, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
at Telerik.ReportViewer.Common.ReportRenderer.Render(ReportRendererArgs args)
WinViewer> An error has occurred while rendering a report:
System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.Reporting.Processing.Table.ForEachCell(Action`1 action)
at Telerik.Reporting.Processing.Table.MeasureDataItemContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.DataItem.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.VisualElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.ProcessingElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.Measure(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.AbsolutePositionLayout.MeasureChildItems(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.AbsolutePositionLayout.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.ReportSectionBase.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.VisualElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.ProcessingElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.Measure(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.StackLayout.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.Group.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.VisualElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.ProcessingElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.Measure(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.StackLayout.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.Report.MeasureContent(IMeasureContext context, SizeRF availableClientSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.VisualElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.ProcessingElement.MeasureCore(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.Measure(IMeasureContext context, SizeRF availableSize)
at Telerik.Reporting.Processing.LayoutElement.MeasureElement(LayoutElement elementToMeasure, IMeasureContext context)
at Telerik.Reporting.BaseRendering.RenderingExtensionBase.MeasureReportCore(Report report, IMeasureContext measureContext)
at Telerik.Reporting.ImageRendering.ImageReportInteractive.MeasureReportCore(Report report, IMeasureContext measureContext)
at Telerik.Reporting.BaseRendering.RenderingExtensionBase.MeasureReport(Report report)
at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
at Telerik.Reporting.Processing.ReportProcessor.CountPages(IList`1 reports, IRenderingContext renderingContext, Hashtable deviceInfo, ExtensionInfo extensionInfo, CreateStream createStreamCallback)
at Telerik.Reporting.Processing.ReportProcessor.RenderCore(ExtensionInfo extensionInfo, IList`1 reports, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
at Telerik.Reporting.Processing.ReportProcessor.RenderCore(String format, IList`1 reports, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
at Telerik.ReportViewer.Common.ReportRenderer.Render(ReportRendererArgs args)
Step into: Stepping over method without symbols 'System.Windows.Forms.Application.ThreadContext.RunMessageLoop'
</Output>
Nasko
Telerik team
 answered on 06 Feb 2014
3 answers
401 views
Good afternoon, how can I show a panel with round edges instead of square. Below attached an example of what I'm trying to do.
PagosInteligentes
Top achievements
Rank 2
 answered on 06 Feb 2014
1 answer
181 views
We have a webapplication which generates an invoice for customers. For the invoice we have a report with a subreport in the detailsection.

When having a certain number of invoicelines (like 1 or 5) the subreport starts at the second page where we expect it to start on page 1. When increasing the number of items the report behaves correctly.

Any thoughts how we can make sure the invoice lines are starting at the first page?

I've attached three options

1 line PDF exported to images
5 lines PDF exported to images
50 lines PDF exported to images (just included 1st, 2nd and last page)

Here the difference is clear: 1 and 5 invoice lines are causing the subreport to start at the 2nd page, the 50 lines report works correctly.
Nasko
Telerik team
 answered on 05 Feb 2014
6 answers
827 views
Just today I tried opening up a report to make edits, and I get the titular error in Visual Studio: "Error HRESULT E_FAIL has been returned from a call to a COM component"

I've attached a screenshot.

After I got this error, I upgraded to the latest release. Note that I can still view reports in my MVC application, but I can't edit them with Visual Studio.

What has gone wrong, and how do I correct it?

Thanks,

Matt
Stef
Telerik team
 answered on 05 Feb 2014
3 answers
115 views
I have to say, I really like what I see with Telerik Reporting.  The accuracy of the export to Excel and PDF is what has led me to look at it deeper and deeper.  However the Chart Object in the reports simply sucks.  When I was using the RadChart in a standard ASP.NET page I could easily get in and change individual bar colors during the ItemDatabound event.

The attached image is a chart I created using RadChart and a standard ASP.NET webform.  If the value in the PeakUsages series (Bar) exceeds the value in the LicenseCount series (line) then the color of the chart bar is changed to red.  This is accomplished with the simple code listed below.

However the chart in reporting (which as I understand it is suppose to be RadChart under the covers) can't do this,  It doesn't appear that you can modify the chart during the databound event.  Why?   

To make matters worse, attempting to refine the charts visual appearance in Visual Studio is painful at best.  You have to drill into 15 different properties to change the back ground color of the plot area.  Then when you use preview to see how it looks and then switch back to design mode.  Your previous properties context is completely lost.  When you return to design mode your selection is set back to the report not the previous selected object and you lose all of the expansion you had done in the properties pane.  (Note I am using VS2010 RC with Q1 2010).

The shear fact that I can't duplicate the chart functionality in Telerik Reporing is forcing me to continue to use RadGrid and RadCharts as my reporting solution, which really sucks as I have to spend a lot more time focusing on code to properly export the Grid to Excel and PDF.

When is the Chart in Telerik reporting going to become a first class object?   
Things I'd like to see include
  1. Full control over the chart rendering from the code behind.  Allow me to have the same ItemDataBound event logic as RadChart
  2. Context, Context, Context.   Remember where I was when I return from preview, don't force me to reselect the chart, expand properties etc.
  3. Cut and paste a chart definition, or access to the markup for the chart.  
  • I want to be able to paste a chart definition from an asp.net page into a report.  Or allow me to mark it up in the same manor, which would allow me to quickly duplicate the look and feel and refine it without having to mess with the properties pane.

protected void rowChart_ItemDataBound(object sender, Telerik.Charting.ChartItemDataBoundEventArgs e) 
    { 
    if(e.SeriesItem.Parent.Name == "PeakUsages"
        { 
        DataRowView drv = (DataRowView)e.DataItem; 
        if(drv["PeakUsages"] != DBNull.Value) 
            { 
            if(Convert.ToInt16(drv["PeakUsages"]) > Convert.ToInt16(drv["LicenseCount"])) 
                { 
                e.SeriesItem.ActiveRegion.Tooltip = string.Format("Usage exceeds license: \nDate: {0}\nUsage: {1} \nLicense: {2}"
                                                                   Convert.ToDateTime(drv["UsageDate"]).ToShortDateString(),  
                                                                   drv["PeakUsages"].ToString(),  
                                                                   drv["LicenseCount"].ToString()); 
                e.SeriesItem.Label.Visible = false
                e.SeriesItem.PointAppearance.FillStyle.MainColor = Color.DarkRed; 
                e.SeriesItem.Appearance.FillStyle.MainColor = Color.DarkRed; 
                e.SeriesItem.Appearance.FillStyle.SecondColor = Color.Red; 
                e.SeriesItem.PointAppearance.FillStyle.SecondColor = Color.DarkRed; 
                e.SeriesItem.PointAppearance.Border.Color = Color.DarkRed; 
                } 
            else 
                { 
                e.SeriesItem.Label.Visible = false
                e.SeriesItem.PointAppearance.Visible = false
                e.SeriesItem.ActiveRegion.Tooltip = string.Format("Date: {0} \nUsages: {1}", Convert.ToDateTime(drv["UsageDate"]).ToShortDateString(), drv["PeakUsages"].ToString()); 
                } 
            } 
        else 
            { 
            e.SeriesItem.Visible = false
            e.SeriesItem.Label.Visible = false
            e.SeriesItem.PointAppearance.Visible = false
            } 
        } 
    else 
        e.SeriesItem.Label.Visible = false
    } 

Stef
Telerik team
 answered on 05 Feb 2014
34 answers
2.8K+ views
I've spent a considerable amount of time searching the documentation for an example and reading through other posts, but haven't found what I'm looking for, so forgive me if this is covered somewhere already, I just haven't seen it.

Basically, I'd like to create a report with a dynamic table on the report. By dynamic I mean at design time I don't necessarily know all of the fields that will be part of the dataset (the dataset is built at runtime based upon input from the user). Ideally, I would like to take my populated dataset and bind it to the report at runtime, and add, if necessary, any columns to the Telerik Reports table on the report. 

Are there any examples or demos of such a report? Is this even possible?
Hinata
Top achievements
Rank 1
 answered on 05 Feb 2014
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?