Telerik Forums
Reporting Forum
4 answers
127 views
Having a problem with charts when deployed to a server on Azure.  It seems any chart put on a report will cause an error:

An error has occurred while processing Chart 'chart1': Parameter is not valid.

The chart is a completely unconfigured chart.  No data. Nothing, but it causes an error just being there.  If the chart is removed the report works properly.

The same report works locally, deployed to IIS, and testing in Azure Compute Fabric locally, but will not work when deployed to production.

The instance is configured to run framework 4.5, using the free cloud websites program. (Which should make it easy for testing)
Steve
Telerik team
 answered on 25 Jan 2013
5 answers
356 views
I have a Silverlight Report Viewer.  I have a few parameters I am using to filter my results, and they have AllowNull set to true. But can I change the text of the checkbox from "Null" to "All"?
Steve
Telerik team
 answered on 25 Jan 2013
1 answer
219 views
Hi
I have to generate a pdf report which is already designed and working with silverlight reporting viewer.
Now same report needs to be generated with another 3rd party application so please suggest me if i can generate the same report from a command line utility.
 I need a fixed pdf format and if that command line application can generate the report to predefined location that should work.
Please suggest the best method
Thanks in advance
Chris Gillies
Top achievements
Rank 1
 answered on 25 Jan 2013
1 answer
97 views
Hello Everyone,

I just upgraded to the new version of Telerilk Reporting yesterday (6.2.13.110) and now when I pass my parameters in my code behind the parameters aren't being excepted. This worked in the version prior to this one and I'm not sure what has changed.

Here is my code that I was using previously to dynamically changed the parameters on the fly:

Private Sub _GenerateReport()
 
        Dim SeasonReport As New CISReports.NBA_PlayerShotChart()
 
        ' perform additional operations on the report object if needed        
        Dim SeasonInstanceReportSource As New Telerik.Reporting.InstanceReportSource()
        SeasonInstanceReportSource.ReportDocument = SeasonReport
        Me.ReportViewer1.ReportSource = SeasonInstanceReportSource
        Dim SeasonReportSource = Me.ReportViewer1.ReportSource
        SeasonReportSource.Parameters.Add("Season", CInt(cmbSeason.SelectedValue))
        SeasonReportSource.Parameters.Add("SeasonTypeID", CInt(cmbSeasonType.SelectedValue))
        SeasonReportSource.Parameters.Add("TeamAbbr", cmbTeams.SelectedValue)
        SeasonReportSource.Parameters.Add("PlayerID", CInt(cmbPlayer.SelectedValue))
    End Sub


Any help would be greatly appreciated since my reports are quite useless without the ability to dynamically change the parameters.

Thanks,

Brad
Stef
Telerik team
 answered on 24 Jan 2013
18 answers
280 views
Upgraded to latest Reports, now get error trying to print.  Using wpf reportviewer, when I click on the print button I get the following error.

Attempt by method 'Telerik.ReportViewer.Wpf.ReportViewerModel.Print()' to access method 'Telerik.ReportViewer.Wpf.ReportViewerModel.PaperKindToPageMediaSizeName(System.Drawing.Printing.PaperKind)' failed.

StackTrace:
   at Telerik.ReportViewer.Wpf.ReportViewerModel.Print()
   at Telerik.ReportViewer.Wpf.ReportViewerModel.PrintReportCommandImpl.Execute(Object parameter)
   at Telerik.ReportViewer.Wpf.ReportViewerModel.Command.System.Windows.Input.ICommand.Execute(Object parameter)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at MS.Internal.Commands.CommandHelpers.ExecuteCommandSource(ICommandSource commandSource)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at Telerik.Windows.Controls.RadButton.OnClick() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\Buttons\RadButton.cs:line 389
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.RouteItem.InvokeHandler(RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.EventRoute.ReInvokeHandlers(Object source, RoutedEventArgs args)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.CrackMouseButtonEventAndReRaiseEvent(DependencyObject sender, MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.RouteItem.InvokeHandler(RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.EventRoute.InvokeHandlers(Object source, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Davin
Top achievements
Rank 1
 answered on 24 Jan 2013
3 answers
203 views
Hi, While trying download source code, from below url it is giving error as

"Oops...

It seems there was a problem with our server.

Try reloading the page."

Please check for above and correc this asap.
URL is :
http://www.telerik.com/automated-testing-tools/blog/10-05-05/dynamically-loading-telerik-reports-with-mef.aspx

Boyan Boev
Telerik team
 answered on 24 Jan 2013
1 answer
393 views
Greetings

I am currently testing out your reporting product on a trial basis.  One of my requirements is to be able to change the Page Header dynamically (i.e. Company Logo , etc.).  This is a multi-tenet application and I store the company logos in a database.  I can place the logo in the business object I bind to but that see to require that I add the logo to each item in the list of my business object - not very efficient.

I have been trying to figure out a way to pass in the logo as a byte[] parameter of program to the page header but to no avail.  Any suggestions?
Stef
Telerik team
 answered on 24 Jan 2013
1 answer
129 views
I have a table in the report and a subreport inside that table.I need to hide the line that contains the subreport when the subreport has no data.I tried many ways but they all do not work.I use VS 2008, Terelikreport Q1 spq 2011. Net.One of the ways I've tried.
private void subReport1_ItemDataBound(object sender, EventArgs e)
        {
            Processing.SubReport subReport = (Processing.SubReport)sender;
        Processing.Report detailReport = (Processing.Report)subReport.InnerReport;
            Processing.Report mainReport = (Processing.Report)subReport.Report;
            mainReport.Visible = detailReport._filteredCount > 0;
        }

Stef
Telerik team
 answered on 24 Jan 2013
5 answers
433 views
I have a report that contains a number of fields, and a table control. My data source is a list of "user" data objects, each of which in turn contains a list of "phone number" objects.

I create the report programmatically, and then assign my user list to its DataSource property. So far so good. Now what is the correct way to get each user's phone number list into the table? Should this be done within the detail section itemdatabound event handler? This is the approach I tried initially, and I'm having some problems with it, so I wanted to confirm best practices before proceeding further.
Stef
Telerik team
 answered on 24 Jan 2013
3 answers
452 views
I am using a report generated via the report wizard to print lables. The layout is 8 by 8 (lables).

No matter how much tweaking of widths, margins etc I do when I save to pdf the lables only print 4 across the page. It actually prints a few rows with 4 labels and then prints less on additional rows.

Anybody any idea how to make this thing work? Seems quite basic....
Steve
Telerik team
 answered on 24 Jan 2013
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?