Error in linkbutton event

I have a form with two panels, one panel contains fields for user registeration the other for sigining in, initially the registration panel is hidden, I have a linkbutton in the other panel to click on it in case of a new user, all I do in its click event is to hide the sign in panel & show the register panel

protected void registerBtn_Click(object sender, EventArgs e)
        pnlSignIn.Visible = false;
        pnlRegister.Visible = true;

the problem is when I click the button I receive the following 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.

What's that supposed to mean?
I tried adding this  enableEventValidation="true"  to the page directive, but when I did that there was no error but the button now has to be clicked twice.

Any help please.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try putting a breakpoint on the pages init event.  Does the code break before or after this?
JessyEzzyAuthor Commented:
I can't debug, it's giving me an error that debugging failed cos Windows Integrated Authentication is not enabled, how would I enable it?
JessyEzzyAuthor Commented:
I figured out what was causing that error, there was an extra <form></from> tag in the page, once I removed them, everything went fine :)

Sorry for disturbance and thanks alot for trying to help.

Closed, 100 points refunded.
The Experts Exchange
Community Support Moderator of all Ages

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.