Monday, November 19, 2007

Modal Browser Window Spawns in New Window When Submitting to Self

I had the problem with an aspx page that when I changed it to a modal window it would pop a second copy of itself into another non modal window when the submit button was clicked.

The solution ended up being to add <base target="_self"> between the <head> and </head> tags. Don't know why I had to do that, but so far it seems to have resolved the problem.

No comments: