[Mono-aspnet-list] EnableEventValidation not working
grendel at twistedcode.net
Wed Oct 14 13:49:16 EDT 2009
> I have some page where mono gives me the error:
> 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.
> The same page works correctly on MS.NET but the problem is another. Even
> inserting EnableEventValidation="false" in Page directive or <pages
> enableEventValidation="false"/> in web.config file the error still raise.
> Maybe EnableEventValidation is not implemented in Mono? Or I'm doing
> something wrong?
As the above message reads, event validation is enabled. It is implemented by Mono but you might
have hit a bug. Create a simple, self-contained and ready to run test case and file a bug report for
the System.Web component attaching the test case (see http://www.mono-project.com/Bugs)
More information about the Mono-aspnet-list