p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional Ajax ISBN: 978-0-471-77778-6 (http://p2p.wrox.com/forumdisplay.php?f=244)
-   -   Invalid postback or callback argument. (http://p2p.wrox.com/showthread.php?t=51989)

kingw December 27th, 2006 07:44 PM

Invalid postback or callback argument.

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.

I receive the above error when I try to proceed to the next page AFTER making an Ajax request on this page.

-- VS 2005 C#
-- ASP.NET 2.0
-- Wizard Server Control

Here's what I'm doing:
  • In a Text Box, I add an onblur event that makes the Ajax call
  • The calls populates a DropDownList control

This all works fine, the problem occurs when I try to proceed to the next page in the flow.

I've tried this both using the zxml.js library and the ICallbackEventHandler and they both work, in populating the DDL, but I still get the above error when trying to move to the next page.

Any suggestions would be greatly appreciated.



King Wilder

kingw January 1st, 2007 09:49 PM

Does anyone have an answer on this?


King Wilder

All times are GMT -4. The time now is 12:42 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.