Groups | Blog | Home
all groups > sql server reporting services > march 2006 >

sql server reporting services : Paging using Web Services


PVV
3/9/2006 9:30:17 PM
We are developing a Web Application for which we have written a class to
render reports that consumes web services provided by Reporting Services.

We invoke "Render" method of web service for displaying report in aspx page.

Paging is achieved using "Section" config of HTMLDeviceInfo passed to render
method.

This approach is working fine for First Page, Previous Page and Next Page
buttons. However we are not able to implement code for Last Page Button
because we are unable to retrieve details regarding total number of pages
through code.

Documentation states that if a value greater than last page index is passed
to "Section" config then Web Service would render last page. This behavior is
causing our code to crash.

Any idea how to overcome this problem.

Thanks in advance.
Oleg Yevteyev
3/13/2006 2:42:09 PM
I've described my approach a few months ago.

http://groups.google.com/group/microsoft.public.sqlserver.reportingsvcs/tree/browse_frm/thread/5a73412801f5ba54/f63ce6b85e448735?rnum=1&hl=en&q=%22Oleg+Yevteyev%22+pages&_done=%2Fgroup%2Fmicrosoft.public.sqlserver.reportingsvcs%2Fbrowse_frm%2Fthread%2F5a73412801f5ba54%2F41e4ed35916811eb%3Flnk%3Dst%26q%3D%22Oleg+Yevteyev%22+pages%26rnum%3D8%26hl%3Den%26#doc_ac075ac1383673e8

Hope that helps


--------------------
Oleg Yevteyev,
San Diego, CA
It is OK to contact me with a contracting opportunity.
"myfirstname"001atgmaildotcom.
Replace "myfirstname" with Oleg.
--------------------

[quoted text, click to view]

AddThis Social Bookmark Button