Telerik Forums
Reporting Forum
1 answer
217 views
Are there any current plans to add DBType Structured to the list of available DBTypes for SqlDatasource Parameters?

If not, please consider adding DBType Structured to the list of Parameter DBTypes for SqlDataSources. I believe this will allow for more reliable performance in Telerik Reporting when Table-Valued Parameters are created and passed to SqlDataSources which bind to Stored Procedures.
Steve
Telerik team
 answered on 18 Jan 2012
1 answer
77 views
Is it possible to move an item in a report to certain location base on values of other fields? The automatic layout isn't working because of the structure of this report, and I'd like to know the best way to do it in code.

Thanks
Steve
Telerik team
 answered on 18 Jan 2012
1 answer
55 views
Is there way to use report parameters to select whether a column in a table or report, is visible or not.
 
Steve
Telerik team
 answered on 18 Jan 2012
3 answers
150 views
Telerik.ReportViewer.WinForms (v. 3.0.9.430)

I get the error listed below when loading an app I built in Windows 7 64bit.  I can run this same app in a Win7 (64bit) VM without issue. This causes the app to crash.  Is this a build issue?

This dump was captured using DebugView (http://technet.microsoft.com/en-us/sysinternals/bb896647 )

<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Unhandled exception</Description><AppDomain>ColonialFence.exe</AppDomain><Exception><ExceptionType>System.NullReferenceException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Object reference not set to an instance of an object.</Message><StackTrace>   at Telerik.ReportViewer.WinForms.WinViewer.UpdateScrollSize() in c:\Projects\Reporting\FromSC_scrum\@ReportingBuild\Reporting_Build\Net20\Telerik.ReportViewer.WinForms\WinViewer.cs:line 817
00000331 10.12580299 [2964]    at Telerik.ReportViewer.WinForms.WinViewer.OnSizeChanged(EventArgs eventArgs) in c:\Projects\Reporting\FromSC_scrum\@ReportingBuild\Reporting_Build\Net20\Telerik.ReportViewer.WinForms\WinViewer.cs:line 340
00000332 10.12580299 [2964]    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
00000333 10.12580299 [2964]    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
00000334 10.12580299 [2964]    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
00000335 10.12580299 [2964]    at System.Windows.Forms.Control.ScaleControl(SizeF factor, BoundsSpecified specified)
00000336 10.12580299 [2964]    at System.Windows.Forms.ScrollableControl.ScaleControl(SizeF factor, BoundsSpecified specified)
00000337 10.12580299 [2964]    at System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
00000338 10.12580299 [2964]    at System.Windows.Forms.ContainerControl.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
00000339 10.12580299 [2964]    at System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds, Boolean excludedBounds)
00000340 10.12580299 [2964]    at System.Windows.Forms.ContainerControl.OnLayoutResuming(Boolean performLayout)
00000341 10.12580299 [2964]    at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
00000342 10.12580299 [2964]    at Telerik.ReportViewer.WinForms.ReportViewerAreaBase.InitializeComponent() in c:\Projects\Reporting\FromSC_scrum\@ReportingBuild\Reporting_Build\Net20\Telerik.ReportViewer.WinForms\ReportViewerAreaBase.cs:line 163
00000343 10.12580299 [2964]    at Telerik.ReportViewer.WinForms.WinViewer..ctor() in c:\Projects\Reporting\FromSC_scrum\@ReportingBuild\Reporting_Build\Net20\Telerik.ReportViewer.WinForms\WinViewer.cs:line 91
00000344 10.12580299 [2964]    at Telerik.ReportViewer.WinForms.ReportViewer..ctor() in c:\Projects\Reporting\FromSC_scrum\@ReportingBuild\Reporting_Build\Net20\Telerik.ReportViewer.WinForms\ReportViewer.cs:line 11
00000345 10.12580299 [2964]    at ColonialFence.PrintForm.InitializeComponent() in C:\Users\Peter\Documents\Visual Studio 2008\Projects\ColonialFence\ColonialFence\PrintForm.Designer.cs:line 32
00000346 10.12580299 [2964]    at ColonialFence.PrintForm..ctor() in C:\Users\Peter\Documents\Visual Studio 2008\Projects\ColonialFence\ColonialFence\PrintForm.cs:line 43
00000347 10.12580299 [2964]    at ColonialFence.Program.Main() in C:\Users\Peter\Documents\Visual Studio 2008\Projects\ColonialFence\ColonialFence\Program.cs:line 265</StackTrace><ExceptionString>System.NullReferenceException: Object reference not set to an instance of an object.
00000348 10.12580299 [2964]    at Telerik.ReportViewer.WinForms.WinViewer.UpdateScrollSize() in c:\Projects\Reporting\FromSC_scrum\@ReportingBuild\Reporting_Build\Net20\Telerik.ReportViewer.WinForms\WinViewer.cs:line 817
00000349 10.12580299 [2964]    at Telerik.ReportViewer.WinForms.WinViewer.OnSizeChanged(EventArgs eventArgs) in c:\Projects\Reporting\FromSC_scrum\@ReportingBuild\Reporting_Build\Net20\Telerik.ReportViewer.WinForms\WinViewer.cs:line 340
00000350 10.12580299 [2964]    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
00000351 10.12580299 [2964]    at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)
00000352 10.12580299 [2964]    at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
00000353 10.12580299 [2964]    at System.Windows.Forms.Control.ScaleControl(SizeF factor, BoundsSpecified specified)
00000354 10.12580299 [2964]    at System.Windows.Forms.ScrollableControl.ScaleControl(SizeF factor, BoundsSpecifie
00000355 10.12589359 [2964] d specified)
00000356 10.12589359 [2964]    at System.Windows.Forms.Control.ScaleControl(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
00000357 10.12589359 [2964]    at System.Windows.Forms.ContainerControl.Scale(SizeF includedFactor, SizeF excludedFactor, Control requestingControl)
00000358 10.12589359 [2964]    at System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds, Boolean excludedBounds)
00000359 10.12589359 [2964]    at System.Windows.Forms.ContainerControl.OnLayoutResuming(Boolean performLayout)
00000360 10.12589359 [2964]    at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
00000361 10.12589359 [2964]    at Telerik.ReportViewer.WinForms.ReportViewerAreaBase.InitializeComponent() in c:\Projects\Reporting\FromSC_scrum\@ReportingBuild\Reporting_Build\Net20\Telerik.ReportViewer.WinForms\ReportViewerAreaBase.cs:line 163
00000362 10.12589359 [2964]    at Telerik.ReportViewer.WinForms.WinViewer..ctor() in c:\Projects\Reporting\FromSC_scrum\@ReportingBuild\Reporting_Build\Net20\Telerik.ReportViewer.WinForms\WinViewer.cs:line 91
00000363 10.12589359 [2964]    at Telerik.ReportViewer.WinForms.ReportViewer..ctor() in c:\Projects\Reporting\FromSC_scrum\@ReportingBuild\Reporting_Build\Net20\Telerik.ReportViewer.WinForms\ReportViewer.cs:line 11
00000364 10.12589359 [2964]    at ColonialFence.PrintForm.InitializeComponent() in C:\Users\Peter\Documents\Visual Studio 2008\Projects\ColonialFence\ColonialFence\PrintForm.Designer.cs:line 32
00000365 10.12589359 [2964]    at ColonialFence.PrintForm..ctor() in C:\Users\Peter\Documents\Visual Studio 2008\Projects\ColonialFence\ColonialFence\PrintForm.cs:line 43
00000366 10.12589359 [2964]    at ColonialFence.Program.Main() in C:\Users\Peter\Documents\Visual Studio 2008\Projects\ColonialFence\ColonialFence\Program.cs:line 265</ExceptionString></Exception></TraceRecord>
Steve
Telerik team
 answered on 18 Jan 2012
1 answer
52 views
Hi,

I have to develope a SilverLight4 component that uses Telerik Reporting, and I want to send an object list (List<MyObjectType>) to the report constructor or wherever because I need that the report engine makes the report with these data.

Is it possible right now with "Telerik_Reporting_Q3_2011_v5_3_11_1116" version?

If the answer is "No, It is not", is there any alternative (without making database connections)?

Thanks for your work.

Ricardo Chorro.
IvanY
Telerik team
 answered on 17 Jan 2012
1 answer
243 views
Hi,

In my report, I used lucida sans unicode font and set it to bold. It works fine in html rendering, rtf rendering. But while exporting to pdf, bold font is not displaying in pdf. It is only displaying regular font.

Please help me.
IvanY
Telerik team
 answered on 17 Jan 2012
1 answer
83 views
I'm using web Report Viewer with Ajax in next scenario:
Report is showed after push button(Ajax request to server), and after next push to button Report is unloaded.
But after unload report viewer (set Visible=false), AdjustReportAreaHeight continue to raise. In result I see javascript error "reportTable is null" each time when page is resized.
See below piece of your code. Error raised at "reportTable.rows[reportTable.rows.length - 1]"

ReportViewer.prototype.get_Height = function ()
{
var reportTable = document.getElementById(this.reportTableId);
var lastRow = reportTable.rows[reportTable.rows.length - 1];
var oldDisplay = lastRow.style.display;
lastRow.style.display = "none";
var viewer = document.getElementById(this.clientID);
var clientHeight = viewer.clientHeight;
lastRow.style.display = oldDisplay;
return clientHeight;
}


Please fix this problem, and write how to possible fix it at current version.

Telerik Ajax Components 2011 Q3 (2011.3.1227.35)
Telerik Reporing 2011 Q3 (5.3.11.1222)
Elian
Telerik team
 answered on 17 Jan 2012
1 answer
89 views
Hi, I'm using the Telerik chart control to create a Gantt chart. I have managed to produce something close to what I need using sample code I found on these forums, but I have a couple questions.

I need milestones and tasks to be on separate lines, like they are in a Microsoft Project Gantt chart. I have one series for milestones and one for tasks, so that I can the milestones to show up as symbols, and the tasks to show up as bars. However, in order to have this work properly, I needed to do a workaround where my datasource is a list of all milestones and tasks combined into 1 table, and if the start date and end date are the same, I assume that it is a milestone. Is this the correct way to accomplish this? It does not seem correct to me, because I have to create a "fake" column in the database to hold Milestone information, just so that symbols are drawn only on the correct lines. Here is my code that creates the data table. I then bind my chart to this data table.

DataTable table = new DataTable();
table.Columns.Add("Name", typeof(string));
table.Columns.Add("From", typeof(double));
table.Columns.Add("Milestone", typeof(double));
table.Columns.Add("To", typeof(double));
  
for (int i = 0; i < names.Count; i++)
{
    DataRow row = table.NewRow();
    row["Name"] = names[i];
    row["From"] = startDates[i].ToOADate();
    row["To"] = endDates[i].ToOADate();
    if (startDates[i] == endDates[i])
        row["Milestone"] = startDates[i].ToOADate();
    table.Rows.Add(row);
}
  
return table;

Also, is there a way that I can draw dependency lines between tasks, to show if a task is dependent upon other tasks? Thank you.
Hadib Ahmabi
Top achievements
Rank 1
 answered on 17 Jan 2012
2 answers
98 views
Why is there a copy of the the max y value and the max x value showing in the top left? Stacked on top of each other. (See screenshot). Q2 2010 version.



dennis
Top achievements
Rank 1
 answered on 17 Jan 2012
6 answers
195 views
Hello,
    Is it possible to have multiple y axis stacked one on other, (i.e) if i have 4 series have 4 y axis?  The graph would look like 4 Y-axis in the left side since 4 series displayed all the 4 would be having different scaling.
I do not want some thing similar to the "Y Axis Type".

I am using visual studio 2010, Telerik Reporting (licensed -TV446243)

Regards,
Saravanan.R
Saravanan
Top achievements
Rank 1
 answered on 17 Jan 2012
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?