cancel
Showing results for 
Search instead for 
Did you mean: 

How to get page number when a text is searched by using search text box

Former Member
0 Kudos

Hi All,

I am using crystal report which comes with VS 2005.

I have maintained a session variable and stores which page is currently displayed on the screen by using page navigation event handling.

But when I am using the search text box of the report viewer toolbar, it shows the correct page, but i cann't store the exact page number.

I tried with search event handler, but it gives the page number from which the start search. But i want the final page which is displayed after search is finished.

Can you please help me in this regard.

Many Thanks.

Bibhudatta

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

The search does not have a page navigation event, thus failing to give you the page number. You may be able to work around this you'd need to either refresh the report or do a postback.

Ludek

Answers (0)