Problem with search, postback and further processing

J

jaffarkazi

Hi
I have a search page. A user would select the search parameters from
various textbox, dropdowns, etc.
Now the user will click search and get a list of search results. This
is available in a repeater. With each record, there is a checkbox
which will allow the user to select some records and go to another
page with the selected data.

My problem is that after the search results appear and I try to select
and take the data to another page, my search data vanishes, all data
binding is lost, and I come back to a blank search page.

Both the search buttons and select and go to next page buttons are
post back server buttons.

Can anybody tell me what is going on, and how do I preserve the data
on the page? I've tried EnableViewState true as well as false for the
Repeater. The repeater DataBind is happening in the search button
click event.

Thanks and regards,
--Jaffar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,231
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top