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

Why to use Html.Partial in ASP.Net MVC?

1105


Can we add constraints to the route? If yes, explain how we can do it?

1211


How to bind table colum with gridview column?

1124


what is entity sql?

1066


What are the two ways to add constraints to a route?

961


Explain peek method in tempdata in asp.net mvc?

1103


What is ado.net data provider? : Entity framework

1036


What are the benefits of .net framework?

991


How we can register the Area in ASP.Net MVC?

1089


What are the possible razor view extensions?

973


How can we determine action invoked from HTTP GET or HTTP POST?

1008


How we can add the css in mvc?

994


What is the use of viewmodel in mvc?

1037


What is the .net framework 3.0 (formerly winfx)?

974


explain how you can load related entities in ef (entity framework)?

976