i have an aspx file called ClientSearch.aspx which contains textbox, to seize criterias for searching clients, and a grid to list clients resulting the search
at first load, they are empty, when the user seizes criterias and click on the button search, there is an Ajax postback since the grid is in an updatepanel with trigger on the button
then at postback, the clients fill the grid, and the user can click on a client, to go on the file ClientDEtails.aspx?id=12 for example, if the user clicks on the client customer 12
If he wants to go back to the list, he can click on the prvevious button of the navigator, but the list is empty
I tried to force the clientSearch.aspx to be cached by doing "Response.expires = 10" but the problem seems to come from the fact that the page that is cached is the ClientSearch before the button is clicked, and when the button is clicked, only the updatepanel
is refreshed, and not all the page, so the navigator doesn't cache the page again
Because of the httmXmlRequest
WHo can help me? And there is nothing to do with the fact the post is in post or get ...
elburs
Member
6 Points
61 Posts
cache on client navigator with an asp.net ajax update panel
Jun 24, 2008 11:21 PM|LINK
Hello
This is my scenario :
i have an aspx file called ClientSearch.aspx which contains textbox, to seize criterias for searching clients, and a grid to list clients resulting the search
at first load, they are empty, when the user seizes criterias and click on the button search, there is an Ajax postback since the grid is in an updatepanel with trigger on the button
then at postback, the clients fill the grid, and the user can click on a client, to go on the file ClientDEtails.aspx?id=12 for example, if the user clicks on the client customer 12
If he wants to go back to the list, he can click on the prvevious button of the navigator, but the list is empty
I tried to force the clientSearch.aspx to be cached by doing "Response.expires = 10" but the problem seems to come from the fact that the page that is cached is the ClientSearch before the button is clicked, and when the button is clicked, only the updatepanel is refreshed, and not all the page, so the navigator doesn't cache the page again
Because of the httmXmlRequest
WHo can help me? And there is nothing to do with the fact the post is in post or get ...
postback cache navigator expires ajax updatepanel