Results 1 to 3 of 3

Thread: viewstate

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2002
    Location
    London
    Posts
    678

    viewstate

    Hi,
    from a search.aspx I get redirected to edit.aspx
    I would like to be able to go back to the search.aspx and when i do I would like to see the values in the search as they were before I was redirected to edit.aspx
    How can I do this please?
    The controls in search.aspx have enableviewstate property set to true but when I click on the back button from edit.aspx then the previous search values are not there.
    Thanks

  2. #2
    Addicted Member rdove's Avatar
    Join Date
    Dec 2002
    Location
    Indianapolis
    Posts
    251

    Re: viewstate

    try adding ViewState="true" to your page directive.

    Also, make sure you are not using response.cachecontrol="no-cache"
    ~Ryan





    Have I helped you? Please Rate my posts.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2002
    Location
    London
    Posts
    678

    Re: viewstate

    where do I add this please?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width