Response.Redirect doesn't work in any processing is done on aspx page
Posted on 2004-08-25
Recently, I have been experiencing sparadic problems with Response.Redirect in aspx pages. I created a new web project using vb.net and setup my image buttons for redirection and they work fine. However, when I load some dropdownlist controls when the pages loads for the first time, and click the image button, I get the error "The page cannot be displayed". I comment out the subs that load the dropdowns and viola, the page redirects. I'm connecting to SQL Server 2K with the sqlclient object.
Is this happening to anyone else and how do I fix it? This happened a few weeks ago also, but mysteriously quit. If anyone can help or give me some direction on this, it is appreciated greatly!