Code being called twice in my ASPX codebehind??

  • Thread starter Thread starter C
  • Start date Start date
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.
 
Hard to say without seeing the code. You haven't accidentally wired up a
OnClick twice or something?

john
 
Back
Top