PC Review


Reply
Thread Tools Rate Thread

Code being called twice in my ASPX codebehind??

 
 
C
Guest
Posts: n/a
 
      6th Aug 2003
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.
 
Reply With Quote
 
 
 
 
John Kennedy[MSFT]
Guest
Posts: n/a
 
      6th Aug 2003
Hard to say without seeing the code. You haven't accidentally wired up a
OnClick twice or something?

john

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get a User Control's Property from a .aspx (Codebehind code =?Utf-8?B?Q29saW4=?= Microsoft Dot NET 0 17th Oct 2005 03:36 PM
codebehind and modal aspx =?Utf-8?B?bXN1aw==?= Microsoft ASP .NET 4 2nd Dec 2004 06:14 PM
Javascript being called from ASP with c# codebehind.....Problemo nazim Microsoft C# .NET 3 12th May 2004 12:03 AM
Codebehind method not called Hein Albrecht Microsoft C# .NET 0 26th Apr 2004 02:50 PM
Code being called twice in my ASPX Code behind?? C Microsoft ASP .NET 2 6th Aug 2003 05:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:14 PM.