469,889 Members | 1,258 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,889 developers. It's quick & easy.

Master Pages and Page_Error

In ASP.net 1.1 I created a based class that was inherited by all of the pages
in my project. That way I had a centralized location to handle/log any
uplanned errors that occured on any page.

I can still do a similar thing in ASP.net 2.0 by putting a base class in the
"App_Code" folder but any errors that occur don't have any of the look and
feel I created in the Master page that all of the pages in this new project
are using. I've tried placing "Page_Error" into the master page I'm using
but it doesn't seem to capture the errors. It seems like this should be
possible (easy even) but after researching a few days I can't find anything
that works for me.

Can anyone point me to a way to handle "Page_Error" events from a master
page? Or have a base class located in "App_Code" render with a master page?

Regards,
David
Oct 13 '06 #1
0 1499

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Gary | last post: by
6 posts views Thread by Josť Joye | last post: by
4 posts views Thread by Alex Nitulescu | last post: by
1 post views Thread by Buddy Ackerman | last post: by
2 posts views Thread by Carl Johansen | last post: by
reply views Thread by David Gardner | last post: by
6 posts views Thread by =?Utf-8?B?SmF5IFBvbmR5?= | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.