Telerik Forums
Reporting Forum
4 answers
466 views

I want to create a report with a specific layout based on a given model, but the dataset it will be based on will be dynamically created via the (application) UI.

I'd rather do this and supply a populated model to the report than to have a report will a gazillion parameters that are populated by the app and then have the report fetch the data all over again.

 Q: Can I do this?

Q: If I can can some one give me an example (Pretty Please)

Q: Can I do this using TRDX files?

Q: Can I do this using *.cs reports?

Q: Can I be really pushy and as for examples of both (Pretty Please with Sugar on).

Stef
Telerik team
 answered on 09 Jun 2015
1 answer
470 views

Hi All,

 I have a report where I use the toggle visibility action on a certain table group.  I have the group visibility set to 'false' so it is collapsed when I run the report.  I can click the '+' button and the details expand.

There is another function that I want on this report that I cannot figure out.  I also want the same detail section from above to be able to 'ShowAll' details based on a parameter.  The user can click true on this parameter which would override the toggle visibility action and show all details in the fully expanded form.

The reason for this is so that if a user wants to see all details, they don't have to go down the list and click every '+' to expand the collapsed sections.

I have attached a screenshot of a sample report where I need this functionality.

 Thanks,

Phillip

Nasko
Telerik team
 answered on 09 Jun 2015
3 answers
154 views

hi!

 I have managed to setup a self-hosted Reporting REST WebAPI server. Now I would like my WPF application to consume a report using that API. Is there a way i XAML to set the reportSource to the WebAPI?

<tr:ReportViewer Margin="10" Height="400" ZoomMode="PageWidth">
   <tr:ReportViewer.ReportSource>
      <trReporting:UriReportSource Uri="Reports\StatusReport.trdx"/>
    </tr:ReportViewer.ReportSource>
</tr:ReportViewer>

 

How can I let the server generate the report and pass it to my application? This would help a lot since I don't want the users of the application to have direct permissions on the database where the report fetches all the data.

All help is appreciated!

Stef
Telerik team
 answered on 09 Jun 2015
5 answers
210 views
What is the best way to not run a section or a subreport?  We have reports where the user can request different levels of detail, we are currently using a binding to make the section/subreport not visible.  While this works visually, it appears, based on timings and breakpoints that the nonvisible components are still being built.  Ideally we would like to completely turn these sections off to avoid the extra overhead.

Thanks

Chris
Nasko
Telerik team
 answered on 08 Jun 2015
2 answers
1.5K+ views

Hi,

 I have a report with 2 groups each with a header.  I want the headers to print on every page, but I cannot get this functionality to work. 

     - I have RowHeadersPrintOnEveryPage set to True.

     - The table header section that is present in the initial table was removed (started from bottom up and deleted the top row at the end).

     - I have expirimented with setting KeepTogether True and False and neither provide the desired result of headers on each page.

 Please help with this issue.  I do not want to have to remake all my reports.  I have attached a screen shot to portray the issue.

     - In the screen shot, I would want the black row 'JCAHO/DNV' and the blue row below it 'Goal Name' to be on the second page as well as any other page where          the group continues beyond one page.

 **This is a sample report with fake data**

Phil
Top achievements
Rank 1
 answered on 05 Jun 2015
1 answer
187 views

We have a web page in our application that displays an instance of the ReportViewer control.

We are displaying the standard Telerik parameter selection box to the user.  If the report we are displaying has data-driven multiselect parameters, we have noticed that, after the postback completes to load the parameter list, the parameters box goes blank.  Resizing the browser window makes the parameter box visible again.  This problem is only reproducible in Chrome.  No such problem occurs when displaying the same page in Firefox.

Is there any known issue with Chrome and parameter selection with the ReportViewer control.  I couldn't find anything in the forum.

 Thanks

 

Paul Marfleet

Nasko
Telerik team
 answered on 05 Jun 2015
3 answers
409 views
Hello Telerik,

We've managed to setup the HTML5 report viewer, it's passing parameters, reports are loading and returning data. I've attached 2 screenshots that show the network sources all load correctly and that the export menu is populated. Everything works except the Toolbar Buttons. Any idea what it might be?

Thanks,
Greg
Stef
Telerik team
 answered on 05 Jun 2015
6 answers
208 views

Hi guys, I have an asp.net mvc application and we are using the telerik reporting for html5. 

 We have some old applications using the v8 of Telerik Reporting for Html5 and it is working fine. So, in a new project we updated to v9 (9.0.15.324) and when we render a ReportViewer, the toolbar buttons does not work properly. We can export and page manually (typing the number of the page and pressing <enter> key), but buttons like "first", "previous", "next", "last", "zoom in", "zoom out",  "filter", etc... does not work. all javascript and css files for reportViewer are included on page and the render is ok, but the toolbar not.

 I tried to check the the console of the browser but when we click on a toolbar's button, there is no message on the console. I also tried to add the following module on the web.config as this thread, but it didn't work.

 <modules>
  <remove name="UrlRoutingModule-4.0" />  
  <add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="" />  
</modules>

 

Is there something I can try to make it work?

If there is no solution, we will back to v8.

 

Nasko
Telerik team
 answered on 05 Jun 2015
1 answer
172 views

I have three levels of classes to create a large number or reports.

 A. Base Class - Contains page header and footer information (company name, pages, etc)

 B. "Group Class" - Here I want to put Column headings text boxes and detail lines text boxes.

 C. "Data Class" - Here I want to put the code to pull the data and assign values to the column header text boxes and detail line text boxes in Class B above.

 

Question:  Lets say the header and detail box for column1 in my report is going to be Employee Number on my new report (of class C).  How, in class C code, can I assign literal constants to the header text box and a data table column to the first detail box?

 

I am trying to create a Class B where I have maybe 8-10 columns that I can always use the same layout while changing the data on the report in each instance of Class C.  I hope I made this clear enough, ugh.

 

 

 

 

Stef
Telerik team
 answered on 05 Jun 2015
5 answers
695 views
I have a report that has two subreports aligned side by side. I need to make both subreports have the same height, preferentially, that they occupy the complete detail, until pagefooter's start, so, even if there aren't enough items in the subreport, the lines must reach the footer.
The subreports have different tops, so I can't set the exact same height for both.
 
To guarantee that the subreport header is shown on every page, I've inserted a subreport inside the subreport. Furthermore, I've added a panel in the detail of the subreport that has the column's header and I've inserted the nested subreport inside this panel. The panel also contains a shape component of vertical line type, because, as I have said, I wanted to make the margins of the subreport and its columns to grow on every page until they reach the footer.
 
Attached there are two prints of the desired layout.

Is there a simple way of doing that?
Would you, please, send me a sample code of how this could be done?
 
Best regards.
Stef
Telerik team
 answered on 05 Jun 2015
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?