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

ajax panel error handling

2 Answers 105 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Piyush Bhatt
Top achievements
Rank 2
Piyush Bhatt asked on 21 Apr 2008, 07:01 PM
Before Q1-2008 - the Ajax Panel was catching the error occurred in its request and was displaying as javascript Alert() message. How is this behaviour changed now.

I used to take advantage of this by throwing exception in Ajax request expecting the panel is showing alert() messages. Now, suddenly this has stopped working.

How should I change my code?

-Piyush

2 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 22 Apr 2008, 06:28 AM
Hello Piyush,

RadAjaxPanel does not catch any errors - exception handling is implemented part of Microsoft ASP.NET AJAX (especially PageRequestManager).

All the best,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Piyush Bhatt
Top achievements
Rank 2
answered on 22 Apr 2008, 02:01 PM
You are right. It was my mistake. I had replaced my masterpage with a new one but did not copy the code for AsynPostBackError handling in the new one. At the same time I started using the new version of telerik - so like everything else - it made me believe something was changed in telerik.

Thank you,
Piyush
Tags
Ajax
Asked by
Piyush Bhatt
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Piyush Bhatt
Top achievements
Rank 2
Share this question
or