I need to stop displaying t开发者_Go百科he Modal Popup Extender on page refresh and when browser back button is clicked.Please suggest me to find out the solution.
I take it you're talking javascript?
You probably need to save a cookie after the first 'show'. Then check this each time - if it's present, don't show it again.
I don't know what the Modal Popup Extender is, but the standard procedure is as follows:
Once you opened your popup, you should set a cookie to remember you already opened it. Next time you come across this piece of code, you have to check for the cookie first and skip opening the popup if it's there.
精彩评论