Pager Not working Good

Stimulsoft Reports.NET discussion
Post Reply
omar
Posts: 22
Joined: Tue Aug 03, 2010 3:00 am
Location: Jordan

Pager Not working Good

Post by omar »

i make a web report with specified filter
i choose my filter settings then click OK to view report, then if i move to next page (Page No. 2)
& change the filter and Click OK to view the updated one

the viewer will preview the page No. 2, but i want for every ok to view it from first page

and if i view last page (i.e page 100), and change filter settings then view it,
the pager still have the page no 100 despite of all page is 50

i am use RenderCurrentPageOnly as render mode
Stimul 2010 licensed
?????????????????
any solution plz ........
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Pager Not working Good

Post by Vladimir »

Hello,

Please try to set the ResetPageNumberOnAssignNewReport property of StiWebViewer component to true.

Thank you.
omar
Posts: 22
Joined: Tue Aug 03, 2010 3:00 am
Location: Jordan

Pager Not working Good

Post by omar »

welcome,

i make that but not working ??

why pager is differ for each render mode
this problem occur only if i choose RenderCurrentPageOnly

????/????

thanks for any help
omar
Posts: 22
Joined: Tue Aug 03, 2010 3:00 am
Location: Jordan

Pager Not working Good

Post by omar »

Any One Here ....
???????????
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Pager Not working Good

Post by Vladimir »

Hello,

If you use your controls for setting filters, you can reset the page number of viewer control by the following way:

Code: Select all

StiWebViewer1.CurrentPage = 0;
Thank you.
omar
Posts: 22
Joined: Tue Aug 03, 2010 3:00 am
Location: Jordan

Pager Not working Good

Post by omar »

Thanks ....
but this will cause te set it to 0 every postback , then on paging report ...
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Pager Not working Good

Post by Vladimir »

Hello,

Reset the page number only if you apply a filter.

Thank you.
Post Reply