There are many ways to call javascript from the code behind, this is one of them: After a button click for exemple you can use this code to call javascript:
System.Web.HttpContext.Current.Response.Write("<SCRIPT LANGUAGE='JavaScript'>");
System.Web.HttpContext.Current.Response.Write("alert('test');");
System.Web.HttpContext.Current.Response.Write("</SCRIPT>");
Works like a charm!
http://witwall.com/pdfdecrypt
Not writing this myself ;-)
A. Windows Professional: (not in home edition)
1. Go to Run your start menu
2. Type gpedit.msc
3. Click OK and the Group Policy will open
4. Go to User Configuration/Administrative Template/Windows Components/Windows Explorer
5. Scroll down to the bottom of the long list of stuff that now shows up in the menu on the right. Double-Click on Turn off caching of thumbnail pictures.
6. Click on Enable then Apply, Ok. And now you no longer have this annoying problem.
//Mind you that you also get rid of the thumb images.