Geeks With Blogs
kazim mehdi June 2011 Entries
Remove/Disable javascript when using browser's back button
SCENARIO I have page that was hosted inside the iframe and I want to redirect the parent window when a user click a button inside the child page. For that I added the following code in the Button’s click event as I have to execute some server side code before redirecting. Page.ClientScript.RegisterS... RedirectKey, string.Format("window.top.l... = ‘http://google.com’;", url), true); PROBLEM Above mentioned code worked great but when the user used the browser’s back ......

Posted On Friday, June 10, 2011 11:18 AM

Copyright © kazim sardar mehdi | Powered by: GeeksWithBlogs.net