1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / RadAjaxManager display errors

RadAjaxManager display errors

2 posts, 0 answered
  1. Mark
    Mark avatar
    8 posts
    Registered:
    23 Jan 2009
    10 Dec 2009
    Link to this post
    How do I cantch and display errors when using the RadAjaxManager?

    I am using a RadGrid in and a LinqDataSource to display/insert/update data.

    It is possible for an error to occour when the user tries to insert a new record.

    I can see the error in the bowser error console. (Firefox)

    How can I catch the error client side so that I can display the error to the user?

    I have tried to put alert(e.message) into the OnAjaxRequestError event of the RadAjaxManager but it does not seem to fire.

    Is OnAjaxRequestError a valid event?

    Regards,
    Mark.
  2. Iana Tsolova
    Iana Tsolova avatar
    3 posts
    Registered:
    01 Apr 2016
    15 Dec 2009
    Link to this post
    Hello Mark,

    For more information on error handling with ajax you can refer to this help topic

    However, I suggest that you disable ajax and see if you receive any server-side errors first. When you make sure the page is running properly with regular postbacks, you can turn the ajax back on.

    I hope this helps.

    Greetings,
    Iana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered