Telerik Forums
Reporting Forum
10 answers
309 views
Hi ,

 As Export options(combo and export link) is disabled , we cannot export the report.

On the button click,  we are showing reports in report viewer.

kindly tell me the solution for this.


Thanks for the help



Eduardo
Top achievements
Rank 1
 answered on 06 Dec 2012
1 answer
224 views
I have just upgraded a reporting project that is several years old and I see that there have been some breaking changes in the reporting structure.  

I several sub reports inside of a report.  The datasource to each one is determined dynamically inside of the Ctor of the report itself.
How would I accomplish this within the new model?   Any help would be greatly appreciated. 


public ClaimsReport()
        {
            InitializeComponent();

            BindToSubReport(1, subReport_Sacramento);
            BindToSubReport(2, subReport_Modesto);
            BindToSubReport(3, subReport_Fresno);
        }

    public  void BindToSubReport(int officeID, SubReport subReport)
        {
            using (eEntities context = new eEntities ()) {

                List<StrapReportClaimOutput> outputList = context.StrapReportClaimOutputs
                                                 .Where(x => x.OfficeID.Equals(officeID))
                                                 .OrderByDescending(o => o.TotalDocketing)
                                                 .ToList();

               subReport.ReportSource.DataSource = outputList;
            }
        }
Steve
Telerik team
 answered on 06 Dec 2012
3 answers
148 views
Hi Telerik team ,

I've an .aspx webpage where i attach a report A to the reportviewer.
Report A contains a action(navigate to report) to Report B.

How can I check in my webpage if Drillthrough has been fired?

Regards

Steve
Telerik team
 answered on 06 Dec 2012
1 answer
94 views
Hey, 

I have 1 report where the layout is incorrect after a resfresh (By clicking the refresh button in the report). All other reports work fine.
See screenshots for more info.

Sodi we
Steve
Telerik team
 answered on 06 Dec 2012
3 answers
179 views
I am binding my chart data source to a List<ComplexType> from an ObjectDataSource project data source.  It is creating a separate report page for each member of the List data source

What configuration change do I need to make to get all of the List members to be displayed on a single report? 
Peter
Telerik team
 answered on 06 Dec 2012
1 answer
570 views
When trying to install I was getting this error message:
------------
Telerik Reporting Q3 2012 Setup

Error writing to file:
Telerik.ReportViewer.Wpf.Design.dll. Verify that you have access to that directory.
Retry/Cancel
------------

after hitting Retry:
------------
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2350.
OK
------------

On a whim I installed .NET 4.0 and tried again.  That worked.

I'm not sure why the error message was so cryptic.  I tried deleting and recopying the file twice.  I logged in as a different user.  Then I checked on .NET.

But I figured I'd post in case anyone runs into that problem.

Steve
Telerik team
 answered on 06 Dec 2012
6 answers
265 views
Hello,

We just upgraded to Telerik Reporting Q1 2011 (5.0.11.316) from Telerik Reporting Q1 2010 (4.0.10.317) and are experiencing some issues with the Web ReportViewer's export and print buttons using IE8 (Chrome and Firefox work flawlessly).

I've installed the latest version of Adobe Reader (10.0.1) as well as added the site as a trusted site.

We have 3 dlls in our bin directory: Telerik.Reporting.dll, Telerik.Reporting.Service.dll and Telerik.ReportViewer.WebForms.dll.

After clicking the Print button it seems the page attempts to load the print dialog and I see the loading (green) bar along the bottom but nothing ever happens.  No Adobe Print Dialog or default print dialog.  That's the first issue.

Our second issue has to do with using the export functionality.  Regardless of what export option we choose we always get this error after the page attempts to serve the file:  

"Unable to download Telerik.ReportViewer.axd from www.oursite.com.  Unable to open this Internet site.  The requested site is either unavailable or cannot be found.  Please try again later."

I've searched the forums looking for a solution but haven't been able to find any solutions.

I'm thinking we're missing the boat on something.  Any ideas?  I've attached a screenshot of the export error for your viewing pleasure.

Let me know if you need any other information.

Thanks,
Allen
Travis
Top achievements
Rank 1
 answered on 05 Dec 2012
1 answer
251 views
I am trying to follow an example and set the report background image via a report parameter.  I have set the Style.BackgroundImage.ImageData to = GetPageBackgroundImage(Parameters.MangedByPartnerId.Value).

When I run the report I get the error:
An error has occurred while processing Report 'Invoice'.  The expresssion contains undefined function call GetPageBackgroundImage()

If I hard code a 1 or 0 in the binding call it works, it only breaks when I attempt to reference the report parameter.
Public Shared Function GetPageBackgroundImage(managedByPartnerId As Integer)
    If managedByPartnerId = 1 Then
      Return Bitmap.FromFile("P:\Billing Systems\BESTPASS AM\Invoice Templates\Current\DW Page Invoice.png")
    Else
      Return Bitmap.FromFile("P:\Billing Systems\BESTPASS AM\Invoice Templates\Current\Page Invoice.png")
    End If
  End Function
Peter
Telerik team
 answered on 05 Dec 2012
1 answer
81 views
I am pulling out a group of Crystal Reports (no more version madness!) and rewriting them with Telerik and need help to replace some functionality.  The application runs on a walk-up kiosk.  The reports work as follows - enter a customer number, select a report.  The report is dropped into a report viewer and a print dialog pops up.  A timer is set and after a minute the report viewer is cleared off, so the next walk-up customer doesn't see the activity of the previous customer.  Crystal runs synchronously, so a flag is set before the report prints and turned off after the report prints.  Telerik runs asynchronously - so do we know when the report has completed?  The existing code blanks out the report in the report viewer, because just because the command to produce the report has issued doesn't mean it has actually has.
Elian
Telerik team
 answered on 05 Dec 2012
2 answers
224 views

I have a picture box in my report. The images are dynamically generated based on the content of a query string. The problem I have is that I receive an access denied error message whenever I use a relative URL path (ie "~/test/generateimage.aspx?font=2&text=ouncil Agenda&size=58&style=regular").

When I use an absolute path (ie "http://localhost:53657/test/generateimage.aspx?font=2&text=ouncil Agenda&size=58&style=regular") it works with no problem.

(this works)
pictDocType.Value = "http://localhost:53657/test/generateimage.aspx?font=2&text=ouncil Agenda&size=58&style=regular"

(this does not work)
pictDocType.Value = "~/test/generateimage.aspx?font=2&text=ouncil Agenda&size=58&style=regular"
pictDocType.Value = "/test/generateimage.aspx?font=2&text=ouncil Agenda&size=58&style=regular"
pictDocType.Value = "../test/generateimage.aspx?font=2&text=ouncil Agenda&size=58&style=regular"

I want to be able to use relative paths when calling the images. Any help would be appreciated.

 

 

Hadib Ahmabi
Top achievements
Rank 1
 answered on 05 Dec 2012
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?