More in this section

Forums / General Discussions / General Error Page

General Error Page

2 posts, 0 answered
  1. Aspenware Operations
    Aspenware Operations avatar
    1 posts
    26 Jun 2008
    04 May 2010
    Link to this post
    Does anyone have an example of capturing an error and displaying it on a standard error page?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    05 May 2010
    Link to this post
    Hi Mark Stanley,

    You could try trapping errors on application Level

    protected void Application_Error(object sender, EventArgs e)

    another option is using web.config <customErrors> element.

    The third option is creating a custom class that inherits from InternalPage and there add Page_Error event handler.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered