Author: PlayWithFire | Posted on: 9/4/2008 7:03:35 AM | Views : 283


I need to make some changes to few elements after they've been databound.

I thought that using Page_PreRender would work, but that gets called before the _DataBound, making it useless. Why is that the case, and how can i get around that?




For those that have the time to read the whole problem, here what i am trying to do:

I am building a search form that talks to the google search appliance. Once the search is preformed, the appliance sends back HTML that is rendered on the page.

When i click on a search result, the user is taken to a particular record, but when they go back to a search form, i would like it to remember their input. I can't rely on the viewstate, since they navigate away from the page.

My first thought was to just store the whole viewstate in a session, but i read that it's not a recommended approach.

So, i created my own method storing all the input values in a session, and later retriving them.

I ...

Go to the complete details ...