Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

Toggling on top level group and breaking page on sub group.

$
0
0

I have an issue that I've spent hours trying to resolve without success. I am using the ReportViewer control in asp.net, LocalReport, no Reporting Services (but I'm not sure that matters).  I think I should be able to do this but it may be a limitation of the control.  Looking for any suggestions on this one...

 

On the .rdlc definition, I have 3 row groups:

mkt_name

->page_rows

 ---> details

The top level group, 'mkt_name', groups on a datatable's column called 'mkt_name'.  **This is the field that I would like to have toggle on the report with +/- nodes.

The 2nd group, 'page_rows', has a group of : =Int((RowNumber("mkt_name")-1)/15)

Basically, I want to page every 15 rows. This is a must to prevent the screen from trying to paint 300 rows at a time. I have a page break set at the end of this group.

I am successfully paging at 15 rows but only because I have 'Visibility' of 'Show' for all groups. This isn't really what I want.  Under 'Visibility', and the 'Display can be toggled by this report' section, I want to set the mkt_name group column for the toplevel group for either the 'page_rows' or 'details' group.  So, the top-level mkt_name group will have a + sign, then when I click on that mkt_name, it expands the details *but only the 1st 15 rows*. Then, when the user clicks next page, the next 15 rows show up, etc.

 

What I have found is that when I toggle on mkt_name - on any of the sub groups, all rows come back. So, if there are 90 rows under 'mkt_name' of 'ABC', all 90 rows display, not the 1st 15. Only when I remove the toggling and set visibility to 'Show' for all groups does the paging at 15 work. Of course then I can't toggle the top level groups.

 

Hopefully this makes sense to someone. If so, any suggestions? Is this a limitation of the control. Any tips are appreciated!  Thanks.

 

 


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>