Code being called twice in my ASPX codebehind??

C

C

Hi,

I have an ASP.Net application.

I have an aspx page with a button that submits the page.

In my codebehind I check if it is a postback and
instantaite a class and use a method of the class.

On coming back from the class I instantiate it hits the
End If of where I check it is a PostBack and runs through
the code again.

Am new to ASPX.

Anyone know what could be wrong?

Thanks,
C.
 
J

John Kennedy[MSFT]

Hard to say without seeing the code. You haven't accidentally wired up a
OnClick twice or something?

john
 

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