View Single Post
  #1 (permalink)  
Old December 27th, 2006, 07:44 PM
kingw kingw is offline
Registered User
Join Date: Dec 2004
Location: Pasadena, Ca, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote