visual inheritance: overriding OnError then display to master or c

G

Guest

Hello,

I have an ASP.NET website that I built in .NET 2.0. I created a partial
class that inherits from the System.Web.UI.Page that I will call SpecialPage
for purposes of this discussion.

One reason that I did this is to add global error logging to my app. I
overrode the OnError method and log errors using a logging framework. there
are other reasons too, but I'll spare you ;-)

My site is built using Master Pages and Content Pages. Most of the content
pages in my site inherit from this SpecialPage.

Is there a way to hook up events at the content page level or master page
level that can receive error details and render them into a control (as in a
label) that resides on the master page (or content page)?


Thanks for your insight,

Josh Blair
HydraForce, Inc.
 

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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top