In my project, I have a page which having,
Ajax PopupExtender,UpdatePanel,<AJX:TabContainer> .


When I set control values(textboxes,labels) on that page,
I am not able to refresh the page even through web browser(retype url).
All values persist on the controls.

Anybody can talk about problem and solution?
Thanks in advance.

Recommended Answers

All 2 Replies

try clearing a browser cache !

try clearing a browser cache !

Thanks for the suggestion, And I have done this using following code.

void ClearBrowserPageCache()
    {
        Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1));
        Response.Cache.SetCacheability(HttpCacheability.NoCache);
        Response.Cache.SetNoStore();
    }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.