Telerik Forums
Reporting Forum
1 answer
164 views
We are running into a problem where our users will see a Null Reference Exception message ("Object reference not set to an instance of an object") when they switch to (or from) Print Preview mode after the report has "expired".  Sometimes the report will expire because they waited too long (I think 20 minutes is the timeout on most of our servers) or if IIS happened to recycle while they were working on the report.  For other operations (such as changing pages), the user gets a friendly message that says: "Report is unavailable or session has expired".  It would be nice if they got a similiar friendly message in the Print Preview case.

We are on a slightly old version of Reporting but I've verified the bug is in the latest version (Q3 2014 SP1).  We use the Silverlight report viewer.

To reproduce the problem, run a report.  Then on the server you can execute the following method to clear out the cache (simulating IIS recycling or the session timing out):

        private void ClearCache()
        {
            var cache = System.Web.HttpContext.Current.Cache;
            var enumerator = cache.GetEnumerator();
            while (enumerator.MoveNext())
            {
                cache.Remove((string)enumerator.Key);
            }
        }

Then when you go to Print Preview mode, you'll see the error.  Screenshot attached.

Stef
Telerik team
 answered on 26 Jan 2015
8 answers
254 views
Hello,

  I use "ColumnHeadersPrintOnEveryPage" setting to repeat column headers on each page in the report.
  It sucessfully works when I export the report to PDF or Word, but unfortunately does not work when I export it into Excel.
  
  Is it possible to mark some rows in the report do be repeated on each page in Excel during exporting to excel (see picture)?

Thanks,
-Andrey Popov
Stef
Telerik team
 answered on 24 Jan 2015
5 answers
1.7K+ views
The report preview in the designer does not display any report data if the sqldatasource attached returns an empty resultset.

I created a blank report and added one textbox to the report header and clicked "Preview" in the designer.  The textbox is displayed as expected.  But if I add a sqldatasource whose result set is empty nothing displays in the preview.  If the resultset is not empty and returns data then my textbox is displayed in the preview as expected.

I would like for my report to show the static fields even if the sqldatasource returns with an empty resultset.

Thanks,

Matt
Stef
Telerik team
 answered on 24 Jan 2015
5 answers
217 views
I'm using silverlight reports and my users are asking if I can disable the 'Document Ready. Continue with print?' dialog.  They want to reduce the number of clicks.  They want it to go straight to the OS select a printer screen (I can't get away from that one). I know it sounds minor, but my users always print results instead of writing the results to a file.
KS
Top achievements
Rank 1
 answered on 24 Jan 2015
1 answer
461 views
Hi,

I am using Visual Studio 2012 for designing telerik reports. I have to use property window to format reports like applying background color, fonts, colors etc.

Is there any way that I can enable telerik designer toolbar on the visual studio so that it will be quicker to apply styles?

I have tried to enable all toolbars available on studio but did not find any for telerik report designer. Please find the attached for more details.

Please suggest.

Thanks,
Hardik
Stef
Telerik team
 answered on 24 Jan 2015
1 answer
208 views
We need ITF-14 support for barcode component but there isn't. How can we solve this? Any workaround?
Stef
Telerik team
 answered on 24 Jan 2015
1 answer
469 views
So we are using the HTML5 viewer inside of an application that communicates with a dedicated report server application that we developed through Ajax requests. We have some security measures in place for authentication but I feel as though we are currently going about it the wrong way. We're using Bearer token authentication to retrieve principals on both ends of the pipeline. How should I go about passing the token from one end (the viewer) to the other (the server) such that it gets passed back and forth for ALL requests. 
Hinata
Top achievements
Rank 1
 answered on 23 Jan 2015
7 answers
572 views
I'm working on an ASP.NET 4.0 WebForm with Q2 2010.

Is there a way to display a full report without the report scrollbar?  I need to use the Browser scrollbar instead, with the entire report appearing on the page.  Setting ZoomMode to FullPage isn't an option because the report is too small to read.  Here are a few things I've tried:

1. Look for a property or option that supports this.  Can't find or just isn't there.
2. Tried a few suggestions from other forum posts. i.e. CSS settings.  Don't Work.
3. Use reflection to get the Height property from the report and set Height in the viewer.  I don't know if this is the height of the main report, but I have sub-reports and it doesn't seem to be getting the true height of the rendered report.
4. Tried jQuery but didn't get too far.  It seems that there isn't an event I can hook up to for when the report is done rendering.

If the feature doesn't exist, I'd be happy to have a hack.  Right now, I'm setting the Height to 10000px, but that has issues too.

Thanks,

Joe
Stef
Telerik team
 answered on 22 Jan 2015
7 answers
198 views
I'm using Reporting 2013 Q1 in a WPF application. When I generate a report it is placed in a report viewer on a RadDockingPane which is then docked in the RadDockingControl. Every time I switch to a tab with a report the report appears to be reloading. I have to wait for it to finish "generating report" even though the report was already generated when it was initially created.  Once I have loaded the report I shouldn't have to "generate" the report just be cause I moved from one tab and then back. I am new to the Telerik reporting so any help would be appreciated.
Stef
Telerik team
 answered on 22 Jan 2015
1 answer
242 views
I am using VS 2010 with Telerik Reporting Q3 2014.

Telerik's Map Wizard to create Map Report item requires user to provide Location Provider's client token. But Bing recently changed its token-based API to key-based so that next button in the wizard would be disabled when entering API key. Is there any way to resolve this issue?
Ivan Hristov
Telerik team
 answered on 22 Jan 2015
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?