Show ELMAH error on my page?

I am using C # and MVC 3.

I have a page where I can view the grid of errors that ELMAH has registered. I created this instead of using the elmah.axd page because I wanted the page to be styled the same way as the rest of my administrative section.

This worked fine, but I would like to do the same for the error detail page. I love the look of the ELMAH details page, but this is its own page, and I would like it to be wrapped in my styles and integrated with the rest of the admin section.

Is there a function in ELMAH that will display HTML for the error, for example, on elmah.axd / detail, so that I can drop it on one of my pages?

+4
source share
2 answers

I haven't tried it yet, but this guy wrote an interesting article. GitHub source code is there.

+3
source

I'm not sure if there is a function, but you can always pull data from the storage container (xml file, SQL Server, etc.) and display it as you like.

0
source

All Articles