Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 29th, 2008, 07:49 AM
Registered User
 
Join Date: Jan 2008
Location: Lahore, punjab, Pakistan.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default what is isPostBack

what is ispostBack and how it work on page
when it execute or call

Reply With Quote
  #2 (permalink)  
Old May 29th, 2008, 10:48 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,105
Thanks: 1
Thanked 63 Times in 63 Posts
Send a message via AIM to dparsons
Default

IsPostBack is a property of the Page that tells you whether or not the page is on its inital load or if a user has pressed a button on your WebForm that has caused the page to post back to itself.

General use is normally something like:
if(!Page.IsPostBack)
{
  //do something only the first time the page is loaded
}

This MSDN document will give you a better explination of this and the Page Lifecycle as a whole:

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

hth.
-Doug

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
Reply With Quote
  #3 (permalink)  
Old October 9th, 2013, 06:30 AM
Authorized User
Points: 102, Level: 2
Points: 102, Level: 2 Points: 102, Level: 2 Points: 102, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2008
Location: , , .
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
Default asp.net ispostback

IsPostBack is a property of the Asp.Net page that tells whether or not the page is on its initial load or if a user has perform a button on your web page that has caused the page to post back to itself To know more about http://net-informations.com/faq/asp/ispostback.htm asp.net ispostback

Yang
Reply With Quote
Reply


Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
WebUserControl IsPostBack == true, always elmemo ASP.NET 2.0 Professional 4 May 4th, 2007 05:09 PM
Overriding the ispostback method Indo77 ASP.NET 1.0 and 1.1 Basics 3 April 6th, 2005 02:50 PM
IsPostBack lamdog ASP.NET 1.0 and 1.1 Basics 1 March 30th, 2005 09:42 AM
IsPostBack() swastikagaur ASP.NET 1.0 and 1.1 Basics 3 March 18th, 2005 08:12 AM
IsPostback executed twice amantona ASP.NET 1.0 and 1.1 Professional 3 February 3rd, 2005 07:41 AM



All times are GMT -4. The time now is 02:35 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.