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

Requesting new postback while still loading...

1 Answer 82 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
valerik
Top achievements
Rank 1
valerik asked on 02 Jul 2008, 06:00 PM
Hello,

The situation:
I have "Save" button on the page that saves data into database and it is AJAXified with loading panel. I have a "Next" button that causes page to postback without AJAX.

Creating a problem:
Click "Next" button while the page is still "loading ..." from the "Save" button.

Result:
In IE: page creates a new postback from "next" button, but data is stilll saved in databases. (Good)

In Firefox 3.0: Getting popup alert box with such message:

"Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0"

After I click ok, page finishes "loading ..." than creates a postback from "next" button.

Question:
I know I can dynamically disable "next" button while in "loading.." state...
But I would like to found like if it is possible to disable this message on Firefox and make it work just like IE works?


Thank You

1 Answer, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 07 Jul 2008, 08:09 AM
Hello Valerij,

Our RadAjax control is build on top of Microsoft Asp.Net AJAX. In such scenarios we cannot alter the behavior. You can confirm this by replacing our control with an UpdatePanel. Will you please do this experiment and let us know how it goes?

Regards,
Pavel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
valerik
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Share this question
or