No Error Handling with RadAjaxManager

3 posts, 0 answers
  1. Luis Silva
    Luis Silva avatar
    7 posts
    Member since:
    May 2010

    Posted 12 May 2010 Link to this post

    This is what I have:

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
                    <telerik:AjaxSetting AjaxControlID="btnTest"
                            <telerik:AjaxUpdatedControl ControlID="btnTest" /> 
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"  
        <asp:Button runat="server" Text="OK" ID="btnTest" /> 

    and my code behind:
    protected void Page_Load(object sender, EventArgs e) 
            if (Page.IsPostBack) 
                throw new Exception("test"); 

    When i click the button nothing happens, no alert box, no exception notification nothing...can someone point me in the right direction?


  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 14 May 2010 Link to this post

    Hello Luis,

    We did not implement our own error handling for RadAjax, as the MS AJAX framework already takes care of that. During partial-page rendering, you can handle errors by doing the following:

    ·     Set the AllowCustomErrorsRedirect property, which determines how the custom error section of the Web.config file is used when an error occurs during an asynchronous postback.
    ·     Handle the ScriptManager control's AsyncPostBackError event, which is raised when there is a page error during an asynchronous postback.
    ·    Set the AsyncPostBackErrorMessage property, which is the error message that is sent to the browser.

    Best wishes,
    Maria Ilieva
    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.
  3. Mark
    Mark avatar
    1 posts
    Member since:
    May 2013

    Posted 10 May 2013 Link to this post

       Is this still true? You wrote this 3 years ago. Does RadAjaxManager now have Error Handling?

    Thank you

Back to Top