I have a Button and when I click it a Pop up window opens with some parameters that i pass in it.It takes two click to open it for the 1st time and ever time i open it it will open the window with cashed data and then i have to refresh the data.I need to stop the double click and the cashed issue.Thanks !
Share
It seems that you put this line in some of your
OnSelectedIndexChangedevents. That is how I managed to replicate the issue. If that is correct, you need to set the auto postback attribute of the dropdownlist to true:AutoPostBack="true"Caching issue can be solved by two approaches:
Put a random querystring value to the opening window.
Or put the
Response.Expires = 0;line to the Page_Load event of your popup page.Hope this helps.