Currently I am working on a project that allows the end user to select from multiple themes. I have built my base page class to automatically load the Master file according to the user. But when the user goes to log in or even log out, I receive this 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.
I am not sure if it has something to do with my base page class or if it has something to do with using the .NET 2.0 controls. Turning off event validation is not an option for me. Has anyone else every experienced this?
Thanks in advance to all who participate.
sroye_98