ErrorPage in Page Directive
Hi All,
I have two problems
1) In case of unhandled exception, errorPage attribute in Page directive is used to redirect to the error page, but its not working. I use this directive.
<%@ Page ErrorPage="~/three.aspx" Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
2) If we use server.transfer inside try catch, Exception is raised . I don't why.
Please help me out.
|