Click here to Skip to main content
15,906,296 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
if page.load during postback is made false what happen ?
Posted
Updated 20-Aug-12 3:40am
v2

Follow the article in MSDN.
This is a must read for all asp.net developers.

http://msdn.microsoft.com/en-us/library/ms178472.aspx[^]

Hopefully, you will get your confusion clear.

cheers
 
Share this answer
 
"...page.load during postback is made false.." --- what??? there is no page.load property and IsPostBack is a readonly property which cannot be set by the programmer.
 
Share this answer
 
There is no such Page.Load Property...rather than Page Load is event called every time when page is load or refresh & within this method you can check page is post back or not in follwing way...

C#
protected void Page_Load(object sender, EventArgs e)
    {
        if (Page.IsPostBack == false)   // call when page is not post back
        {
    }
    else
    {
    }
    }
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900