Saved Bookmarks
| 1. |
How Can I Have A Particular Web Page In An Asp.net Application Which Displays Its Own Error Page? |
|
Answer» This can be done by SETTING the ErroPage attribute of Page DIRECTIVE or ErrorPage property of Page Class to the desired Custom Error Page <%@Page Language="C#" ErrorPage="specificerropage.htm"%> In web.config <customErrors MODE="On" /> This can be done by setting the ErroPage attribute of Page Directive or ErrorPage property of Page Class to the desired Custom Error Page <%@Page Language="C#" ErrorPage="specificerropage.htm"%> In web.config <customErrors mode="On" /> |
|