I am working on an ASP.NET page and I have 5 image buttons inside an UpdatePanel control. The image buttons are thumbnails and I want them to open up a new window with the original images. I have the url set for the image, but every time I try to do a response.write("<script>window.open(url, _blank)</script") I get an error saying "Sys.WebForms.PageRequestManagerParserErrorException: The message recieved from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write()"
Why won't it let me alter the response.write? Is there any other way to open the url in a new window?