This is a migrated thread and some comments may be shown as answers.

on success in Radajaxmanager

1 Answer 85 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Henry John
Top achievements
Rank 1
Henry John asked on 14 Aug 2011, 02:07 AM
Please help me. In RadAjaxManger has two client function : onResquestStart and onResponseEnd . when i ajax request to server and do something. after return value i will get value in fuction onResponseEnd but how to know i do something in Server is succeed 
or error.Is function onResponseEnd has notify an action in Server is succeed or not.?

1 Answer, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 2
answered on 15 Aug 2011, 01:17 PM
Hello Henry,

You can refer to this help topic for handling ajax errors:

http://www.telerik.com/help/aspnet-ajax/ajax-error-handling.html

You should look at the second point, "Handle the ScriptManager control's AsyncPostBackError event".

I'm not sure if the OnResponseEnd event will even be called when the Ajax request error's out, but it should be called when it succeeds.

I hope that helps.
Tags
Ajax
Asked by
Henry John
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 2
Share this question
or