Mar 25, 2010

4:20 AM - No comments

Popup doesn't fire in the second.

- Show up a popup window on the first time, every thing seems OK.
- Close this popup and then open it gain, the popup doesn't load the latest data.
- Event if you try to debug, the process doesn't go to PageLoad().
- What's up ?

Cheat:
Place this snip code in Popup PageLoad:

Response.Cache.SetCacheability(HttpCacheability.No Cache);
Response.Cache.SetExpires(DateTime.Now-new TimeSpan(1,0,0));
Response.Cache.SetLastModified(DateTime.Now);
Response.Cache.SetAllowResponseInBrowserHistory(fa lse);

0 comments:

Post a Comment