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

[Solved] The state information is invalid for this page and might be corrupted

1 Answer 265 Views
Editor
This is a migrated thread and some comments may be shown as answers.
DEBORAH RATLIFF
Top achievements
Rank 1
DEBORAH RATLIFF asked on 04 Feb 2010, 03:16 PM

 Hello,

We have started getting the error "The state information is invalid for this page and might be corrupted." on one of our forms that use a RadEditor control. We are using VS 2008 with RadControls for ASP.Net AJAX Q2 2009 version 2009.2.701.20. This pretty much just started happening out of no where.

We have narowed it down to formatting like bolding or underling any text it causes the error. If there is no formatting there is no error.

I have done some searching on Google and tried the following with no luck:


set pages maxPageStateFieldLength="10000" in web.config file
@ Page Language="c#" EnableViewStateMAC="false" EnableViewState="true" ...
tried replacing the control with a new one
Here is the aspx code: pretty basic

<telerik:radeditor runat="server" ID="txtContent" Width="100%" EditModes="Design, Preview" ToolsFile="~/App_Data/RadEditor/BasicToolbar.xml" >   
<Modules>   
<telerik:EditorModule Name="RadEditorDomInspector" Visible="true" Enabled="true" />   
</Modules>   
</telerik:radeditor>   
 

Also, here is our BasicToolbar.xml file:

<?xml version="1.0" encoding="utf-8" ?>   
<root>   
<tools name="MainToolbar" dockable="false" enabled="true">   
<tool name="AjaxSpellCheck" />   
<tool name="Print" />   
<tool name="FindAndReplace" />   
<tool separator="true"/>   
<tool name="Cut" />   
<tool name="Copy" />   
<tool name="Bold" />   
<tool name="Italic" />   
<tool name="Underline" />   
<tool name="Paste" />   
<tool name="PasteFromWord" />   
<tool name="PastePlainText" />   
<tool name="PasteAsHtml" />   
<tool name="FormatStripper" />   
<tool separator="true"/>   
<tool name="Undo" />   
<tool name="Redo" />   
</tools>   
</root>   
 


If anyone has any idea why we are experiecing this your help would be greatly appreciated.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 08 Feb 2010, 02:27 PM
Hi Deborah,

I am not aware of this error and to reproduce it I will need a sample working project that demonstrates it. Please try to isolate the problem in a sample working project and send it for examination by opening a support ticket.

In the meantime, you can set the EnableViewState property of RadEditor to "false"

<telerik:RadEditor ID="GenericEditor"
                   runat="server"
                   EnableViewState="false"
></telerik:RadEditor>

It will be also good to install the latest build 2009.3.1314 and test it.

Greetings,
Rumen
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
Editor
Asked by
DEBORAH RATLIFF
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or