IspostBack Problem

  • Thread starter Thread starter Mathana g
  • Start date Start date
M

Mathana g

Hi,

I have snippet as follows

if(!IsPostBack)

LoadPreRequisites();

I am getting IsPostBack as true even the page loads first time. What might
be the problem
 
Mathana,
I have snippet as follows

if(!IsPostBack)

LoadPreRequisites();

I am getting IsPostBack as true even the page loads first time. What might
be the problem
And what is wrong about that?
With this LoadPreRequisted should only be done the first time.

Cor
 
Hi,

I think that the error should be somewhere else, IsPostBack is true only in
a , well , a postback :)

what if you post your complete page_load method

cheers,
 
i concur, you obviously must have something stinky going on with another
part of your program. post the code

--
Regards,
Alvin Bruney [Microsoft MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
 
Back
Top