Telerik Forums
Reporting Forum
1 answer
196 views
This is more of an FYI learned with VS 2013 and Reporting Q3 2013. 

When the web.config has the debug flag set to true, Reporting wouldn't render in the browser because VS is adding this into the pages which breaks the Telerik js parser. 

<!-- Visual Studio Browser Link -->
<script type="application/json" id="__browserLink_initializationData">
    {"appName":"Chrome"}
</script>
<script type="text/javascript" src="http://localhost:59901/dba793e767684166b11416be8550cb2a/browserLink" async="async"></script>
<!-- End Browser Link -->

This section of the ReportViewer-7.2.13.1016.JS code that it's hitting trying to load and parse the report page in an MVC webapp.
 
beginGetPage: function(pageNo) {
                   throwIfNotInitialized();
                   $.when(loadAsync()).then(function() {
                       onBeginLoadPage(pageNo);
                       return getPageAsync(pageNo);
                   }).done(function(info) {
                       onPageLoadComplete(pageNo, info);
                   }).fail(function(xhr, status, error) {
                       onError(formatXhrError(xhr, status, error));

The error message is "Unexpected Token" from the VS injected block

To fix this you have to turn off vs:EnableBrowserLink in the Web.config 
<add key="vs:EnableBrowserLink" value="false"/>
http://blogs.msdn.com/b/webdev/archive/2013/06/28/browser-link-feature-in-visual-studio-preview-2013.aspx

I see this was also reported as a problem with the Rad controls too. 
http://www.telerik.com/community/forums/aspnet-ajax/grid/browserlink-in-visual-studio-2013-breaks-rendering.aspx 

I'm not relying on VS Browser Link, but just wanted to put this information out there for other's that have a problem.

Stef
Telerik team
 answered on 19 Dec 2013
4 answers
938 views
Hi, 

We are using the new PIE Graph (polar), and we are wondering if there is a property that helps control the sort order of the Legend items? 
If you see the attached image you can see how they aren't sorted by Name of the item, but are actually sorted by the values they hold behind them. I can see how that might be the default because you want to a PIE graph to be ordered by low to high, but we want the legend to be alpha sorted. The other hope with this is we can control which color is tied to which item for constancy of reporting.

In the old Charts you would have to build the Legend manually to get this, but is there some other way to do this with Graphs?

Thank you

NerdBrick
Top achievements
Rank 1
 answered on 19 Dec 2013
5 answers
842 views
I have small issue with HTM5 Report Viewer.
1. On first start of application there is significant delay between showing report interface and starting loading report (when message "Loading report..." is showing). For a long time there is just empty space with no message, so user can be confused if anything is working or loading. I tried use ready parameter, but it is occurring too fast so I can not use it for custom loading icon.

Is there any way to display some loading icon or text during initialization, before "loading report.." is shown?

Regards
Marcin
Stef
Telerik team
 answered on 18 Dec 2013
1 answer
153 views
Hi

Is it possible to set one mvc application to act as report server( access reports on this app from another app), for html5 report viewer,

I use azure website for my app and export to pdf does not work( GDI+ issues), but it works on CloudServices(Web Roles), so my plan is to set up web role just for reports and leave main site on azure websites 

THX
Stef
Telerik team
 answered on 18 Dec 2013
1 answer
313 views
I am using following code to Create New cell for Detail Header

            using (var cell = new TextBox())
            {
                cell.Value = value.GetRenderingFormat();
                cell.StyleName = styleSheetKey.ToString();
                cell.Size = new SizeU(GetColumnWidth(isFirstColumn), GetRowHeight());
                cell.TextWrap = true;
                cell.Multiline = true;
                cell.KeepTogether = false;
                cell.CanGrow = true;
                return cell;
            }
        }

But the result is strange... for specific width that can adjust in 3 line works fine but not for 4 line. At the same time the column beside this one is working fine. The diff. between content is only one character is getting wrap in case of invalid printing.

Padding of the cell in stylesheet is as follwoing:

  <BorderStyle Bottom="Solid" Top="Solid"/>
      <BorderColor Default="Gray" />
      <BorderWidth Bottom="0.5pt" Top="0.5pt"/>
      <Font Name="Arial" Size="8pt" Bold="True" />
      <Padding Left="0.19cm" Right="0.2"/>

Please see attached screens.
Stef
Telerik team
 answered on 17 Dec 2013
1 answer
126 views
Hi

I am using Table in Reporting.But not paging.All data showing one page.

help please
Stef
Telerik team
 answered on 17 Dec 2013
6 answers
1.0K+ views
Hello every one and Telerik,
I am working on an invoice report, containing three type of charges(accessorial, freight and miscellaneous charges ), if a specific category of charges have no data i.e the invoice doesn't contain charges in accessorial , freight or miscellaneous charge category then that section should be invisible, the report should show the other two categories. how to handle it dynamically. in some case i have no accessorial while in some case i have no freight charges. Clients wants no empty fields on the report. Any one to help ???
what is the better way to handle it? should i make sections in detail section or there is any other batter?  if sections in detail section then how to make sections in detail section.
a snapshot of the report format is attached.
Imdad Turi
Top achievements
Rank 2
 answered on 17 Dec 2013
1 answer
223 views
Hi,
i created an Report dynamically.
In the InitializeComponent Function i create a Table, Chart or an Pie. Or all.

     if (datas.PresentationType == "1")
            {
                CreateTable(datas.ResultTable);    
            }
            else if (datas.PresentationType == "2")
            {
                CreatePieAndGraph(datas);
            }
            else if (datas.PresentationType == "3")
            {
                CreateTable(datas.ResultTable);
                CreatePieAndGraph(datas);
            }

That works. But i want to have, that the Table is on one side, the pie on the next side und the graph is on next side.
Can i do this with PageBreak?
Every chart, pie or table is in the detail section of my report.

I dind´t set the location for pie, table and graph.
So it looks like:


Stef
Telerik team
 answered on 16 Dec 2013
1 answer
245 views
I wonder if someone can point me to a document that describes the reporting architecture. 

My main question has to do with the stand alone report designer and whether it needs to have direct access to the data source, or whether it operates against a webservice of some type. 

Also, is there a report server, or is the report generated on the web server?

I haven't been able to find an architectural overview type document that answers these questions.

thanks,
BOb
Stef
Telerik team
 answered on 16 Dec 2013
3 answers
159 views
Hi,
i have an Graph at Report.
But the x axis started not at 0. See Attachment.
How can i set the axis to start at zero position programically?
Nasko
Telerik team
 answered on 16 Dec 2013
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?