Hi,
I have a Wizard and in the first step I want to check that the data filled in in this step is valid before I proceed to the next step. If it is not valid I need to redirect the user to an error page.
I thought that the solution was pretty simple. I put the check in the Wizard_NextButtonClick event and there I did a response.redirect. This works perfect if I run the page with the Visual Studio web server. But if I publish my code to IIS and browses the site from IE I will get the "Error on page" in the status bar when I click the next button, and the page is not redirected to my error page. Why can´t I have a response.redirect here? If I attach to the IIS process and steps through the code I can not find anything that behaves unnormal. Everything looks to execute fine. This is my code:
Go to the complete details ...