Subscribe to Subscribers
Talk to Webmaster Tony John

Resources » .NET programming » ASP.NET/Web Applications

Information about IsPostBack Property


Posted Date:     Category: ASP.NET/Web Applications    
Author: Member Level: Silver    Points: 5



 


Information about IsPostBack Property



This article is for so many people confuse about this 'ispostback' property.

1. This is a Boolean property from Page class from Web.UI namespace.
2. This is a read only property (means we cannot assign true or false).
3. This property is true when POSTBACK occurs.
4. This property is false when the time of page loading.

Coming into controls:

1.Textbox: This control has AutoPostBack property. when the time of postback occurs in the page due to this control. On that time IsPostBack is true. For this control AutoPostback occurs when cursor leaving from textbox when AutoPostBack Property is True for that textbox.

1.Button: This control has no AutoPostBack property because defaultly AutoPostBack is true for button. So when we click a button on a page postback occurs. On that time IsPostBack is true.

1.DropdownList: This control has AutoPostBack property. when the time of postback occurs in the page due to this control. On that time IsPostBack is true. For this control AutoPostback occurs when selected index is changed when AutoPostBack Property of this DropdownList is set to true.

1.ListBox: This control is same like as DropdownList.

1.Hyperlink: This control dont has Autopostback property. when we click this control a page load is occurs. IsPostBack is false





Did you like this resource? Share it with your friends and show your love!


Responses to "Information about IsPostBack Property"

No responses found. Be the first to respond...

Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Next Resource: ViewState and Readonly Property of Textbox
    Previous Resource: Basic Concepts LINQ to SQL
    Return to Resources
    Post New Resource
    Category: ASP.NET/Web Applications


    Post resources and earn money!
     
    More Resources
    Popular Tags   Tag posting guidelines   Search Tags  
    IsPostBack  .  Page.IsPostBack Property (System.Web.UI)  .  Asp.net ispostback  .  IsPostBack in ASP.net  .  Aspx ispostback  .  Msdn ispostback  .  
    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.