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

How can i resolve the issue?

1 Answer 135 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Muzaffar
Top achievements
Rank 1
Muzaffar asked on 20 Jul 2009, 09:50 AM
Hi
"sys.webforms.pagerequestmanagerserverexception: An unknown error occurred while processing the request on server. The status code returned from server was: 12029"
I get this error sometimes when my site is running in production i have searched on google for this error which says it occurrs when internet is disconnected and request from web site is sent and they tell the following script to add to show the custom error
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
function EndRequestHandler(sender, args)
{
   if (args.get_error() != undefined)
   {
       if ((args.get_response().get_statusCode() == '12007') || (args.get_response().get_statusCode() == '12029'))
       {
        //Show a Message like 'Please make sure you are connected to internet';
        alert('Please make sure you are connected to internet');
        args.set_errorHandled(true); 
       }
   }
}
I want to do this rad ajax because i am using rad ajax please let me know how can i use it in rad ajax
Any help would be appreciated.

Regards
Muzaffar Ali

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 23 Jul 2009, 07:48 AM
Hello Muzaffar,

As you may know RadAjax for ASP.NET AJAX is build on top of MS Ajax, therefore you should be able to use the same approach with RadAjax too.

Best wishes,
Rosen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Ajax
Asked by
Muzaffar
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or