ASPX templates
Version 3.x > ASPX templates > error when saving content in editable region View modes: 
User avatar
Member
Member
nhorton@theatomgroup.com - 5/15/2008 1:15:03 PM
   
error when saving content in editable region
I get the following error in ie7 but not in firefox when I enter text into an editable region on a page through the cmsdesk:

Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation

THis error occurs when I enter etxt into the editable region (which is contained in an aspx template) and press the save button.

Has anyone experienced this or know a fix?

User avatar
Member
Member
kentico_vitaja - 5/16/2008 12:20:33 PM
   
RE:error when saving content in editable region
Hi,

It is hard to tell why is this error appearing, but generally - there is some content which is dynamically loaded and is not always the same. However this may be related to some other parts of your site so it is difficult to find out what exactly caused this error.

In order to fix this - could you please try to check your pages for mistakes such as extra tag Form?

Best regards,
Vita Janecek

User avatar
Member
Member
nhorton@theatomgroup.com - 5/16/2008 1:58:13 PM
   
RE:error when saving content in editable region
There was in fact an extra form tag, although not a server control. Removing the form tag fixed the problem. Thanks.