purosotam gupta
what is the use of IsPostBack Property in ASP.Net.
By purosotam gupta in .NET on Apr 14 2014
  • Sagar Vaishnav
    Oct, 2016 18

    Postback is actually sending all the information from client to web server, then web server process all those contents and returns back to the client. Most of the time ASP control will cause a post back (e. g. buttonclick) but some don't unless you tell them to do In certain events ( Listbox Index Changed,RadioButton Checked etc..) in an ASP.NET page upon which a PostBack might be needed.

    • 0
  • Mahaveer Yadav
    Apr, 2014 25

    using of the IsPostback Property we can check that page is Postback or not if page postback property is true then page is being post back if property is false then page is not postback

    • 0
  • Khan Abrar Ahmed
    Apr, 2014 16

    http://msdn.microsoft.com/en-us/library/system.web.ui.page.ispostback%28v=vs.110%29.aspx

    • 0
  • Munesh Sharma
    Apr, 2014 15

    IsPostBack is used to check if the page is responding to a post back event, like clicking a button. So, lets say you have some textboxes for users to change some data and then click a button to submit the data. In the Page_Load you populate the textboxes with data, and the button click event captures that data and saves it.

    • 0
  • purosotam gupta
    Apr, 2014 14

    IsPostBack is a Boolean property of a page when is set (=true) when a page is first loaded. Thus, the first time that the page loads the IsPostBack flag is false and for subsequent PostBacks, it is true. An important point is that each time a PostBack occurs, the entire page including the Page_Load is ‘posted back‘ and executed.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS