This Web Control shows the given Exception (with or without the relative details and InnerExceptions) in a pretty, draggable, closeable, centered DIV placed in a foreground layer.
So if you have a ASP.Net Web Site, but you don't know exactly where those annoying Exceptions could be rendered without messing-up your perfect page layout, all you have to do is:
- add a WebReference to the .dll
- drag the ErrorPanel control from the toolbox to your page in design mode
- add ErrorPanel1.ShowException(ex); in the Try...Catch section of a method.
It is customizable through Web.config settings and CSS. All settings are optionals, default values will be used if some parameters are not provided.
If you don't need to modify its color/design via an external .CSS file (specifying its relative path in a Web.Config setting) a default Stylesheet as Web Resource will be used.
If you have any questions or requests please let me know.