T
Tony
I'm experiencing a small problem, can anyone throw some light on the
situation.
I've implemented Exception handling using the Microsoft Application
block, this works fine. I've included this handling in a page that
retrieves an image from the database.
I have setup a division by zero to replicate an error.
When I access this page directly, everything works fine, the error is
logged and a redirect takes the user to a friendly error page.
i.e. /viewimage.aspx?id=1
But, when I embed this page in another page as part of the Image
control, i.e.
<asp:Image id="imgImage" runat="server" ImageUrl="/viewimage.aspx?id=1
/>
the problem occurs. The error is logged ok, but the Redirect seems to
have no effect.
Any ideas.
situation.
I've implemented Exception handling using the Microsoft Application
block, this works fine. I've included this handling in a page that
retrieves an image from the database.
I have setup a division by zero to replicate an error.
When I access this page directly, everything works fine, the error is
logged and a redirect takes the user to a friendly error page.
i.e. /viewimage.aspx?id=1
But, when I embed this page in another page as part of the Image
control, i.e.
<asp:Image id="imgImage" runat="server" ImageUrl="/viewimage.aspx?id=1
/>
the problem occurs. The error is logged ok, but the Redirect seems to
have no effect.
Any ideas.