AI OnAI Off
For some reason, it's working now. Earlier when I restarted IIS and tested the site, it still failed.
So I modified the code to Response.Redirect("http://www.google.com") and as expected it went to google's site.
I changed it back to the original code, and it's working now. weird.
I have a page with an ImageButton and on my button's command method, I have this:
Response.Redirect(CurrentPage.ProductPerspectivePage);
The value of CurrentPage.ProductPerspectivePage is "/Templates/Spinifex/Pages/ProductPerspective.aspx?id=112"
However, it gives me a violation exception.
ProductPerspective.aspx has barely nothing on it.
Hoping someone could shed some light. Thanks.