Home Dashboard Directory Help
Search

Failed to load viewstate control identifying information by Jeff Fischer


Status: 

Closed
 as By Design Help for as By Design


1
0
Sign in
to vote
Type: Bug
ID: 634324
Opened: 1/2/2011 1:36:55 PM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

The exception message:

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.

The HttpException should throw some sort of identifying information about the control or controls mismatch taking place within viewstate. The Control.ClientID or Control.ID or some sort of identifying information of the current viewstate or the page's viewstate should be included in the exception message.
Details
Sign in to post a comment.
Posted by Microsoft on 2/23/2011 at 3:49 PM
Due to the implementation it is not possible to provide a better error. However there is a feature that allows for the order to be changed and it is the ViewStateModeById attribute which tells us to lookup viewstate by id instead of order. See an example here: http://geekswithblogs.net/FrostRed/archive/2007/02/19/106667.aspx
Posted by Microsoft on 1/11/2011 at 11:16 PM
Hi,
We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 1/6/2011 at 11:44 PM
Hello,

Sorry for bothering. Is there any update?

It would be greatly appreciated if you could provide us with that information as quickly as possible. If we do not hear back from you, we will close this issue.

Thanks you,

Posted by Microsoft on 1/3/2011 at 1:07 AM
Thank you for reporting this issue. Unfortunately, we are unable to reproduce the issue with the steps you provided. The sample code does not send any exception message.

Could you please provide us with the following information?

1. Describe some more details.
2. Attach some screenshots if possible.

It would be greatly appreciated if you could provide us this information as quickly as possible.

Thank you,
Posted by Microsoft on 1/2/2011 at 2:23 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.