Telerik Forums
Reporting Forum
4 answers
101 views
Just wondering if its possible to change the axis scale for a stacked bar 100% to use 0-100 instead of 0-1.

Many thanks.

Michael

Nasko
Telerik team
 answered on 04 Mar 2014
1 answer
92 views
What creating report to use Avery labels, is there a way to start printing at a particular label. rather than top left, so that part used sheets can be used.

Andy
Nasko
Telerik team
 answered on 04 Mar 2014
6 answers
372 views
I am using version Q2 2013.

I am attempting to bind a nested set of List objects to a CrossTab but have found that the data for a List only shows .Capacity and .Count but no other members of the class are visible in the DataExplorer,

I have seen similar examples in this forum but I cannot open the examples without build issues since they were done in an earlier version.
Below is an example of set of nested Lists.
Please provide example code on how to properly bind these objects to a CrossTab.
Thanks in advance.

    public class Parent
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public DateTime DOB { get; set; }
        public List<Child> ChildList { get; set; }
    }

    public class Child
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public DateTime DOB { get; set; }
        public List<Sibling> SiblingList { get; set; }
    }

    public class Sibling
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public DateTime DOB { get; set; }
    }
KS
Top achievements
Rank 1
 answered on 04 Mar 2014
1 answer
585 views
Hello

I have a report that effectively needs three datasources, the second two that need to show in datatables, to be set via the calling webpage.
After some failed attempts, I decided to change them to sub reports but the lack of documentation on what exactly needs to be done from start to finish didn't help.

So I've gone back to the data tables as I had and thought I'd use the needdatasource for each of them and grab the data from a method that way rather than from the calling webpage.

Now in debug mode, this does appear to work - it does go into the needdatasource for each and it does show the data on the report correctly.

However, as soon as I publish, the two tables show without any data, just the layouts as if there isn't any data being found.

Here is my needdatasource for one of the tables:

Private Sub QuoteLines_NeedDataSource(sender As Object, e As EventArgs) Handles QuoteLines.NeedDataSource
Dim oQA As New Reports
 Dim dsQuoteLines As DataSet = oQA.Report_GetQuoteLines(Me.ReportParameters("QUID").Value)
 QuoteLines.DataSource = dsQuoteLines
End Sub


Any ideas??

thanks

Cheryl
Top achievements
Rank 1
Iron
 answered on 04 Mar 2014
1 answer
208 views
Hi

I'm having trouble getting the code example http://www.telerik.com/help/reporting/faq-display-pdf-browser.html


This line - Dim result As Telerik.Reporting.Processing.RenderingResult = reportProcessor.RenderReport("PDF", typeReportSource, Nothing)
throws the following error:

Value cannot be null.
Parameter name: type

Andy

Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
 
    ExportToPDF("NoiseTestBlanks.trdx")
 
End Sub
 
Sub ExportToPDF(ByVal reportToExport As String)
 
    Dim reportProcessor As New Telerik.Reporting.Processing.ReportProcessor()
    Dim typeReportSource As New Telerik.Reporting.TypeReportSource()
 
    ' reportToExport is the Assembly Qualified Name of the report
    typeReportSource.TypeName = reportToExport
 
    Dim result As Telerik.Reporting.Processing.RenderingResult = reportProcessor.RenderReport("PDF", typeReportSource, Nothing)
 
    Response.Clear()
    Response.ContentType = result.MimeType
    Response.Cache.SetCacheability(HttpCacheability.Private)
    Response.Expires = -1
    Response.Buffer = True
    'Uncomment to handle the file as attachment
    'Response.AddHeader("Content-Disposition", String.Format("{0};FileName=""{1}""", "attachment", reportToExport))
    Response.BinaryWrite(result.DocumentBytes)
    Response.End()
 
End Sub

Peter
Telerik team
 answered on 03 Mar 2014
1 answer
121 views
Hi
I have a ASP.NET page with a report viewer. The report viewer starts off with a report catalog, which is just a list of reports similar to the Report Catalog example. You can then navigate to any of the reports by clicking on its name (using the "Navigate to Report" action). We also use the Navigate to Report Action in many other reports too. All of this works very well.

The only problem is when a user navigates to a report, there is no indication which report is the current report, especially if the report is not automatically rendered due to missing parameter values. What I need is to display the current report's name or title somewhere on the page. Is there a server or client-side event I can use when a new report is loaded after a Navigate to Report action?

Thanks
Pierre-Andre
Stef
Telerik team
 answered on 03 Mar 2014
1 answer
241 views
Hi All,

I am changing Textbox.Value property on ItemDataBound evnet of Textbox 
for example TextBox.Value is 1000 but i want to change in some case to 55
but the sum function at GroupFooter is considering 1000 and not 55

is this possible ?? or its a wrong way???

Please HELP.....

Thanks in Advance.
Stef
Telerik team
 answered on 03 Mar 2014
9 answers
365 views
Hi.

I have a problem.
I´m trying open a report from my application, but a get this error

Error: System.Reflection.TargetInvocationException : An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.
   em System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   em Telerik.Reporting.Service.SilverlightClient.ListRenderingExtensionsEventArgs.get_Extensions()
   em Telerik.ReportViewer.Silverlight.ReportViewerModel.OnListRenderingExtensionsCompleted(Object sender, ListRenderingExtensionsEventArgs e)
 
 
------------- InnerException: -------------
 
 
System.ServiceModel.CommunicationException : The remote server returned an error: NotFound.
   em System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
   em proxy_3.EndListRenderingExtensions(IAsyncResult )
   em Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndListRenderingExtensions(IAsyncResult result)
   em System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
 
 
------------- InnerException: -------------
 
 
System.Net.WebException : The remote server returned an error: NotFound.
   em System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   em System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   em System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
 
 
------------- InnerException: -------------
 
 
System.Net.WebException : The remote server returned an error: NotFound.
   em System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
   em System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState)
   em System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__1(Object sendState)

on localhost it´s ok.

If i call the service directly on http://www.sgdweb.net/sgdweb/ReportService.svc it´s ok and the fiddler show the text in blue on service.jpg image.
But when i call from application the same address show error on fiddler.

Help me please.

Best regards




KS
Top achievements
Rank 1
 answered on 28 Feb 2014
1 answer
76 views
I have changed all the styles in my report to be grey, but there is a white box around my report.

It is the following tag.

<div class="trv-report-page" style="height: 149px; width: 1171px;"></div>
Peter
Telerik team
 answered on 28 Feb 2014
3 answers
142 views
Is it possible to take a report produced in the standalone designer, convert it and save it as a report class file?

A developer has built a number of reports using the standalone designer, and we'd like to roll them in with the existing reporting class library, but not sure how to get from the TRDX file to the VB version.

I've read this post, but I still don't understand if I can do the conversion to a class file, or how.
Davis Drury
Top achievements
Rank 1
 answered on 27 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?