Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the property available to check if the page posted or not

Answer Posted / kirti

The Page_Load event handler in the page checks for IsPostBack property value, to ascertain whether the page is posted. The Page.IsPostBack gets a value indicating whether the page is being loaded in response to the client postback, or it is for the first time. The value of Page.IsPostBack is True, if the page is being loaded in response to the client postback; while its value is False, when the page is loaded for the first time. The Page.IsPostBack property facilitates execution of certain routine in Page_Load, only once (for e.g. in Page load, we need to set default value in controls, when page is loaded for the first time. On post back, we check for true value for IsPostback value and then invoke server-side code to

update data).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to update one of my table in database at 4pm every day how it is possible?

964


Can you explain renderbody and renderpage in asp.net mvc?

958


How does the 'page lifecycle' of asp.net mvc works?

1031


What are html helpers in asp.net mvc?

976


What is .net architecture?

949


What are Action Filters in ASP.NET MVC and its use?

1018


How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?

882


What are the advantages of asp.net mvc?

990


What is mapping in entity framework? : Entity framework

921


what is datacontrols?

3713


How to change the action name in mvc?

934


How can you return string result from Action in ASP.Net MVC?

985


What is Layout in ASP.Net MVC?

1010


What is definingquery in entity framework? : Entity framework

930


Explain unit test done by tester on development team?

941