Page 1 of 1

Pager Not working Good

Posted: Wed Dec 22, 2010 9:24 am
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 ........

Pager Not working Good

Posted: Thu Dec 23, 2010 1:58 am
by Vladimir
Hello,

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

Thank you.

Pager Not working Good

Posted: Thu Dec 23, 2010 3:08 am
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

Pager Not working Good

Posted: Mon Dec 27, 2010 12:55 am
by omar
Any One Here ....
???????????

Pager Not working Good

Posted: Mon Dec 27, 2010 1:10 am
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.

Pager Not working Good

Posted: Mon Dec 27, 2010 1:11 am
by omar
Thanks ....
but this will cause te set it to 0 every postback , then on paging report ...

Pager Not working Good

Posted: Tue Dec 28, 2010 1:13 am
by Vladimir
Hello,

Reset the page number only if you apply a filter.

Thank you.