Master Pages and Page_Error

G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top