How to: Control "PostBack" when reloading same ASP.NET web form?

G

Guest

I have a created an ASP.NET web form and custom control that generate test
questions. When the user successfully answers a question, the same ASP.NET
(and subsequently custom control) load itself again, posting a new question.

The problem is, when the new questions and controls are loaded, the new
questions and controls render already "validated" - this is to say, with the
red validation text telling the user the certain fields are required. (This
behavior should occur when the user attempts to submit a form that is not
properly completed.)

How can i get around this? Or more precisely, when using the same ASP.NET
page, how to i tell the web form when it IsPostBack is true or false? (If
this has anything to do w/ it!)

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top