Here is the brief detail of issue.
1. I have Page1 where I have put LinkButton. The LinkButton Has property PostBackUrl pointing to Page2.
2. When user is redirected to page2, I am using Page Load method to access controls from previous page & get the needed value. To make clear, I am using this approach becuase I cant use querystring.
3. Page 2 has 2 web parts on it. The web parts use data received in Page Load event from page1 and renders data.
4. This works perfect on first page load. When user clicks on a URL in page which posts back, the web parts gets lost.
5. Note that if I come directly to page2 without going at page1, then web parts are retained in the page and they are not lost.
Can anyone give me the clue of issue cause?
Thanks in advance.
View Complete Post