You're setting an ImageUrl property, which is going set the path for an <img> element in HTML. Unsurprisingly, the browser isn't going to accept a redirect from an <img> element, so if you're testing is to see if the browser redirects, then you're going
to be disappointed.
Why not just do what I said and set a breakpoint at the top of ProcessRequest?
DMW
All-Star
15943 Points
2353 Posts
Re: .ASHX File Not Being Called
Feb 21, 2012 01:23 PM|LINK
Why would you do that for an image URL handler?
You're setting an ImageUrl property, which is going set the path for an <img> element in HTML. Unsurprisingly, the browser isn't going to accept a redirect from an <img> element, so if you're testing is to see if the browser redirects, then you're going to be disappointed.
Why not just do what I said and set a breakpoint at the top of ProcessRequest?
Dave