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

[Solved] AJAX Manager + Grid results in viewstate errors

1 Answer 77 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
DonKitchen
Top achievements
Rank 1
DonKitchen asked on 28 May 2009, 06:09 PM
I have an instance where a Radgrid is being ajaxified via a RadAjaxManager.  The problem we're having is related to the user trying to interact with the grid when an ajax request is being performed and the user clicks on something else.  For example, the grid does not have paging enabled and has maybe 50 rows.  If the user clicks edit for a row and the ajax request begins (loading panel displays), using IE, the user can click edit for another row before the first request completed.  Whent they do this, an http exception occurs (see below).

In Firefox, you can't interact with the grid during an ajax request and this isn't a problem.  It's only when the user is using IE.  Any help to prevent this in IE would be greatly appreciated!

Here's the exception...

System.Web.HttpException: Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.


1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 29 May 2009, 08:52 AM
Hello Don,

Unfortunately the provided information is not enough to determine what have caused the unexpected behavior. At this point in order to progress in the resolution of this matter, please open a formal support ticket and send us a simple runnable application with reproduced this erroneous behavior. Thus I could do all my best to help you further in resolving it. 
 
Kind regards,
Pavlina
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
DonKitchen
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or