Problem with search, postback and further processing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jaffarkazi

    Problem with search, postback and further processing

    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
Working...